On Feb 21, 2007, at 4:25 AM, Drav Sloan wrote:
> Hi all,
>
> How do I stop Exim adding or "munging" Sender and Return-Paths for
> authenticated users?
>
>
Interestingly, I just had a very similar problem of return-paths
being mangled:
LOG: 1HJjfO-00030H-Pf <= "marco@???
H=ip3e83cd10.speed.planet.nl [62.131.205.16] P=smtp
A=PLAIN:marco@??? S=408
(This is from being run as "exim -bhc 62.131.205.16 -oMi
83.98.201.101 -oMaa PLAIN -oMai 'marco@???'", but of
course the real thing going wrong is what alerted me to the situation).
The authenticated_id was being prefixed to the qualify_domain as a
return-path (and for the bounce when this went haywire because of the
quotes and extra @-sign, the envelope recipient). This won't cause
many issues if you have loginnames like 'foo', but if your
authentication backend needs to accept multiple domainnames
('foo@???'), things go wrong.
control = submission/sender_retain worked its magic for me, keeping
the envelope sender that I had set in my mail client in the return-path.
So basically this:
>
> accept authenticated = *
> control = submission/sender_retain
>
Are you sure your acl is correct and the control is even being
applied to your message?
Marco