Re: [Exim] Re: Exim rewrite of local usernames but only for …

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Giuliano Gavazzi
Datum:  
To: Felix Erkinger, exim-users
Betreff: Re: [Exim] Re: Exim rewrite of local usernames but only for non local Recipients
At 17:09 +0100 2003/02/26, Felix Erkinger wrote:
>
>qualify_domain = saturn
>local_domains = localhost:saturn:saturn.spitz-back.at:spitz-back.at


these are some strange looking local_domains (well, the first two).
Although this is probably acceptable for an internal mail server, I
would not use the first two in an internet connected one. In other
words localhost and saturn will never be public domains (and even if
they will even happen to be, then they would be top domains, that is
you will never have their ownership).

I still think you should use a global rewrite, but use it carefully.
I just realised that I forgot to specify in my previous email that
the rewrite rule was a global one. You should have told me..

Since I realise I did not sent my previous reply to the list, here it is:

At 22:43 +0000 2003/02/25, Giuliano Gavazzi wrote:
>you can change all your headers (even for internal email) with something like:
>
>*@saturn     ${lookup{$1}lsearch{/etc/email-addresses}{$value}fail}        hF

>
>note that if your clients really set the addresses to xxx@saturn
>they need to be reconfigured...
>
>Note that you might also want to remove the X-Sender and X-X-Sender
>headers in the dnslookup router (I am not sure the above rewrite
>will get them) with:
>
> headers_remove = X-Sender : X-X-Sender


Giuliano

--
H U M P H
    || |||
  software


Java & C++ Server/Client/Human Interface applications on MacOS - MacOS X
http://www.humph.com/