On Sat, 26 Feb 2000, Philip Hazel wrote:
> The answer to the question in the Subject line is "yes". Just have more
> than one director.
>
> On Fri, 25 Feb 2000, Sanjeev Gupta wrote:
>
> > I am running "ESMTP Exim 2.05 #1" on a Debian box. I need to have an
> > alias file, such that:
> >
> > u1: u2
> > u3: u4@???
> > u6@???: u8@???
>
> You can't do that in a single aliasfile director. The keys must either
> all have domains attached, or all not have domains attached.
>
> Of course, you can have two different directors search the same file -
> one looking for unqualified local parts and the other not.
>
> system_aliases_no_domain:
> driver = aliasfile
> file = /etc/aliases
> search_type = lsearch
>
> system_aliases_with_domain:
> driver = aliasfile
> file = /etc/aliases
> search_type = lsearch
> include_domains
Just for the record, in case someone sees this in the archives, the last
line should be
include_domain
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sanjeev "Ghane" Gupta Tel: +91(11) 6941831, 6945227
Eurolink Systems Ltd Fax: +91(11) 6943732
New Delhi, India email: ghane@???
Eurolink doesn't pay me to speak for it, so I don't
Quid quid latine dictum sit, altum viditur