Can anyone please tell me how to reject all domains with a particular name, but regardless of the TLD? I want to block all mail coming from domains named bulksender
, like bulksender.com
, bulksender.org
, bulksender.biz
, bulksender.vn
etc.
I have a postmap file client_checks.postmap
which i have included in main.cf
like this:
check_client_access hash:/etc/postfix/client_checks.postmap
In that file I´ve tried:
bulksender. REJECT 550 5.1.0 Go away!
But it did not work.
Is there something like *@bulksender.*
which would block all domains named bulksender, regardless which TLD Ending they have?