[Exim] condition syntax question

Top Page
Delete this message
Reply to this message
Author: Marc MERLIN
Date:  
To: exim-users
Subject: [Exim] condition syntax question
So, I have this value:
domainlist local_domains = @ : @[] : localhost : MAILNAME : LISTDOMAIN : CONFDIR/domains/localdomains : CONFDIR/domains/localdomains_norewrite

And I'd like to have an ACL test against it:

# Forged HELOs
  deny    message       = Forged hostname detected in HELO - $sender_helo_name
          hosts         = !+relay_from_hosts
          log_message   = Forged hostname detected in HELO - $sender_helo_name
          condition     = ${lookup {$sender_helo_name} +local_domains}{yes}{no}}


Of course, the last line is invalid, but I just wrote it to show what I'm
trying to do

Any suggestions?

Thanks
Marc
--
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/   |   Finger marc_f@??? for PGP key