Re: [Exim] Sender Verify Exceptions (Exim v4)

Etusivu
Poista viesti
Vastaa
Lähettäjä: Greg Ward
Päiväys:  
Vastaanottaja: 'exim-users@exim.org'
Aihe: Re: [Exim] Sender Verify Exceptions (Exim v4)
On 20 June 2002, David Moon said:
> I'm trying to come up with the most straightforward method to prevent exim
> from doing a sender verify on mail sent from internal hosts. I want to do
> sender verify on all messages except those from internal hosts. I've pored
> over the documentation, but I am having a little trouble narrowing down on
> the exact solution.


You probably have a RCPT ACL with something like this:

  require    verify = sender


which means, "if Exim cannot verify the sender address, reject all
recipients".

You probably somethine like this:

  deny       hosts  = !127.0.0.1 : !1.2.3.0/24
            !verify = sender


which means, "if the message originated somewhere other than 127.0.0.1
or 1.2.3.0/24, *and* Exim cannot verify the sender address, then reject
all recipients".

RTFM for more info -- the spec has a whole chapter on ACLs. Count on
re-reading it several times; it's tricky to understand at first, but
once you get the hang of it, ACLs are loads of fun.

Of course, you'll have to use your local netmask instead of 1.2.3.0/24.

        Greg
--
Greg Ward - software developer                gward@???
MEMS Exchange                            http://www.mems-exchange.org