Re: [exim] [Urgent] - Unable to block domains

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Cyborg
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] [Urgent] - Unable to block domains
Am 23.05.19 um 14:49 schrieb Isuru Rupasinghe via Exim-users:
> Hi Guys,
>
> I just followed the below steps:
>
> 1. add the following line after acl_check_data:
>
> Code: Select all
>
> deny senders = /etc/deny_senders
>
> 2. create the following file /etc/deny_senders with the following line
>
> Code: Select all
>
> *@qq.com
>
> But I was not able to block the domain. Please advice urgently as our
> production systems are in risk.
>
> Thanks,
>


Add this

  drop message = clearly a spammer
       condition = ${if match{$sender_address}{\N.*@zoho\.com\N}{1}{0}}

to the ACL => "acl_check_mail"

You need to edit the domainname of course ;)


Have Fun,
Marius