Disable Local Mail for Hostname breaks Letsencrypt

Pieter

Verified User
Joined
Mar 27, 2016
Messages
36
Hi all,

I want to disable all Local Mail on my server since I will be using Google Apps for mail.

For domains I have used the following instructions: http://help.directadmin.com/item.php?id=8

But disabling Local Mail for the hostname cannot be done this way since there is no MX-Record menu option available.

I have found that removing the hostname from '/etc/virtual/domains' will disable it. However this will break the letsencrypt script.

'./letsencrypt.sh request server.example.com 4096 outputs the following message:

Domain does not exist on the system. Unable to find server.example.com in /etc/virtual/domainowners. Exiting...

How do I disable Local Mail for the hostname without breaking Letsencrypt?
 
I have found that removing the hostname from '/etc/virtual/domains' will disable it. However this will break the letsencrypt script.

'./letsencrypt.sh request server.example.com 4096 outputs the following message:

Domain does not exist on the system. Unable to find server.example.com in /etc/virtual/domainowners. Exiting...

How do I disable Local Mail for the hostname without breaking Letsencrypt?

Let's encrypt checks /etc/virtual/domainowners file and not /etc/virtual/domain. You should never remove your domains from the domainowners file, because it might break many things on the system.
 
If the package has the DNS Management ticked, Manage MX records link will be shown.

Hi,

Thank you for your answer.

I know that I have to enable DNS Management in order to show the MX record link..

However the hostname is not owned by a user, thus it has no package assigned.

On the admin level starting page the is a DNS Management link but no MX record link.

All the best from Holland,
Pieter
 
Let's encrypt checks /etc/virtual/domainowners file and not /etc/virtual/domain. You should never remove your domains from the domainowners file, because it might break many things on the system.

Hi,

Thank you for your answer.

The hostname was only removed from /etc/virtual/domains not from /etc/virtual/domainowners (the server's hostname is not listed there anyway).

Will leave both files untouched.

Is there any other way to disable Local Mail for the hostname?

All the best from Holland,
Pieter
 
Back
Top