Good afternoon, everyone!

 

Currently, Spammers are changing domain configurations, creating incremented
subdomains, e.g., xxx01.domain.com, xxx2.domain.com, and so on.

 

I'm trying to block these SPAM emails using part of the domain, to do this I
made these steps

 

1. Created a file with the domains I want to block in
/etc/exim/blacklist_domains and included the pattern
*@*.domain_to_block.com.

 

2. Edited the exim_conf file in the acl_check_rcpt group and included the
deny commands before the first accept, as below:

 

acl_check_rcpt:

 

deny

message = Domain blocked.

senders = nwildlsearch;/etc/exim/blacklist_domains

 

accept hosts = :

control = dkim_disable_verify

.....

 

3. Restarted the EXIM service.

 

The email isn't blocked, received normally and delivered to the destination
mailbox.

 

Where am I going wrong?

 

Many thank for any help

 

Ronaldo Luiz de Carvalho

 


-- 
## subscription configuration (requires account):
##   https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
##   [email protected]
## Exim details at https://www.exim.org/
## Please use the Wiki with this list - https://code.exim.org/exim/wiki/wiki

Reply via email to