Re: [Exim] Default Alias Expansion

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Matthew Byng-Maddick
Ημερομηνία:  
Προς: Mike Meredith
Υ/ο: exim-users
Αντικείμενο: Re: [Exim] Default Alias Expansion
On Fri, Sep 21, 2001 at 08:59:46AM +0100, Mike Meredith wrote:
> I'm trying to setup my mail servers to accept mail for a certain
> domain, and forward that mail onto another server with the same local
> part. In terms of an alias file :-
>
>     *:    $1@???

>
> However, as far as I can see there isn't a way of doing this with alias
> files. Can anyone confirm whether this is possible or not ?


There is. You want to set the "expand" option in your alias director, and
also, as Suresh has pointed out, the partial-lsearch as your matching
algorithm.

Then, in your aliases, you have:

| *: ${local_part}@???


This is actually a lot more powerful than it might at first seem. :-)

MBM

-- 
Matthew Byng-Maddick         <mbm@???>           http://colondot.net/