m...@domain.tld has an alias al...@domain.tld and mail sent to alias.
X-Original-To: al...@domain.tld prepends to the message. It's OK.

If the before-queue content filter enabled as shown below then X-Original-To: 
is m...@domain.tld. Why did this happen? I suppose it must be al...@domain.tld 
anyway.

But if REDIRECT to other mailbox configured in header_checks (in addition to 
content filter) then X-Original-To: is al...@domain.tld as supposed.

diff master.cf.bak master.cf
11a12,13
  -o smtpd_proxy_filter=127.0.0.1:1125
  -o smtpd_client_connection_count_limit=10
135a138,147
127.0.0.1:1025  inet  n       -       n       -       -       smtpd
   -o smtpd_authorized_xforward_hosts=127.0.0.0/8
   -o smtpd_client_restrictions=
   -o smtpd_helo_restrictions=
   -o smtpd_sender_restrictions=
   -o smtpd_recipient_restrictions=permit_mynetworks,reject
   -o smtpd_data_restrictions=
   -o mynetworks=127.0.0.0/8
   -o receive_override_options=no_unknown_recipient_checks


--
Thanks in advance,
Alexander Moisseev

Reply via email to