Author: Dominik Ruf Date: To: exim-users Subject: Re: [Exim] Return-Path:
* res0nlrn <res0nlrn@???> [2003-10-03 10:18]: > I am new to exim. I am running debian stable, which has exim-3.35. I
> have a small app written in php which is using exim as smtp to send emails.
>
> How do I configure exim so it uses from email address as Return-Path
> Apache is running as www-data so currently Return-Path in all emails is
> coming as www-data@<domain-name>
I think a "clean" way to do this would be to either use some sort
of suEXEC or cgi-wrapper to run the scripts under the desired uid
or to change the scripts to call the /usr/sbin/sendmail interface
accordingly, e.g. by specifying the sender via -f.