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!

SOLVED SMTP Restrictions Disabled but Still Blocked

Discussion in 'Security' started by pixelaté, Aug 14, 2018.

Tags:
  1. pixelaté

    pixelaté Member

    Joined:
    May 21, 2008
    Messages:
    7
    Likes Received:
    1
    Trophy Points:
    53
    Hi, I've disabled SMTP restrictions so an account can send email via a third-party SMTP server (Office 365). The issue is, for end-user accounts, port 587 is still blocked despite disabling SMTP restrictions. For root however, it's not blocked - as if SMTP restrictions were still enabled.

    I've rebooted the server just to be sure to no effect. Any ideas?

    Thanks,

    Ian
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,284
    Likes Received:
    2,154
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello Ian,

    Do you happen to use the CSF firewall application? If so, check the CSF configuration to make sure it's not blocking the connection attempt:

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. pixelaté

    pixelaté Member

    Joined:
    May 21, 2008
    Messages:
    7
    Likes Received:
    1
    Trophy Points:
    53
    Thanks for the response Michael :) That was my first thought. I checked that and the port isn't being blocked and the fact that root can access that port is another indicator.
     
  4. pixelaté

    pixelaté Member

    Joined:
    May 21, 2008
    Messages:
    7
    Likes Received:
    1
    Trophy Points:
    53
    Hi @cPanelMichael you were right. I wasn't aware that CSF had their own version of SMTP Restrictions. I had only looked in the open and closed ports in CSF.

    For anyone else who has a similar problem, it the section of CSF Configuration titled SMTP Settings and the setting is SMTP_BLOCK. In my case, I added the user to SMTP_ALLOWUSER

    Thanks for your help!

    Ian
     
    cPanelMichael likes this.
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,284
    Likes Received:
    2,154
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @pixelaté,

    I'm happy to see that helped. Thank you for updating us with the outcome.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. mambovince

    mambovince Well-Known Member

    Joined:
    Jan 15, 2005
    Messages:
    193
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    London, UK
    hi @pixelaté
    I think there is some confusion about this 'feature' especially as many customers are encouraged to use external email services like Office 365 or Google Apps.

    Based on your experience, would you mind giving your 'best practice' suggestions in such scenarios please?
    Thank you kindly
    - Vince
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,284
    Likes Received:
    2,154
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello Vince,

    To solve the issue, the individual cPanel username was added to the SMTP_ALLOWUSER option under the SMTP Settings section in WHM >> CSF >> Firewall Configuration. Keep in mind that CSF is a third-party application, so it's not something that's configured or setup by default as part of a standard cPanel & WHM installation.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice