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

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Dave Evans
日付:  
To: exim-users
題目: 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