[Exim] conditional verification

Top Page
Delete this message
Reply to this message
Author: John Jetmore
Date:  
To: exim-users
Subject: [Exim] conditional verification
I'm trying to reproduce the following from and exim3 install into an exim4
install:

receiver_verify
receiver_verify_hosts = ! 1.1.1.1 : ! 1.1.1.2 : ! 1.1.1.3

My starting point was the generic install for sender verification:

require verify = sender

Is the only way to do this by converting the require into a deny? I got
it to work like this:

  deny    message = invalid sender <$sender_address> (0x10)
          hosts   = ! 1.1.1.1 : ! 1.1.1.2 : ! 1.1.1.3
          !verify = sender


but not being fluent in ACLs I was wondering if there was a better way to
do it or if there's something wrong w/ my example above.

Thanks
--John