php sendmail addresses = @server1.example.com

Discussion in 'Installation/Configuration' started by aldo, Feb 14, 2013.

  1. aldo

    aldo Member HowtoForge Supporter

    All emails sent by php from a website (Debian 6 / ISPConfig3) have the same address ([email protected]).

    The smtp server of the recipient sees as the sender:
    [email protected]

    Code:
    MAIL FROM: <[email protected]>
    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:<[email protected]>	250 Requested mail action okay, completed	43	37	sm	
    RCPT	RCPT TO:<[email protected]> 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.
     
  2. aldo

    aldo Member HowtoForge Supporter

    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.
     

Share This Page