Re: [exim] Creating local blacklist

Top Page

Reply to this message
Author: Mike Brown
Date:  
To: Jeremy Harris via Exim-users
Subject: Re: [exim] Creating local blacklist
On Thu, Apr 26, 2018 at 09:39:37AM +0100, Jeremy Harris via Exim-users wrote:
> 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.


User Michael B. (not me) sent an off-list detailed e-mail regarding this
that was extremey helpful. I've now got it running.

I still have a lot to learn about exim.

MB
-- 
e-mail: vidiot@??? | vidiot@???            /~\ The ASCII
        6082066843@??? (140 char limit)       \ / Ribbon Campaign
Visit - URL: http://vidiot.com/                           X  Against
             http://vidiot.net/                          / \ HTML Email
"What do you say Beckett. Wanna have a baby?" - Castle to Det. Beckett
"How long have I been gone?" Alexis after seeing Castle and Beckett w/ baby
 - Castle - 11/25/13