Hi All,
I have a php script that sends email to user-specified email addresses. The problem is, when the message bounces, it bounces back to "nobody@myboxsname". I have a line in the header of the message (in php) that says:
"Return-Path: <myaddress\@mydomain.com>".
What is interesting is that I can get the return path to change only if i change the default sendmail path for php to: "/usr/sbin/sendmail -t -f myaddress@mydomain.com"
Well thats great except I don't want every message leaving that machine to have that address as a return path!
Is there something I need to set in the sendmail config? Any help is greatly appreciated... I am clearly a sendmail novice.
Thanks!
Adam
I have a php script that sends email to user-specified email addresses. The problem is, when the message bounces, it bounces back to "nobody@myboxsname". I have a line in the header of the message (in php) that says:
"Return-Path: <myaddress\@mydomain.com>".
What is interesting is that I can get the return path to change only if i change the default sendmail path for php to: "/usr/sbin/sendmail -t -f myaddress@mydomain.com"
Well thats great except I don't want every message leaving that machine to have that address as a return path!
Is there something I need to set in the sendmail config? Any help is greatly appreciated... I am clearly a sendmail novice.
Thanks!
Adam