(We sell DirectAdmin licenses for a great price! Purchase a server with us and grab a license, use promo code PACKETS to get 15% off your first invoice!)
Your customers might be reporting the error "Host impersonating domain name" when trying to send email through your DirectAdmin server. This happens when the server they are connecting from, even if authenticating over SMTP, has a hostname that matches a local domain on the DirectAdmin server. To fix this, you'll need to redo this anytime you rebuild exim config or upgrade exim. However, it is very simple to do.
Step 1: Open /etc/exim.conf
Step 2: Search for "HELO_IS_LOCAL_DOMAIN" in the file
Step 3: Comment out all of this by adding "#" before each line, just as shown below:
# deny message = HELO_IS_LOCAL_DOMAIN
# condition = ${if match_domain{$sender_helo_name}{+local_domains}{true}{false}}
# hosts = ! +relay_hosts
Step 4: Restart exim with:
systemctl restart exim