can't set return path

nobaloney

NoBaloney Internet Svcs - In Memoriam †
Joined
Jun 16, 2003
Messages
25,333
Location
California
I'm not sure if I should post this here, or in the Email forum, but I think it's going to require knowledge of php, so it's here :).

A client of mine has moved from a server using php as a module to php through suPHP.

Problem is the top header on his email is [email protected].

We want it to be a specified return address.

We've done the following:

Added the username to the trusted_users line in exim.conf, and restarted exim.

And in the client specific php.ini file we've added:

sendmail_path sendmail -t -i [email protected]

We've even tested to make sure the client specific php.ini file IS being used.

But the return path still shows up as:

Return-path: <[email protected]>

Any ideas where we should look next?

Thanks.

Jeff
 
Any insights on this, as I'm faced with the same issue

Isn't the
sendmail_path
in the http.conf allowed with CGI mode ?

I guess not:
|*if CLI="1"|
php_admin_flag engine |PHP|
<IfModule !mod_php6.c>
php_admin_flag safe_mode |SAFE_MODE|
</IfModule>
php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f |USER
|*endif|

Also, where do we find/put the individual php.ini's?
 
Last edited:
Unfortunately I don't have an answer for you as the client and I never followed through :(.

I'd never switch back.

Jeff
 
I tried modifying php.ini and turn php mode to off but both the return path still set to a fixed [email protected] path.

How do I change this? I really need this for bounce email processing
 
Ditto... I know we can configure the root@servername email address to be redirected, but this isn't a solution

i am working on the same thing also but then from a magento shop.
i read it can be possible if you authenticate from the php script to the smtp server.. (if you php module supports that)

so try to send the mail to your localhost smtp with the userid as you want your return path set too.. this could be a workarround.

Soul
 
Back
Top