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.

Sender and Return path is showing server hostname instead of user email.

Discussion in 'E-mail Discussions' started by Motaal, May 4, 2015.

  1. Motaal

    Motaal Registered

    Joined:
    May 4, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Header Details:

    Sender: <username@serverhostname>
    Return-Path: <username@serverhostname>
    Received-SPF: none (domain of serverhostname does not designate permitted sender hosts)

    I want the sender and Return-Path to be user@usersdomain.com. How to go about it.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,697
    Likes Received:
    657
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you elaborate on how you are sending the message? Is it through a PHP script? Are you sending via SMTP authentication?

    Thank you.
     
  3. Motaal

    Motaal Registered

    Joined:
    May 4, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Mails are being sent using PHP Script. One of my client is using Interspire mailing software and facing this problem.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,697
    Likes Received:
    657
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    The default behavior of Exim 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