Author Topic: New install send all email via external SMTP even for local domains  (Read 16665 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Hi.

Im setting up a CWP to host a couple of internal websites.
All email for the domains is hosted elsewhere.

i recall in Cpanel you can set it so that all email is routed via an external MX lookup even for local domains.
CWP dosnt seem to have this option

Plus to comply with opur SPF records id like to route email via our external SMTP spam filter.
i cant seem to find an option for that.

Cheers
Colin.

Offline
*****
Re: New install send all email via external SMTP even for local domains
« Reply #1 on: January 08, 2016, 11:55:53 AM »
Hello.

All of that you should configure in your nameservers . External MX, SPF etc.
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: New install send all email via external SMTP even for local domains
« Reply #2 on: January 11, 2016, 10:44:12 AM »
Hello.

All of that you should configure in your nameservers . External MX, SPF etc.

you misunderstand.
My name servers / MX records etc are already correctly established and in order.
Email for this specific domain is hosted on Office 365 and has been for some time.

I want to create an internal server to host our website with the same domain name.
if i create an account for our domain, CWP will say hey i dont need to perform any external MX lookups for this domain as i host it myself. so any email from the website to an email address on the same domain just sits in the mail cue.

Exactly the same issue with CPanel, but in CPanel you can tell it to always perform external MX lookups even if it has an account with that domain.



 


Offline
*
Re: New install send all email via external SMTP even for local domains
« Reply #3 on: January 12, 2016, 04:02:30 PM »
FYI.

i was using CWP to provide simple web hosting for a couple of WP websites.
All email/DNS etc was dealt with elsewhere.

in the end i added an SMTP plug in for Worpress that allowed me to set an external SMTP relay for all wordpress email.
this circumvented the local email/smtp service.

C.

Offline
***
Re: New install send all email via external SMTP even for local domains
« Reply #4 on: February 05, 2016, 06:00:38 AM »
FYI.

i was using CWP to provide simple web hosting for a couple of WP websites.
All email/DNS etc was dealt with elsewhere.

in the end i added an SMTP plug in for Worpress that allowed me to set an external SMTP relay for all wordpress email.
this circumvented the local email/smtp service.

C.

Hi, i have same config as yours... i did this
phpmyadmin - postfix - domain
find domain you dont want to recieve email, change "active" from 1 to 0...
You can still open webmail for this domain, but even if you send email for yourseft, email will properly routed to server which mx record pointed.

ps. i hope you understand, as my english is google translated   ;D
 

Offline
*
Re: New install send all email via external SMTP even for local domains
« Reply #5 on: March 25, 2016, 06:04:14 PM »
Thank you Jae this sorted our problem.  :)

Offline
**
Re: New install send all email via external SMTP even for local domains
« Reply #6 on: July 26, 2018, 10:39:40 AM »
...in recall in Cpanel you can set it so that all email is routed via an external MX lookup even for local domains.
CWP dosnt seem to have this option
...

How can we do that with CWP please?
You may use our FREE SMTP Newsletter APP at https://www.emailbat.com

Offline
**
You may use our FREE SMTP Newsletter APP at https://www.emailbat.com