Welcome to Server Circle. It's a friendly site and all levels of experience are welcome. Be aware that we use cookies for your login.
Server Circle - Ask questions about Servers and get answers from experts.
Beta (0.90 sec)
Postfix blacklist recipients

Thanks to this post I can now blacklist sender domains and IPs:

http://www.servercircle.c ...

But can I drop a user or recipient early on in the mail handshake so that it doesn't cause any load on my mail server ?
Asked by:
KiloKiki
654 points
 Report Abuse
 Share Page - Category: Email Servers - Tags: Postfix blacklist recipients
 Enter your response
Please use Pastie.org to paste lengthy code or to fix formatting issues with code
  • Responses in reverse (1)

Best Answer

It's pretty similar to the blacklisting of senders. Try adding this line under smtpd_recipient_restrictions in main.cf.

check_recipient_access hash:/etc/postfix/recipient_access

Then create the blacklist file with the format of /etc/postfix/recipient_access being:

user@domain.com REJECT Dropped

another-user@anotherdomain.com REJECT Dropped


Create the hash file with: postmap hash:/etc/postfix/recipient_access

That should do it !

Response by:
BonoEstente
1464 points


  • Related Questions
About Us : Contact Us : Etiquette : Terms : CDN Failover : ShorterURL : CDN Fallback : © 2013 Server Circle