[exim] Block Entire TLDs in Exim?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Sajan Parikh
Date:  
À: exim-users
Sujet: [exim] Block Entire TLDs in Exim?
I am using the following lines of config to block all email from ".eu"
domains. Will this work as expected?

if first_delivery
and ("$h_from:" contains ".eu")
then
         seen finish
endif


Secondly, how can I block all mail from hosts with ".eu"?

For example, I want to block all mail from: smtp.spamhost.eu. However, I
want to accept mail from: smtp.euphoria.com.

*I don't mean any offence to anyone from the EU. We are in the US and
only receive spam email from the EU.

Thanks.

--
Sajan Parikh