Re: [Exim] Aliases

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Greg Ward
Datum:  
To: exim-users
Betreff: Re: [Exim] Aliases
On 06 October 2002, Miles Muri said:
> The way I set out
> to do this was to give a user account name that was different than the
> local part of the e-mail address then use the aliases file to have Exim
> send the mail arriving for bob@??? to local user localuser27
> and mail arriving for bob@??? would go to the local mailbox of
> localuser39 (or something to that effect). A sample entry from my
> aliases file would look like this:
>
> bob@???:    localuser27
> bob@???:    localuser39

>
> In any case, my plan didn't work, and messages to either bob bounce
> with a no-user-of-that-name-here message.


You forgot to mention which Exim version; I'll assume 4.x.

Did you remember to include the domain name in the alias lookup?
Eg. the default alias lookup router has something like this:

data = ${lookup{$local_part}lsearch{/etc/aliases}}

which you would want to change to this:

data = ${lookup{$local_part@$domain}lsearch{/etc/aliases}}

With Exim 3, there was an option to control this. Don't remember what
it was.

        Greg
--
Greg Ward <gward@???>                         http://www.gerg.ca/
Yield to temptation; it may not pass your way again.