On 2016-04-12 14:56, Philip McGaw wrote:
Dovecot.log Dovecot-info.log Dovecot-debug.log
Are all devoid of information, the only log that seems to give anything is mail.log
I edited the working dovecot config file to add in recipient_delimiter = + line. And it shows up when running Dovecot -n.
You did restart dovecot after that change? The changed setting is shown by doveconf -n even if you don't restart dovecot.
I just tried that here, the only difference is i'm using LMTP for delivery from postfix to dovecot.
As long as i have "recipient_delimiter = +" everything is ok and test mails are delivered from postfix to dovecot:
Postfix log: root@uschi:~ # grep 540B5100273 /var/log/mail.log Apr 12 22:14:34 uschi postfix/dspam-return/smtpd[24932]: 540B5100273: client=localhost[127.0.0.1] Apr 12 22:14:58 uschi postfix/cleanup[24938]: 540B5100273: message-id=20160412201434.540B5100273@uschi.sec-svcs.eu Apr 12 22:14:58 uschi postfix/qmgr[29255]: 540B5100273: from=postmaster@AAAA.AA, size=384, nrcpt=1 (queue active) Apr 12 22:14:58 uschi postfix/lmtp[24940]: 540B5100273: to=USER+test@AAAA.AA, relay=uschi.sec-svcs.eu[private/dovecot-lmtp], delay=31, delays=31/0/0.01/0.02, dsn=2.0.0, status=sent (250 2.0.0 USER+test@AAAA.AA JX+LFEJXDVdtYQAAo97fFA Saved) Apr 12 22:14:58 uschi postfix/qmgr[29255]: 540B5100273: removed
Dovecot log: root@uschi:~ # grep JX+LFEJXDVdtYQAAo97fFA /var/log/dovecot.log Apr 12 22:14:58 uschi dovecot: lmtp(USER@AAAA.AA): JX+LFEJXDVdtYQAAo97fFA: sieve: msgid=20160412201434.540B5100273@uschi.sec-svcs.eu, from=postmaster@AAAA.AA, envelope from=postmaster@AAAA.AA, envelope to=USER+test@AAAA.AA, delivery time=14ms, lmtp session time=10ms, status=stored mail into mailbox 'INBOX'
When i set "recipient_delimiter =" and restart dovecot the test mail is not delivered to dovecot:
Postfix log root@uschi:~ # grep 811E3100273 /var/log/mail.log Apr 12 22:30:17 uschi postfix/dspam-return/smtpd[26033]: 811E3100273: client=localhost[127.0.0.1] Apr 12 22:30:43 uschi postfix/cleanup[26048]: 811E3100273: message-id=20160412203017.811E3100273@uschi.sec-svcs.eu Apr 12 22:30:43 uschi postfix/qmgr[29255]: 811E3100273: from=postmaster@AAAA.AA, size=384, nrcpt=1 (queue active) Apr 12 22:30:43 uschi postfix/lmtp[26051]: 811E3100273: to=USER+test@AAAA.AA, relay=uschi.sec-svcs.eu[private/dovecot-lmtp], delay=34, delays=34/0/0.01/0.01, dsn=5.1.1, status=bounced (host uschi.sec-svcs.eu[private/dovecot-lmtp] said: 550 5.1.1 USER+test@AAAA.AA User doesn't exist: USER+test@AAAA.AA (in reply to RCPT TO command)) Apr 12 22:30:43 uschi postfix/bounce[26054]: 811E3100273: sender non-delivery notification: 5C24E1002DA Apr 12 22:30:43 uschi postfix/bounce[26054]: 811E3100273: postmaster non-delivery notification: 5CE34100310 Apr 12 22:30:43 uschi postfix/qmgr[29255]: 811E3100273: removed
i add the "+" back to the recipient_delimiter setting, restart dovecot and everything is back to normal...
-- Christian Kivalo