Hello,
When email is received with badly formed From/To headers:
Code:
From: an evil spammer@spam.com
To: me
it is rewritten the following way:
Code:
From: an@$mydomain, evil@$mydomain, spammer@spam.com
To: me@$mydomain
which is very confusing for the person receiving such email.
Zimbra default setting for postfix headers rewrite seems very reasonable and should not allow this:
Code:
local_header_rewrite_clients = permit_mynetworks,permit_sasl_authenticated
The problem is that this setting does not work!
When incoming email scanned with amavis it gets reinjected to postfix from 127.0.0.1 source address, which falls under permit_mynetworks criterium.
As a workaround I completely disabled From/To headers rewrite:
Code:
local_header_rewrite_clients =
Is there any more elegant way to resolve this issue?
Is it a bug?
PS: Zimbra version - ZCS 6.0.5 open source
Thank you,
Ivan.