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!

Remote SMTP

Discussion in 'E-mail Discussion' started by tmssyed, Aug 17, 2015.

  1. tmssyed

    tmssyed Registered

    Joined:
    Apr 16, 2015
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Saudia Arabia
    cPanel Access Level:
    Root Administrator
    Hi,

    We have website hosted under our cPanel, which using remote SMTP to send emails from the website.

    i.e the website is hosted under us but the smtp for email server is hosted in different server..

    The issue is, when "Restricted SMTP" is enabled, it doesn't allow to send email via smtp from the website.

    But when "Restricted SMTP" is disabled , it allows website to send email via smtp.

    Is there any solution for it ?
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,429
    Likes Received:
    1,960
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Per the option description:

    Code:
    This feature prevents users from bypassing the mail server to send mail, a common practice used by spammers.
    It will allow only the MTA, mailman, and root to connect to remote SMTP servers. 
    Thus, it's by design that enabling the option prevents your user from sending email via a remote SMTP server. You could disable the "SMTP Restrictions" option and add your own custom firewall rules. The SMTP_BLOCK option with CSF might be a good alternative with the possibility of modifying it to allow connections to specific remote servers.

    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