Setup mail for main domain

josetann

Verified User
Joined
Aug 3, 2003
Messages
29
Location
Tennessee
Just installed DA on a new server. I'm trying to setup email for the domain, and can't figure it out. I tried setting up a normal user but it says:

Cannot create user

Details

That domain already exists

The domain I'm trying to setup email for, is also the hostname the server is set to if that makes a difference.
 

DirectAdmin Support

Administrator
Staff member
Joined
Feb 27, 2003
Messages
8,987
Hello,

The domains that are checked are from the /etc/named.conf file, so if you *know* the domain hasn't already been created, just comment it out, or remove it from that file then you'll be able to create the domain.

Note that you should *not* use a hostname if that domain exists on the server. Doing so will prevent any system email from getting to their mailbox, but instead will be caught be the hostname's catch-all, (which is why we don't create a hostname domain).

Easy solution is to set the hostname to server.domain.com instead of domain.com.

John
 
Top