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 email server configuration

Discussion in 'E-mail Discussion' started by Eddiewild, Mar 17, 2017.

  1. Eddiewild

    Eddiewild Registered

    Joined:
    Mar 17, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Italy
    cPanel Access Level:
    Root Administrator
    Hello,

    I'm setting up a new whm server that will be used as http server only (no dns, no mail server).
    Dns and email server are hosted elsewhere by another provider.

    On this server I will host just the www part of domains.

    I will have to host some small websites that will have the classic "contact form" page. This contact forms will use the remote smtp server. How do I have to configure the server (and the external dns) for correctly handle email sent by scripts without spam issues etc?

    Can you please help me with this?

    Thank you!

    Eddie
     
  2. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    703
    Likes Received:
    114
    Trophy Points:
    168
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,791
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You should be able to configure the contact form script to send out email by directly connecting to the remote SMTP server. Make sure the "Email Routing" settings are configured to "Remote Mail Exchanger" so it does not attempt to send email locally. You can adjust this under the "Email Routing" section for the domain name in "WHM >> Edit DNS Zone".

    Additionally, you'll need to browse to "WHM >> SMTP Restrictions" and ensure this feature is disabled.

    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