The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Change email sender address on exim vps

Discussion in 'E-mail Discussions' started by dammionx, Dec 15, 2014.

  1. dammionx

    dammionx Registered

    Joined:
    Dec 15, 2014
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Jakarta, Indonesia, Indonesia
    cPanel Access Level:
    Root Administrator
    Hello..

    I have a vps using hostname vps.domain.com

    BUT.. why all of phpmail send as usernamecpanel@vps.domain.com instead of email@domainname.com ?

    except an email from email@domain.com..

    Anyone can help me ?

    Thankyou
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,852
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    The default behavior when sending email through PHP is to use the cPanel username and hostname of the server to construct the envelope-sender address. If you can configure the mailer to use SMTP and authenticate with SMTP AUTH, this will set the correct "Return-Path" in the headers.

    Thank you.
     
Loading...

Share This Page