Re: [Exim] Globbing in searches

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: Paul Makepeace
CC: exim-users
Assumpte: Re: [Exim] Globbing in searches
On Thu, 20 Jan 2000, Paul Makepeace wrote:

> 1. Scenario: /etc/mail/domain_aliases contains lsearch files foo.com &
> bar.net -- a subset of local_domains. I would like to have my first director
> look there first (e.g. file = /etc/mail/domain_aliases/$domain) and then if
> that fails (e.g. the file doesn't exist) try the usual system_aliases
> director which uses /etc/aliases. (I could do this with condition =
> <test-for-existence> .../$domain. Is there a way besides ${perl} to do that?)


Set "optional" on your first aliasfile director.

> 2. In a similar vein, is it possible to do something like local_domains =
> /etc/bind/master/forward/* to have exim treat all the domains my nameserver
> is serving as local domains (assuming of course my zonefile names match those
> domain names). What I'm trying to avoid is having to maintain a separate file
> that is essentially the same information elsewhere (e.g. output of ls).


No, you can't give a list of files in shell-globbed form, I'm afraid.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.