On Tue, 2010-01-19 at 11:34 +0530, J. Bakshi wrote: > Dear list, > > I am trying to drop outgoing emails having particular email-id in its > [TO] field. Say [email protected] and [email protected], hence any > mail destined for [email protected] or [email protected] will be > dropped . To achieve this I have made a file sender_reject with > following entry > > ` ` ` > [email protected] REJECT > [email protected] REJECT > ` ` ` > and now generating the hash map by "postmap sender_reject" >
use Header checks http://www.postfix.org/header_checks.5.html
