On Wed, 13 May 2009, Alvaro Mar?n wrote:
Duane Hill escribi?:
On Wed, 13 May 2009, Alvaro Mar?n wrote:
Hello,
I'm trying to delete/discard an emai if it has a header with one value.
I've to do it after it is accepted (and after one content filter
execution) so I thought in smtp_header_checks but I see that it doesn't
support actions like DISCARD.
Any idea of how to do this?
According to:
http://www.postfix.org/header_checks.5.html
there is definitely a DISCARD action.
And, it's header_checks, not smtp_header_checks:
http://www.postfix.org/postconf.5.html#header_checks
http://www.postfix.org/postconf.5.html#smtp_header_checks
Oops! Missed that one. Ahh... It's new as of v2.5 and I've never had a
need to use it.