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.
|
Recent comments
9 hours 39 min ago
19 hours 7 min ago
19 hours 56 min ago
23 hours 29 min ago
1 day 3 hours ago
1 day 4 hours ago
1 day 6 hours ago
1 day 16 hours ago
1 day 21 hours ago
1 day 22 hours ago