On 12/28/10 7:58 AM, Alexander Moisseev wrote:
[email protected] has an alias [email protected] and mail sent to alias.
X-Original-To: [email protected] prepends to the message. It's OK.

If the before-queue content filter enabled as shown below then X-Original-To: is [email protected]. Why did this happen?

Because a before-queue content filter (I am assuming you mean the smtpd_proxy feature of postfix) puts a complete SMTP hop in front of the postfix smtpd listener.

This means that envelope information is re-set to whatever the smtpd proxy provides to postfix.

Stop resolving aliases in your before-queue content filter and the problem will go away.

I suppose it must be [email protected] anyway.

But if REDIRECT to other mailbox configured in header_checks (in addition to content filter) then X-Original-To: is [email protected] as supposed.

diff master.cf.bak master.cf

That's utterly useless.

Please include postconf -n and the entire master.cf file you are using NOW.

Some relevant logs would also come in handy.


   -o receive_override_options=no_unknown_recipient_checks


You might want to set that to no_address_mappings for the smtpd proxy listener.



--
J.

Reply via email to