Hi,

I have a mail receiving postfix deployed.

On this I am trying to block emails that are to sent to 
'[email protected]'

For this I am doing the following:

smtpd_recipient_restrictions =
  check_recipient_access hash:/etc/postfix/blockList,
  reject_unauth_destination,
  reject_rbl_client zen.spamhaus.org,
  reject_rbl_client bl.spamcop.net
  permit

the 'blockList' file contains the following content:

[email protected] REJECT

then running 'postmap hash:/etc/postfix/blockList' as suggested on the mailing 
list.

Now currently the mails are getting rejected with SMTP error code 554, and the 
mailbox of the sender gets a notification from it's local mail server about the 
failure.

Is there any way I can quietly 'drop' the emails for the above mentioned case.

Please help

Thanks in advance

Ashish Sharma

Reply via email to