OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: postfix anti-spam configuration question

From: /dev/rob0 (rob0gmx.co.uk)
Date: Mon Oct 24 2005 - 20:18:41 CDT


On Monday 2005-October-24 16:52, I wrote:
[ discarding mail for nonexistent users ]
> What you are seeking to do is in fact fairly simple. After a
> permit_auth_destination restriction and whatever relaying
> restrictions you may require, use a check_recipient_access with a
> wildcard regexp or pcre lookup:
> /^/ DISCARD

Oops, this would apply to all recipients of multi-recipient mail. To do
this right (which is not possible anyway :) ) one would need to use
transport_maps and the discard(8) mailer.
--
    mail to this address is discarded unless "/dev/rob0"
    or "not-spam" is in Subject: header