Hi Patrick, wie sieht da der genaue Parameter aus?
local_transport = dovecot ? Wenn ich diesen Parameter in die main.cf schreibe, bleibt die mail im queue und ich bekomme folgende Fehlermeldung in /var/log/mail: Feb 14 14:15:54 dsmail postfix/smtpd[19140]: connect from unknown[192.168.74.98] Feb 14 14:15:54 dsmail postfix/smtpd[19140]: F1201548371: client=unknown[192.168.74.98] Feb 14 14:15:55 dsmail postfix/cleanup[19143]: F1201548371: message-id=<003201caad77$95289a20$624aa...@admin> Feb 14 14:15:55 dsmail postfix/qmgr[19135]: F1201548371: from=<[email protected]>, size=1355, nrcpt=1 (queue active) Feb 14 14:15:55 dsmail postfix/smtpd[19140]: disconnect from unknown[192.168.74.98] Feb 14 14:16:08 dsmail postfix/smtpd[19147]: connect from localhost[127.0.0.1] Feb 14 14:16:08 dsmail postfix/smtpd[19147]: 3C503548372: client=localhost[127.0.0.1] Feb 14 14:16:08 dsmail postfix/cleanup[19143]: 3C503548372: message-id=<003201caad77$95289a20$624aa...@admin> Feb 14 14:16:08 dsmail postfix/smtpd[19147]: disconnect from localhost[127.0.0.1] Feb 14 14:16:08 dsmail postfix/qmgr[19135]: 3C503548372: from=<[email protected]>, size=1821, nrcpt=1 (queue active) Feb 14 14:16:08 dsmail amavis[16324]: (16324-03) Passed CLEAN, MYNETS LOCAL [192.168.74.98] [192.168.74.98] <[email protected]> -> <[email protected]>, Message-ID: <003201caad77$95289a20$624aa...@admin>, mail_id: ImenJTgkU67T, Hits: -0.998, size: 1355, queued_as: 3C503548372, 13210 ms Feb 14 14:16:08 dsmail postfix/smtp[19144]: F1201548371: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=13, delays=0.06/0.02/0.01/13, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 3C503548372) Feb 14 14:16:08 dsmail postfix/qmgr[19135]: F1201548371: removed Feb 14 14:16:08 dsmail postfix/pipe[19149]: 3C503548372: to=<[email protected]>, relay=dovecot, delay=0.15, delays=0/0.05/0/0.1, dsn=4.3.0, status=deferred (temporary failure. Command output: Can't open log file /var/log/dovecot.log: Permission denied ) Mit freundlichen Grüßen Mario -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von Patrick Ben Koetter Gesendet: Sonntag, 14. Februar 2010 14:07 An: [email protected] Betreff: Re: [postfix-users] einsortieren von mails mit dovecot * Mario Stich <[email protected]>: > Hallo, > > habe folgendes Problem das mails nach /var/mail/user einsortiert werden, > aber dovecot bei Anfragen im Verzeichniss /home/user/maildir schaut. Was ist mit dem local_transport? Hast Du den auch auf deliver eingestellt? p...@rick > Logischerweise kann ich dadurch keine mails abrufen. > > Wo liegt mein Fehler? > > Als deliver soll dovecot verwendet werden, aber laut log scheint das immer > noch der local zu machen, wo liegt da der Fehler? > > Als user werden lokale user verwendet (passwd und shadow) > > > > Stehe grad irgendwie aufm Schlauch und hoffe Ihr könnt mir helfen. > > Vielen Dank schon einmal im Vorraus. > > > > > Anbei die Configs und logs: > > ###################################### > > dovecot.conf: > base_dir = /var/run/dovecot > > protocols = imap pop3 > > log_path = /var/log/dovecot.log > > auth_debug = yes > > auth_debug_passwords = yes > > disable_plaintext_auth = no > > ssl_disable = yes > > login_dir = /var/run/dovecot/login > > mail_location = maildir:~/Maildir > > pop3_uidl_format = %08Xu%08Xv > > protocol lda { > > postmaster_address = [email protected] > > } > > auth default { > > mechanisms = plain login > > passdb shadow { > > } > > userdb passwd { > > } > > user = root > > socket listen { > > client { > > # Assuming the default Postfix $queue_directory setting > > path = /var/spool/postfix/private/auth > > mode = 0660 > > # Assuming the default Postfix user and group > > user = postfix > > group = postfix > > } > > # deliver and some other programs need also auth-master: > > master { > > path = /var/run/dovecot/auth-master > > mode = 0600 > > user = virtual > > group = virtual > > } > > } > > } > ###################################### > > Eintrag in der Master.cf: > #dovecot deliver > dovecot unix - n n - - pipe > flags=DRhu user=virtual:virtual argv=/usr/lib/dovecot/deliver > -e -f ${sender} -d ${recipient} > > ###################################### > > Eintrag in der Main.cf > virtual_transport = dovecot > dovecot_destination_recipient_limit = 1 > ###################################### > > /var/log/mail > > Feb 14 13:53:08 dsmail postfix/smtpd[18859]: connect from > unknown[192.168.74.98] > Feb 14 13:53:08 dsmail postfix/smtpd[18859]: 081CD548371: > client=unknown[192.168.74.98] > Feb 14 13:53:08 dsmail postfix/cleanup[18862]: 081CD548371: > message-id=<002b01caad74$666b7390$624aa...@admin> > Feb 14 13:53:08 dsmail postfix/qmgr[18791]: 081CD548371: > from=<[email protected]>, size=1320, nrcpt=1 (queue active) > Feb 14 13:53:08 dsmail postfix/smtpd[18859]: disconnect from > unknown[192.168.74.98] > Feb 14 13:53:28 dsmail postfix/smtpd[18866]: connect from > localhost[127.0.0.1] > Feb 14 13:53:28 dsmail postfix/smtpd[18866]: 0EADD548372: > client=localhost[127.0.0.1] > Feb 14 13:53:28 dsmail postfix/cleanup[18862]: 0EADD548372: > message-id=<002b01caad74$666b7390$624aa...@admin> > Feb 14 13:53:28 dsmail postfix/qmgr[18791]: 0EADD548372: > from=<[email protected]>, size=1786, nrcpt=1 (queue active) > Feb 14 13:53:28 dsmail postfix/local[18868]: 0EADD548372: > to=<[email protected]>, relay=local, delay=0.02, delays=0.01/0.01/0/0.01, > dsn=2.0.0, status=sent (delivered to mailbox) > Feb 14 13:53:28 dsmail postfix/qmgr[18791]: 0EADD548372: removed > > Feb 14 13:53:28 dsmail amavis[16328]: (16328-01) Passed CLEAN, MYNETS LOCAL > [192.168.74.98] [192.168.74.98] <[email protected]> -> <[email protected]>, > Message-ID: <002b01caad74$666b7390$624aa...@admin>, mail_id: WKjJivCEHcev, > Hits: -0.998, size: 1320, queued_as: 0EADD548372, 19983 ms > > Feb 14 13:53:28 dsmail postfix/smtp[18863]: 081CD548371: > to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=20, > delays=0.06/0.02/0.02/20, dsn=2.0.0, status=sent (250 2.0.0 from > MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 0EADD548372) > > Feb 14 13:53:28 dsmail postfix/qmgr[18791]: 081CD548371: removed > ###################################### > > > > Mit freundlichen Grüßen > > Mario > > > > _______________________________________________ > postfix-users mailing list > [email protected] > http://de.postfix.org/cgi-bin/mailman/listinfo/postfix-users -- state of mind Digitale Kommunikation http://www.state-of-mind.de Franziskanerstraße 15 Telefon +49 89 3090 4664 81669 München Telefax +49 89 3090 4666 Amtsgericht München Partnerschaftsregister PR 563 _______________________________________________ postfix-users mailing list [email protected] http://de.postfix.org/cgi-bin/mailman/listinfo/postfix-users _______________________________________________ postfix-users mailing list [email protected] http://de.postfix.org/cgi-bin/mailman/listinfo/postfix-users
