Server Email Directadmin
/usr/local/directadmin/custombuild
./build update
./build exim
./build eximconf
./build roundcube
./build rewrite_confs
Source: https://forum.directadmin.com/threads/i-cant-receive-emails-or-send.63079/
Server side
-
The hostname must not match any domain that is being used on the system. We recommend using server.domain.com or web1.domain.com instead. (Taking server1.domain.com as example.)
-
The hostname must be in the /etc/virtual/domains file.
-
The hostname must not be in the /etc/virtual/domainowners file.
-
The directory /etc/virtual/hostname must exist (eg: /etc/virtual/server1.domain.com). It must not contain any files.
-
Ensure your hostname does not contain any upper case letters.
-
The hostname must resolve. If not, add the required A records to the dns zone so that it does. Command to check:
dig +short server1.domain.com
- Make sure that your main server IP has a reverse lookup on it. Command to check:
dig -x 12.34.56.78 +short