Re: [exim] ACL help needed to accept inbound emails from ema…

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Jeremy Harris
日付:  
To: exim-users
題目: Re: [exim] ACL help needed to accept inbound emails from email gateway only
Madan Thapa wrote:
> Hello,
>
> Please advise an ACL to accept inbound emails from email gateway ( one IP
> or a list of mail gateway IPs ) only for some domains, most likely at HELO
> stage
>
>
>
> Say for example:
> #####################
> I have a.com,b.com ..... z.com ( a number of domains on the same server )
> Email gateway ip list: 1.x.x.x , 3.y.y.y , 8.z.z.z
>
> I want that a.com , c.com and d.com , would accept incoming emails if and
> only if emails are coming from 1.x.x.x , 3.y.y.y , 8.z.z.z


Set up a hostlist for those IP addresses (or equivalent names)
and require that hosts = +yourgatewaylist in your helo acl.

Set up a domainlist for your domains and require that
domains = +yourdomainlist in your rcpt acl.

Exim docs live at http://exim.org

Cheers,
Jeremy