Re: [exim] Creating local blacklist

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Jeremy Harris
Datum:  
To: exim-users
Betreff: Re: [exim] Creating local blacklist
On 26/04/18 02:25, Mike Brown via Exim-users wrote:
> So, how does one set up the acl_check_rcpt section to use the exim_blacklist
> that was defined to deny the incoming e-mail from the named domain?


You add a "deny" verb, with suitable conditions to select the items
of interest. Since you're looking at the sender domain your
condition(s) will want to use the $sender_address_domain variable.
This only becomes populated in the mail-ACL, so you'll be needing
to place this verb clause there or later (but no later than the
data-ACL).

Look at the ACL docs chapter for how to construct the verb-clause,
and the expansions and lookups chapters for how to build the
condition.
--
Jeremy