How to disable email for a domain?

eadz

Verified User
Joined
Jun 6, 2006
Messages
13
Hi there,
I have some websites hosted on my server. For one of those websites, I need to host the email off-site.

I have changed the MX records, and as expected, email is working fine, with the exception that when email is sent from the server, it goes directly to the local mailboxes, rather than to the server in the MX records.

Any idea how to stop this happening?
 
Enable 'DNS Control' for the account, then go to 'MX records' and select the checkbox. (use this server to handle my e-mail)
 
remove email for domain

How about removing email for domain if DNS is not hosted on DA host instead it's on remote host.
If I got to "MX Records" or "DNS Management" for the host, I am getting an error on that:
=======================
Cannot View Dns Record
Details
Error Reading db file
=======================

On /var/log/directadmin/error.log I have the following:
2011:03:04-13:26:03: Named::readDB: Can't open /etc/bind/domain.com.db for reading


It seems DA is trying to read DNS file, which is not on DA host.
How do I disable email for domain, i.e. use remote DNS records for email deliveries originating on DA host?

Thanks
 
Last edited:
Are you a customer or an admin of the server? If the first contact your hosting provider support. If the second, touch /etc/bind/domain.com.db and leave it empty.
 
Back
Top