On Wed, 8 Aug 2012, Viktor Dukhovni wrote:

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


10.0.15.24 is my mail frontend (receives mails from internet and then relays them to appropriate server inside). it does only virus scanning (with spamassassin). Is it important what's going on with message on other server?

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.


there was only one envelope recipient (michal.li...@abc.pl), the other one was added with always_bcc in main.cf - I think it is unrelated but I can be wrong of course - correct me please if I am.

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.



sorry for the incomplete log. As I mentioned before I think it is unrelated but to clarify: Aug 8 13:55:17 zeus-postfix postfix/pipe[23748]: DA81C6250A9: to=<logowa...@logowanie.abc>, relay=logi, delay=0.14, delays=0.1/0.01/0/0.03, dsn=2.0.0, status=sent (delivered via logi service)

"logi" in master.cf is my own script which is handling copies of all mails.
always_bcc = logowa...@logowanie.abc


Michal

Reply via email to