On Wed, 14 Sep 2005, Brian Candler wrote:
> I was seeing some strange behaviour with 'control=submission' rewriting the
> envelope sender of messages, and I was carefully reading and re-reading the
> documentation... until I found that in NewStuff this had been intentionally
> changed.
>
> I don't think I like the new behaviour, and I'd like it to be back how it
> was before (or have an option to do this).
You can probably achieve what you want by (1) saving $sender_address in a
$acl_m* variable in an ACL before submission fix-ups occur; (2) use
errors_to on your outgoing router or return_path on your outgoing
transport to restore the sender address using $acl_m*.
However it would probably be neater to add a /return_path_retain option to
Exim. (I think it is better if the default behaviour of submission mode is
similar to locally submitted messages.)
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}}