On 10/25/2011 2:35 PM, Ronaldo Luiz de Carvalho wrote:
All accounts are AUTHed.

There are a way to block the connections using domain? I tried the filter
below but doesn't work.


domainlist exim_blacklist = lsearch;/etc/eximblacklist

reject_domains:

driver = redirect
# RBL Blacklist incoming hosts
domains = +exim_blacklist
allow_fail
data = :fail: Connection rejected: SPAM source $domain is manually
blacklisted.





-----Mensagem original-----
De: [email protected]
[mailto:[email protected]] Em nome de
Jeremy Harris
Enviada em: terça-feira, 25 de outubro de 2011 18:21
Para: [email protected]
Assunto: Re: [exim] How to Block connection

On 2011-10-25 16:35, Ronaldo Luiz de Carvalho wrote:
-received_protocol esmtpa
They're AUTHed ?

Find out what account they're using to AUTH as and disable it.


This works very well for me

#blacklist_host

deny message = sender IP address $sender_host_address is locally blacklisted here. If you think this is wrong, get in touch with postmaster SPAMMERS SUCK

                 hosts = ${if exists{/etc/xxxx/blacklist_ip}\
                             {/etc/exim/blacklist_ip}\
                           {}}

And as a fall back I use the Spamassassin preference file to also add wl and bl users.
Start it with

blacklist_from  [email protected]
or
whitelist_from  [email protected]




--
## 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