On Wed, Aug 08, 2012 at 02:03:56PM +0200, Michal Lipka wrote: > On Tue, 7 Aug 2012, Wietse Venema wrote: > > >Incorrect. Postfix logs orig_to only if the address is rewritten > >before it is delivered. > > > >For example Postfix does not log orig_to AFTER a content filter, when > >virtual alias expansion happened BEFORE the content filter. > > Actually I don't have any content filter here. This mail is > addressed to michal.li...@abc.pl and after virtual_alias_maps > (select goto from alias) is rewrited to mli...@abc.pl and then > delievered via dovecot service.
Then the message is rewritten upstream, perhaps on 10.0.15.24 > Aug 8 13:55:16 mailserver postfix/smtpd[29457]: connect from > unknown[10.0.15.24] > Aug 8 13:55:16 mailserver postfix/smtpd[29457]: DA81C6250A9: > client=unknown[10.0.15.24] > Aug 8 13:55:16 mailserver postfix/cleanup[25642]: DA81C6250A9: > message-id=<alpine.lnx.2.00.1208081355070.1...@lipek.pl> > Aug 8 13:55:16 mailserver postfix/qmgr[14715]: DA81C6250A9: > from=<mic...@lipka.waw.pl>, size=1678, nrcpt=2 (queue active) This message had two recipients. > Aug 8 13:55:16 mailserver postfix/smtpd[29457]: disconnect from > unknown[10.0.15.24] > Aug 8 13:55:17 mailserver postfix/pipe[20777]: DA81C6250A9: > to=<mli...@abc.pl>, relay=dovecot, delay=0.24, > delays=0.1/0.01/0/0.14, dsn=2.0.0, status=sent (delivered via > dovecot service) > Aug 8 13:55:17 mailserver postfix/qmgr[14715]: DA81C6250A9: removed You show only one delivery. The logs are incomplete, but perhaps this is fine if the other recipient is unrelated to the issue at hand. -- Viktor.