Is there any way to prevent Exim from overwriting headers of e-mails that are sent through a PHP script. A user wants to specify a Return-path in their script, but the server always changes this to user@hostname . Is there anyway to allow this?
Is there any way to prevent Exim from overwriting headers of e-mails that are sent through a PHP script. A user wants to specify a Return-path in their script, but the server always changes this to user@hostname . Is there anyway to allow this?
I don't believe you can through PHP unless you pipe to the exim binary directly rather than using the mail() call.A user wants to specify a Return-path in their script, but the server always changes this to user@hostname
It is worth noting that the behaviour of exim (to use username@hostname) is completely correct and the return-path: field is only meant to be used for manual mail tracking. From: and Reply-To: headers are for mail routing.
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com