Re: [Exim] Acl question

Top Page
Delete this message
Reply to this message
Author: Nico Erfurth
Date:  
To: Timothy Arnold
CC: 'Exim-Users (E-mail)'
Subject: 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