Re: [exim] How exim handles dynamically assigned addresses

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Tony Finch
日付:  
To: exim-users
CC: 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}}