Dear list,

I am trying to drop outgoing emails having particular email-id in its
[TO]  field.  Say myn...@domain1.com and  myna...@domain2.com, hence any
mail destined for  myn...@domain1.com  or  myna...@domain2.com will be
dropped . To achieve this I have made a file sender_reject with
following entry

`   `   `
myn...@domain1.com  REJECT
myn...@domain2.com  REJECT
` ` `
and now generating the hash map by "postmap  sender_reject"

main.cf has

` ` `
smtpd_recipient_restrictions = permit_sasl_authenticated,
check_relay_domains, check_sender_access hash:/etc/postfix/sender_reject
` ` `

After restarting the postfix I sent an email with mail command like

` ` `
mail myn...@domain1.com
 ` ` `

and the mail was delivered !!!.  It should be dropped by postfix. Have I
done any mistake/wrong configuration here ?

Please suggest
Thanks

-- 
জয়দীপ বক্সী

Reply via email to