Account without mail?

joako

Well-Known Member
Aug 7, 2003
112
2
168
cPanel Access Level
DataCenter Provider
Is it possible to create an account without mail? If the email is hosted elsewhere and the account has email and a local user sends a message to that domain, the mail will not be delivered....
 

websupport

Well-Known Member
Jun 24, 2006
92
0
156
More info needed

What do you mean by the following?
Is it possible to create an account without mail?

Means, do you want to host your site with host provider and your mx record should point to another server rather than host provider's mx record?

Or do you don't want to create email accounts for hosting account?

Need explaination ...

:confused:
 

joako

Well-Known Member
Aug 7, 2003
112
2
168
cPanel Access Level
DataCenter Provider
I want to create a Cpanel Account WITHOUT MAIL. The email will be HOSTED ELSEWHERE.

If I just create a Cpanel account and change the MX, A LOCAL USER (any cpanel user on that machine) SENDS A MESSAGE TO THAT DOMAIN which I want to create an account for, THE MAIL IS NOT properly DELIVERED.

I have EMPHASISED everything that was in my last post, there is no new content in this post above this line.

If creating an account without mail as I decribe above is not possible, how could I have Cpanel act sort of like a backup MX and forward all mail for a specific domain name to its correct MX? I already tried using the "Domain mail forwarding" and set that to the primary MX and also [email protected] but it does not work.
 

mohit

Well-Known Member
Jul 12, 2005
553
0
166
Sticky On Internet
Best if you do it from domain registrar panel

hi,
if your domain registrar has facility like managed DNS records, you may set it with proper mx records with priority and mails should be sent to a different server when they are sent.

Many people now use google mail solution to use their domain mail on google a/c's they do it this way, i think setting mx records on server where site is hosted would certainly bounce those mails in case the box is not responding and mx records would not be re-directed.

see ya,
mohit
 

dafut

Well-Known Member
Dec 14, 2005
74
0
156
In /etc/localdomains, comment out the domain that has an external mail server (add a "#" in front of the domain name).

Test while watching the /var/log/exim_mainlog and verify that mail gets sent out.

If you're hosting DNS for that domain on that server, make sure your MX records are pointing to the correct server.
 

joako

Well-Known Member
Aug 7, 2003
112
2
168
cPanel Access Level
DataCenter Provider
dafut said:
In /etc/localdomains, comment out the domain that has an external mail server (add a "#" in front of the domain name).

Test while watching the /var/log/exim_mainlog and verify that mail gets sent out.

If you're hosting DNS for that domain on that server, make sure your MX records are pointing to the correct server.
That worked perfectly. Yes, we are using Google simply because they have so many redundant MX..

Now I know cPanel could update that file for whatever reason (IE: the account is modified) and re-add the domain. I assume that by commenting it out that cPanel will still see the entry and not re-add it.

Or is there any reason why the domain will be re-added, uncommented?