Quoth Philip Hazel on Thu, Aug 19, 1999:
> On Wed, 18 Aug 1999, Joe Emenaker wrote: [in long unwrapped lines]
>
> > 1) What if I want to have the same aliases for 'client.com' and 'mail.client.com'. Do I have to use a symlink in /etc/aliases, or is there some way to tell Exim "treat all subdomains of 'client.com' as just 'client.com'"
>
> You could use a symlink, or you could do something fancy using the
> expansion string features. For example, instead of $domain you could
> write
>
> ${if match{$domain}{\\.client\\.com\$}{client.com}{$domain}}
>
> but that would get tedious if there were lots of them. Or you could look
> up $domain in a file to get the name of its alias file. Or you could
> rewrite envelope addresses.
An example:
ftp://ftp.cs.huji.ac.il/pub/exim/configs/hairy.tar.gz
Vadik.
--
Any language that involves exposing private parts to friends is a
tad suspect...
-- Geoff Lane in the Monastery, about C++