Line Yoble
Verified User
- Joined
- Feb 4, 2009
- Messages
- 38
Hello,
I have just switched a domain from a shared server (with qmail) to a dedicated one with DA (with exim).
On this domain, I have a PHP script which sends several emails calling the mail() function after having prepared a header containing several lines among which there are :
Return-Path: <my email address>,
Return-Errors-To: <my email address>,
Reply-To: noreply@<my domain>
This worked fine on my previous server.
Now, in my email software, the messages received from the script display a
From :admin@<base server domain> on behalf of <my email address>
I have checked the message header and there are :
Return-Path: admin@<base server domain>
Sender: admin@<base server domain>
So, my script added Return-path directive (at least) was changed by Exim.
How can I avoid this and get the standard From : <my email address> in my email software ?
Thanks.
Line.
I have just switched a domain from a shared server (with qmail) to a dedicated one with DA (with exim).
On this domain, I have a PHP script which sends several emails calling the mail() function after having prepared a header containing several lines among which there are :
Return-Path: <my email address>,
Return-Errors-To: <my email address>,
Reply-To: noreply@<my domain>
This worked fine on my previous server.
Now, in my email software, the messages received from the script display a
From :admin@<base server domain> on behalf of <my email address>
I have checked the message header and there are :
Return-Path: admin@<base server domain>
Sender: admin@<base server domain>
So, my script added Return-path directive (at least) was changed by Exim.
How can I avoid this and get the standard From : <my email address> in my email software ?
Thanks.
Line.
Last edited: