Edit: more googling has revealed this. Thanks anyway
http://lists.exim.org/lurker/message...698dbb.en.html
--------------------------------------------------------
I want to check here before I pester the mailing list because this seems like a trivial problem, but I can't find any reference to it occurring anywhere else - unless I'm googling for the wrong thing.
I have a server set up with authenticated smtp. The user who is logging in does NOT have an account on the system, and the password is checked by a query to postgres.
The client sends the correct fully qualified sender in 'mail from' (checked with tcpdump)
However, exim chooses not to use this as its 'envelope from' when passing the message on. exim is using auth1@qualify_domain (auth1 is the login name) instead, so I'm getting messages with an invalid return path, because auth1 isn't an account on the system.
Any idea how to tell exim not to modify the the envelope from would be great.
Thanks.