Debian Etch Postfix-Mailserver

Jan-Benedict Glaw jbglaw at lug-owl.de
Sun Dec 30 04:41:06 CET 2007


On Sat, 2007-12-29 19:09:21 +0100, Wolfgang Schreiber <wolfgang.schreiber at gmx.de> wrote:
> Ich bin exact (das glaube ich jedenfalls) nach dem HOWTO auf 
> http://workaround.org/articles/ispmail-etch/ vorgegangen. Bis an die 
[...]
> Die Fehlernmeldungen in mail.log lauten zu diesem Vorgang:
> 
> Dec 29 18:31:16 myserver dovecot: auth-worker(default): mysql: Connected to 127.0.0.1 (mailserver)
> Dec 29 18:31:32 myserver postfix/smtpd[7461]: connect from localhost[127.0.0.1]
> Dec 29 18:32:34 myserver postfix/trivial-rewrite[7464]: warning: connect to mysql server 127.0.0.1: Access denied for user 'mailuser'@'localhost' (using password: YES)
> Dec 29 18:32:34 myserver postfix/trivial-rewrite[7464]: fatal: mysql:/etc/postfix/mysql-virtual-alias-maps.cf(0,lock|fold_fix): table lookup problem
> Dec 29 18:32:35 myserver postfix/smtpd[7461]: warning: premature end-of-input on private/rewrite socket while reading input attribute name
> Dec 29 18:32:35 myserver postfix/master[2187]: warning: process /usr/lib/postfix/trivial-rewrite pid 7464 exit status 1
> Dec 29 18:32:37 myserver postfix/trivial-rewrite[7466]: warning: connect to mysql server 127.0.0.1: Access denied for user 'mailuser'@'localhost' (using password: YES)
> Dec 29 18:32:37 myserver postfix/trivial-rewrite[7466]: fatal: mysql:/etc/postfix/mysql-virtual-alias-maps.cf(0,lock|fold_fix): table lookup problem
> Dec 29 18:32:38 myserver postfix/smtpd[7461]: warning: premature end-of-input on private/rewrite socket while reading input attribute name
> Dec 29 18:32:38 myserver postfix/smtpd[7461]: warning: problem talking to service rewrite: Success
> Dec 29 18:32:38 myserver postfix/master[2187]: warning: process /usr/lib/postfix/trivial-rewrite pid 7466 exit status 1
> Dec 29 18:32:38 myserver postfix/master[2187]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
> Dec 29 18:33:38 myserver postfix/trivial-rewrite[7467]: warning: connect to mysql server 127.0.0.1: Access denied for user 'mailuser'@'localhost' (using password: YES)
> Dec 29 18:33:38 myserver postfix/trivial-rewrite[7467]: fatal: mysql:/etc/postfix/mysql-virtual-alias-maps.cf(0,lock|fold_fix): table lookup problem
> Dec 29 18:33:39 myserver postfix/smtpd[7461]: warning: premature end-of-input on private/rewrite socket while reading input attribute name
> Dec 29 18:33:39 myserver postfix/smtpd[7461]: warning: problem talking to service rewrite: Success
> Dec 29 18:33:39 myserver postfix/master[2187]: warning: process /usr/lib/postfix/trivial-rewrite pid 7467 exit status 1
> Dec 29 18:33:39 myserver postfix/master[2187]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling

[Ich hab' die Logs mal repariert. Da waren Zeilenumbrüche eingebaut
worden...]

> Es sieht ein bisschen so aus als würde das Passwort für mailuser in 
> mysql-virtual-alias-maps.cf nicht mit dem passwort in der 
> mysql-datenbank übereinstimmen oder aufgrund irgendwelcher Probleme mit 
> Zugriffsrechten nicht ausgelesen werden können, aber das habe ich 
> überprüft.. müsste alles - jedenfalla nach der Anleitung - korrekt sein ..

Angeblich kann dovecot ja auf die DB zugreifen; da laut Anleitung dort
dieselben Account-Daten benutzt werden, ist wohl Postfix falsch
konfiguriert.

Du solltest also in der /etc/postfix/mysql-virtual-mailbox-domains.cf
nochmal überprüfen, ob da exakt dieselben Daten drin sind, wie in der
/etc/dovecot/dovecot-sql.conf .

Hast Du

postconf -e virtual_mailbox_domains=mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf

ausgeführt?

Wenn das noch nicht zum Ziel führt, mußt Du in die MySQL-Logfiles
gucken...

MfG, JBG

-- 
      Jan-Benedict Glaw      jbglaw at lug-owl.de              +49-172-7608481
Signature of:              What we do for ourselves dies with us. What we do for
the second  :         others and the world remains and is immortal. (Albert Pine)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lug-owl.de/pipermail/linux/attachments/20071230/abb56489/attachment.sig>


More information about the Linux mailing list