Re: [Exim] [exim 3.36] Sender: equal From: SOLVED

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Elimar Riesebieter
Dátum:  
Címzett: Exim-Users
Régi témák: [Exim] [exim 3.36] Sender: equal From:
Tárgy: Re: [Exim] [exim 3.36] Sender: equal From: SOLVED
--
On Fri, 01 Nov 2002 the mental interface of
Elimar Riesebieter told:

>
> Hi all,
>
> how is it to rewrite the Sender: equal to From: or From?
> I am sending with the -f option and untrusted_set_sender = true. In
> this case the Sender: is $1@$qualify_domain. The From: and From
> headers are filled via -f with one of my email-adresses which are
> diffrent from $1@$qualify_domain.
>


In the Rewriting Section:

*@*home.lxtec.de    "${if eq {${lc:$sender_address_domain}}{t-online\.de}{} fail}\
                          ${lookup{$1}lsearch{/etc/email-addressestonline}\
                            {$value}fail}" s


*@*home.lxtec.de    "${if eq {${lc:$sender_address_domain}}{lxtec\.de}{} fail}\
                          ${lookup{$1}lsearch{/etc/email-addresseslxtec}\
                            {$value}fail}" s


*@*home.lxtec.de    "${if eq {${lc:$sender_address_domain}}{gmx\.de}{} fail}\
                          ${lookup{$1}lsearch{/etc/email-addressesgmx}\
                            {$value}fail}" s


is perfect for me!

Ciao

Elimar

--
Never make anything simple and efficient when a way
can be found to make it complex and wonderful ;-)
--
[ Content of type application/pgp-signature deleted ]
--