[Exim] Condition to match against address list

Top Page
Delete this message
Reply to this message
Author: Brian Candler
Date:  
To: exim-users
Subject: [Exim] Condition to match against address list
This may be a stupid question, but I can't work it out.

Is it possible to match an address against an address list (or a hostname
against a domain list) as part of a condition?

What I want to do is:

smtp_accept_max_per_host = ${if <condition> {val1}{val2}}

where <condition> is 'if $sender_host_address matches address list X'. This
is more flexible than a ${lookup{$mask{...}} since the address list can
contain networks of different sizes.

Any help appreciated...

Thanks,

Brian.