can you remove the main domain on a account from the /etc/localdomains

WebHostPro

Well-Known Member
PartnerNOC
Jul 28, 2002
1,725
28
328
LA, Costa RIca
cPanel Access Level
Root Administrator
Twitter
I\'ve got contact form script on dom-v-anape.ru, which sends email to my domains email.

The script works correctly, but emails are sending in \"nowhere\". I think, sendmail \"thinks\" that my domain is a local domain.

Is it possible to remove my domain from /etc/localdomains file on server, or solve this problem in any other way?

Basically can you remove the main domain on a account from the /etc/localdomains file?

Or do you know a way to fix the google apps error.

Thanks,

Charles
 

ffeingol

Well-Known Member
PartnerNOC
Nov 9, 2001
827
346
363
cPanel Access Level
DataCenter Provider
Normally you just need to change the DNS to have the proper MX record (I'm assuming you are not using the servers DNS). Once you have the MX set properly It should properly set the domain as remote mail.