Re: [Exim] Opposite of Aliases

Página Inicial
Delete this message
Reply to this message
Autor: Jan Schreckenbach
Data:  
Para: exim-users
Assunto: Re: [Exim] Opposite of Aliases
Steven Hanley wrote:
>
> On Mon, Feb 12, 2001 at 11:14:52AM -0000, Gordon McKee wrote:
> > How can I get exim to perform aliases in reverse for outgoing mail?
>
> If you mean that if an email is coming from user@??? or
> similar and you wish to make it look like it is coming from
> otheruser@??? or similar.
>
> It is in the rewriute section of the config, all example config files I have
> seen (on debian systems) have it there already.
>
> # This is an example of a useful rewriting rule---it looks up the real
> # address of all local users in a file
>
> *@localhost.localdomain    ${lookup{$1}lsearch{/etc/email-addresses}\
>                                         {$value}fail} frF

>
> and in the file I have
>
> sjh    sjh@???

>
> the sjh@??? could be anything, this just makes any email sjh sends
> appear to come from sjh@???
>
> If this is not exactly what you are looking for, read through the FAQ and
> the example configs and the docs on rewriting, you can rewrite all the
> headers conditionally on the in or out direction as far as I know.


Hi,

this is a well known solution but it never satisfacted me. With this
solution I need two files.
I heard about a feature in sendmail+ida named xaliases (this is a
anccient branch of sendmail, IFAIK). as far as I remember this file
looks like:

user       <> account@???
root1      <  postmaster@???
root2      <  postmaster@???
postmaster  > admin


< means "translate LHS to RHS in outgoing mails", > means
"translate RHS to LHS for incomming mails" and <> means do both.
With this feature one can do rewriting/aliasing very flexible, I think.
Would be nice to have a similar solution.

cu
Jan

--
_______________________________________________________________________

THE BEST RUN E-BUSINESSES RUN mySAP.com
_______________________________________________________________________

Jan Schreckenbach                      email: Jan.Schreckenbach@???
SAP AG Walldorf/Baden, Germany         Phone: +49 6227  7-47474
LinuxLab                               Fax  : +49 6227 78-31414


SAP LinuxLab support address: linux@???