Re: [exim] ACL question

Pàgina inicial
Delete this message
Reply to this message
Autor: Ian Eiloart
Data:  
A: M R
CC: <exim-users@exim.org>
Assumpte: Re: [exim] ACL question
On 16 Feb 2012, at 06:20, M R wrote:
> Hi, I've been using exim for awhile but now just beginning to experiment
> with it's power…
>
>
> In exim.conf, I have this:
>
> acl_check_rcpt:
>
>   deny
>      message = Domain is locally blacklisted
>      senders = lsearch;/etc/mail/eximblacklist

>
> If this is the contents of /etc/mail/eximblacklist:
>
> specificuser@???
>
>
> it works as expected and mail from specificuser is rejected . But, if this
> is in /etc/exim/blacklist,
>
> *@example.dom
>
> OR
>
> example.dom
>
>
> it fails and mail is delivered.
>
> What am I missing in order to reject all email from all senders from a
> specified domain?



You need to use wildlsearch or nwildlsearch - see section 9.3 of the docs.

http://www.exim.org/exim-html-current/doc/html/spec_html/ch09.html

--
Ian Eiloart
Postmaster, University of Sussex
+44 (0) 1273 87-3148