Re: [exim] How exim handles dynamically assigned addresses

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Tony Finch
Ημερομηνία:  
Προς: exim-users
Υ/ο: Alan McConnell
Αντικείμενο: Re: [exim] How exim handles dynamically assigned addresses
On Wed, 29 Dec 2004, Philip Hazel wrote:
>
> You have to do the rewriting in the remote_smtp transport, as the
> message leaves your host. This will require the use of a transport
> filter, to rewrite the contents of the message (the From: line, and any
> others such as Reply-To: or Sender:), and the use of the return_path
> option, to rewrite the envelope sender.


I think you've forgotten the headers_rewrite transport option :-)
Have a look at http://www.cus.cam.ac.uk/~fanf2/conf4.satellite
for an example.

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}}