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.

Remote email server configuration

Discussion in 'E-mail Discussions' 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:
    599
    Likes Received:
    92
    Trophy Points:
    153
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    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.
     
Loading...

Share This Page