Re: [Exim] Block user-at-domain.tld file list

Góra strony
Delete this message
Reply to this message
Autor: Rossz Vamos-Wentworth
Data:  
Dla: exim-users
Temat: Re: [Exim] Block user-at-domain.tld file list
> Hi,
>
> i'm new in Exim and i would like to have a text file which have, in each
> line, email addresses to be blocked.
>
> The texfile is something like:
>
> user@???
> userkkk@???
> pp@???
> ...
>
> How can i implement this in Exim 4.20 ??


Add this to your acl_check_rcpt section:

deny message  = Sender has been blacklisted
senders       = /usr/exim/blacklist


Except the format of the file can include regular expressions:

^.*@spammerdomain.com
^susie@???

I don't remember if the ^ is required or not.

Rossz