Re: [Exim] testing whether individual elements are in named …

Pàgina inicial
Delete this message
Reply to this message
Autor: Nico Erfurth
Data:  
A: John Jetmore
CC: exim-users
Assumpte: Re: [Exim] testing whether individual elements are in named lists
John Jetmore wrote:
> I looked in the docs and either it's not there or I overlooked it multiple
> times. How do I test whether an element is in a named list in a free
> manner. By this I mean I want to check in a condition= statement, not in
> domains= or hosts= or the like. As a specific example I would like to
> check whether $sender_helo_name is an element in @[] or +local_domains.


You can't, IIRC there is an item on the wishlist about this.
Your best bet is to use an ACL to set an acl-var or header and check it
later.

Nico