On Mon, Dec 03, 2007 at 02:07:40PM +0100, Jesper Weiland wrote:
> What I want to do, is configuring my exim to accept mail for xxxx.nl 
> only from one specific host (and localhost ofcourse). It's easy to do 
> this systemwide, but I want to configure this per domain.
> 
> For example; xxxx.nl is only allowed to accept mail from 123.123.123.123 
> and localhost.
> 
> Is this possible?

Certainly; add logic to your acl_smtp_rcpt, using the "hosts" and "domains"
conditions, and maybe testing $interface_address.

Read the fine manual for all the details:
http://www.exim.org/exim-html-current/doc/html/spec_html/ch40.html
http://www.exim.org/exim-html-current/doc/html/spec_html/ch40.html#SECTaclconditions

-- 
Dave Evans
http://djce.org.uk/
http://djce.org.uk/pgpkey

Attachment: signature.asc
Description: Digital signature

-- 
## 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