Re: [Exim] Checking if a domain is in a named domain list?

Top Page
Delete this message
Reply to this message
Author: Andreas Metzler
Date:  
To: exim-users
Subject: Re: [Exim] Checking if a domain is in a named domain list?
On 2004-02-06 Jim Archer <jim@???> wrote:
> I am interested in executing a warn in the rcpt ACL if the domain that the
> message is addressed to is in the named list of local domains.


warn domains = +local_domains
     message = X-domain-is-in-localdomains: yes


> Trouble is, I don't know how to test for that in the condition. It seems
> all the lookup methods operate on filed and databases, but not named lists.


> Is it possible to check to see if $domain is a member of a named list of
> domains?


No, it is wishlisted, though. See "Subject: [Exim] restricting a
router to specific sender_host_address" yesterday.
           cu andreas