Remote email server configuration

Eddiewild

Registered
Mar 17, 2017
1
0
1
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
 

Jcats

Well-Known Member
PartnerNOC
May 25, 2011
807
160
168
New Jersey
cPanel Access Level
DataCenter Provider

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
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?
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.