--On 13 August 2009 15:40:40 +0100 Alain Williams <[email protected]> wrote:

>
> I do something like that for one of my customers, in the acl_check_rcpt:
>
>   # accept known users
>   accept domains = example.co.uk : example.com
>          recipients = lsearch;/etc/exim/example_users
>   # reject anything else:
>   deny   domains = example.co.uk : example.com

You may prefer to use "require" rather than "accept" here, if you want to 
do other tests in acl_check_rcpt.

You should do all your IP and sender address filtering here, since you 
should accept all email destined for postmaster - just in case someone is 
trying to report a fault with your filtering.

-- 
Ian Eiloart
IT Services, University of Sussex
01273-873148 x3148
For new support requests, see http://www.sussex.ac.uk/its/help/

-- 
## List details at http://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