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


--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to