View Single Post
  #1  
Old 29th November 2012, 13:04
Dehumanizer Dehumanizer is offline
Junior Member
 
Join Date: Oct 2012
Posts: 18
Thanks: 2
Thanked 2 Times in 1 Post
Angry How to blacklist a whole sender domain in postfix?

When I add "@domain.com" in the postfix blacklist configuration as a sender, it does not work, postfix is always searching the whole email in the database, the mysql query goes like this:
SELECT access FROM mail_access WHERE source='email@domain.com' and type = 'sender' and active = 'y' and server_id = 1

and of course if the record in the database is just @domain.com, the above query does not match it.

Is there any way how to completely blacklist the whole sender domain?

Thanks.
Reply With Quote
Sponsored Links