PDA

View Full Version : Setup mail for main domain



josetann
09-10-2003, 05:51 PM
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
09-17-2003, 01:20 PM
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