Re: [exim] Relay for one domain from one host

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Dave Evans
Date:  
À: exim-users
Sujet: Re: [exim] Relay for one domain from one host
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