Mail delivery failed: returning message to sender

SHSaeed

Well-Known Member
May 9, 2002
245
0
316
Hi guys,

Is there anyway to have these emails to be actually returned to the sender (the email listed in From:) instead of having them all come to the email set in WHM?
 

SHSaeed

Well-Known Member
May 9, 2002
245
0
316
*bump*

A month has gone by and no answer.. Anyone know if/how this can be done?
 

dalem

Well-Known Member
PartnerNOC
Oct 24, 2003
2,916
130
368
SLC
cPanel Access Level
DataCenter Provider
I heard that phpsuexec may be incompatible with some programs. Do you know what kind of incompatibility is ?

it is mail scripts sending as nobody but I have found if phpsuexec is compiled before adding any sites they work just fine I run several noboody scripts and they all run just fine


there might be other things that it mucks up but I nor any of my customers have encountered any or they just do not let me know?
 

dezignguy

Well-Known Member
Sep 26, 2004
532
0
166
search the forums here for some exim config settings to restore the old functionality that was changed recently. I believe chirpy posted them.

otherwise fix your scripts so that they set the return-path properly when they call the mail sending binary. (it's the 5th variable)