On Wed, May 13, 2009 at 03:39:32PM +0000, Duane Hill wrote: > 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.
Actions that change the destination of a message are not available with smtp_header_checks. All you can do is IGNORE or REPLACE headers. -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the "Reply-To" header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: <mailto:majord...@postfix.org?body=unsubscribe%20postfix-users> If my response solves your problem, the best way to thank me is to not send an "it worked, thanks" follow-up. If you must respond, please put "It worked, thanks" in the "Subject" so I can delete these quickly.