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:
> 
> [email protected]
> 
> 
> 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



-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to