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.

Not permitted to relay through this server without authentication

Discussion in 'E-mail Discussions' started by sandtim, Sep 15, 2017.

  1. sandtim

    sandtim Registered

    Joined:
    Sep 15, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    I logged into WHM this morning and it asked me to reboot in order to apply an update. I did. After the reboot, I've had several clients report that they could not send email. I sent a test message from my account to my gmail account. This is the result:
    Code:
    This message was created automatically by mail delivery software.
    
    
    A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:
    
    
      mygmailaccount@gmail.com
    
        host gmail-smtp-in.l.google.com [74.125.136.27]
    
        SMTP error from remote mail server after RCPT TO:<@gmail.com>:
    
        550-Please turn on SMTP Authentication in your mail client.  vps2.mydomainname.com
    
        550-[myipaddress]:58688 is not permitted to relay through this server without
    
        550 authentication.
    
    Authentication is turned on in my client. (Outlook 2016)


    This is my version information:
    • CENTOS 7.4 kvm [vps2]
     
    #1 sandtim, Sep 15, 2017
    Last edited by a moderator: Sep 15, 2017
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,424
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Can you verify the domain name you are sending from exists in the /etc/localdomains file on this system? EX:

    Code:
    grep domain.tld /etc/localdomains
    Thank you.
     
  3. sandtim

    sandtim Registered

    Joined:
    Sep 15, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    Found it.

    in Exim Configuration Manager, Basic Editor, Mail,

    "EXPERIMENTAL: Rewrite From: header to match actual sender" was set to "remote".

    I changed it to the default of "disable" and emails are going through.

    I had set that option a few months ago to try to find possible problems with our list servers. But I had also changed it back. Don't know why it changed again during the upgrade last night.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,424
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    "Disable" is the default option for this feature. Is it possible the option was changed manually through WHM or the command line? You can use a command like this if you want to see when the Exim configuration values were last accessed from Web Host Manager:

    Code:
    grep displayeximconfforedit /usr/local/cpanel/logs/access_log
    Thank you.
     
  5. Tim Caviness

    Tim Caviness Registered

    Joined:
    Sep 20, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    NC
    cPanel Access Level:
    Root Administrator
    I am also having this problem.

    Even though the default setting was set to "Disable," I set it to "Enable" ... saved ... changed to "Disabled" and saved again.

    Everything worked.

    Until today ... when I had to do the same exact thing to get SMTP to work for the entire server.

    The settings are getting overwritten somehow and this needs to be fixed.
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,424
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you open a support ticket using the link in my signature so we can take a closer look at your system to see how the setting is overwritten?

    Thank you.
     
  7. ddaddy

    ddaddy Active Member

    Joined:
    Aug 19, 2015
    Messages:
    29
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    I had the same problem. All my emails failed with 550 auth errors.
    I toggled this setting and it started working again.
     
Loading...

Share This Page