Re: [Exim] Opposite of Aliases

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Steven Hanley
Data:  
Para: exim-users
Asunto: Re: [Exim] Opposite of Aliases
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.

    See You
        Steve


-- 
sjh@??? http://wibble.net/~sjh/
Look Up In The Sky
   Is it a bird?  No
      Is it a plane?  No
         Is it a small blue banana?
YES