Am 24.12.2014 um 02:32 schrieb steve zeng:
I put the following debug and command_filter in main.cf:
smtpd_command_filter = pcre:/etc/postfix/command_filter
notify_classes = resource, software, protocol, policy
/etc/postfix/command_filter:
/^(MAIL\s+FROM:).+(<.+>)/ $1$2
In postmaster email, I got:
Out: 220 qa.mycompany.com ESMTP Postfix
In: HELO app01.mycompany.com
Out: 250 postfix.mycompany.com
In: MAIL FROM: Customer Support <do.not.re...@mycompany.com>
Out: 555 5.5.4 Unsupported option: Customer
It looks like the command filter did not kick in. when looked at its
document, it appears available from postfix
2.7 and above. I am currently 2.3.3 and cannot upgrade it for company
policy
smells like RHEL5
http://www.postfix.org/postconf.5.html#smtpd_command_filter
Is there a postfix config to simply disable the syntax check on MAIL FROM
field? The Exim version we had before does not check it
who wrote that client and why?
MAIL FROM != From-Header