Re: [exim] headers_rewrite not working

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Tony Finch
Datum:  
To: Vincent Stemen
CC: exim-users
Betreff: Re: [exim] headers_rewrite not working
On Wed, 26 Mar 2008, Vincent Stemen wrote:
>
> OK. I think I am getting close to resolving it. The first thing I need
> is to get it to send the correct *MAIL FROM* address. Apparently I must
> set *return_path* in the transport for that.


Rewriting return paths in transports is unfortunately quite fiddly. Exim
makes it much easier to do earlier, which is OK if what you are trying to
ensure is globally correct email address usage. If you can arrange your
configuration to fit that shape then you should. Otherwise, if you want
one form of addresses internally and a different form externally, then it
makes sense to do return_path rewriting. I have an example of this kind of
setup at
http://www-uxsup.csx.cam.ac.uk/~fanf2/hermes/conf/exim/etc/etc.cam/configure

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}