Re: [Exim] Acl question

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Nico Erfurth
日付:  
To: Timothy Arnold
CC: 'Exim-Users (E-mail)'
題目: Re: [Exim] Acl question
Timothy Arnold wrote:
> Here is what you requested:
>
> domainlist local_domains = @ : lists.ngfl.gov.uk
> hostlist relay_from_hosts = 127.0.0.1 : 193.63.51.0/24
>
> I basically need to accept mail from internal people (193.63.51.64/26) but
> reject any mail coming from outside.


So it would be MOSTLY enough to use this.

rcpt_acl:
accept hosts = :+relay_from_hosts
deny message = relaying forbidden

You can also do this in an earlier stage, but some MTAs/MUAs have
problems with rejecting mails before RCPT TO:

Nico