Re: [exim] How to block sender domains in exim4

Góra strony
Delete this message
Reply to this message
Autor: jpff
Data:  
Dla: srinivas kamani
CC: exim-users
Temat: Re: [exim] How to block sender domains in exim4
I have the kines

   deny    message  = Mail is not accepted from spammers at $sender_host_address
           hosts = /etc/exim4/blacklist


where /etc/exim4/blacklist is a fle of IP addresses I have found locally
to send me spam. I have also used

condition = ${lookup{$sender_host_address}lsearch{/etc/exim4/blacklist}{yes}{no}}

but that does not allow ranges.

Now the experts will correct me

==John ffitch

On Wed, 25 Sep 2013, srinivas kamani wrote:

> Hi Team,
>
>
> I need to block sender domains in exim4. We are getting lot of spam emails
> from some particular domains. I have done some workaround to block
> them(blocked their IP in MX).
>
> Kindly let me know how to block domains, and how to stop spam emails.
>
> --
> Thanks & Regards
> Srinivas G.Kamani
> --
> ## 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/
>