[Exim] Condition to match against address list

Pàgina inicial
Delete this message
Reply to this message
Autor: Brian Candler
Data:  
A: exim-users
Assumpte: [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.