HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   php sendmail addresses = @server1.example.com (http://www.howtoforge.com/forums/showthread.php?t=60564)

aldo 14th February 2013 15:34

php sendmail addresses = @server1.example.com
 
All emails sent by php from a website (Debian 6 / ISPConfig3) have the same address (web20@server1.example.com).

The smtp server of the recipient sees as the sender:
web20@server1.example.com

Code:

MAIL FROM: <web20@server1.example.com>
Trying to use a relayhost in the log of the same I see:
Code:

MAIL FROM:<> AUTH=<>        250 Requested mail action okay, completed        43        22        sm       
MAIL FROM:<> AUTH=<>        250 Requested mail action okay, completed        43        22        sm       
RCPT        RCPT TO:<web20@server1.example.com>        250 Requested mail action okay, completed        43        37        sm       
RCPT        RCPT TO:<web20@server1.example.com> 250 Requested mail action okay, completed        43        37        sm

In the above example, the message was sent to two recipients, each of which has been replaced.

Thank for any help.

aldo 14th February 2013 18:46

I changed the domain name changing /etc/mailname but I would like to use the site domain name instead of server domain name.

Is that possible?

Thanks.


All times are GMT +2. The time now is 03:02.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.