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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Andreas Metzler
Dátum:  
Címzett: exim-users
Tárgy: 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