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.

Remote SMTP

Discussion in 'E-mail Discussions' 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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    671
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page