Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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.

Exim return path/bounce address

Discussion in 'E-mail Discussions' started by Liam McArthur, Feb 2, 2018.

  1. Liam McArthur

    Liam McArthur Registered

    Joined:
    Jan 31, 2018
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    United Kingdom
    cPanel Access Level:
    Root Administrator
    I'm having problems setting the return-path/bounce address for my website. I think it seems to be an Exim related issue because everytime I set a header in PHP, it's just ignored. Because of this, I'm getting an awfully high spam score. Is anybody able to advise on the settings I can make to get this resolved?

    For some reason it's automatically changing the return/bounce address to user@serverhostname.tld.
     
    #1 Liam McArthur, Feb 2, 2018
    Last edited by a moderator: Feb 2, 2018
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,802
    Likes Received:
    1,714
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
  3. Liam McArthur

    Liam McArthur Registered

    Joined:
    Jan 31, 2018
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    United Kingdom
    cPanel Access Level:
    Root Administrator
    Ah yes! I never thought about SMTP authentication. Okay, well I've found a plugin for our websites that will allow us to use SMTP auth instead, but after enabling this I was receiving 535 Incorrect authentication data - password command failed errors. I narrowed this down to an option in the Tweak Settings are of WHM: Restrict outgoing SMTP to root, exim, and mailman. When disabling this, the SMTP connects fine and successfully sends mail. My only worry is that this could cause spam issues on the server? Is there a method of allowing the website to send via SMTP without completely opening it to everybody?
     
  4. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,601
    Likes Received:
    64
    Trophy Points:
    328
    cPanel Access Level:
    Root Administrator
    How specifically were you doing this?

    The envelope-sender isn't set as part of the mail's headers.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,802
    Likes Received:
    1,714
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    The feature is not designed for modifications or whitelisting of additional users. I suggest using a third-party firewall management utility such as CSF instead:

    ConfigServer Security & Firewall

    There are options that allow you to restrict SMTP similar to the SMTP Restrictions option in WHM, but with exemptions.

    Thank you.
     
Loading...

Share This Page