Re: [exim] Creating local blacklist

Etusivu
Poista viesti
Vastaa
Lähettäjä: Jeremy Harris
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] Creating local blacklist
On 25/04/18 15:19, Mike Brown via Exim-users wrote:
> I've also added the following lines:
>
> #############################################################################
> # Deny from particular domains
> driver = redirect
> # RBL Blacklist incoming hosts
> domains = +exim_blacklist
> allow_fail
> data = :fail: Connection rejected: SPAM source $domain is manually blacklisted.
> #############################################################################


That looks like a router.

> The lines were added after the section that contains the following line in
> the acl_check_rcpt: section:
>
>   # deny    message       = rejected because $sender_host_address is in a black list at $dnslist_domain\n$dnslist_text


I really hope not. That would be in the wrong place. Also, using a
router _could_ be done, via a sender-verify, but is baroque. The ACL
is positioned to do the job directly.

> Restarting exim (Linux Fedora server) results in it failing. I have no idea
> as to what I am doing. I found those lines via google and they don't work.
>
> I just noticed in the following manual section:
>
> http://www.exim.org/exim-html-current/doc/html/spec_html/ch-access_control_lists.html
>
> that "acl_check_rcpt:" doesn't exist. But, there is a fleeting reference to
> it later on.


There is a main-section option called "acl_smtp_rcpt". It's common to
give it a value which is the name of a named ACL, and it's common for
that name to be "acl_check_rcpt". But it's your choice.

--
Cheers,
Jeremy