Help Center

Setting up for DirectAdmin

Instructions for updating the Exim configuration to use MailChannels as a relay host are provided in this article. Authentication with MailChannels is required and is relatively simple to setup. With DirectAdmin, the exim configurations are stored in the /etc/exim.conf file on your server and the following changes should be added/modified in the /etc/exim.conf file.

Setting Up Authentication

  • Add the following entries under the "begin authenticators" section.

begin authenticators
auth_login:
driver = plaintext
public_name = LOGIN
hide client_send = : smtpusername : smtppassword

smtpusername : smtppassword should be replaced with the SMTP Username/Password you created when signing up with MailChannels.

  • Add the following route in the "begin routers" section.
begin routers
lookuphost:
driver = manualroute
domains = ! +local_domains
ignore_target_hosts = 127.0.0.0/8
condition = "${perl{check_limits}}"
transport = auth_relay
route_list = * smtp.mailchannels.net
  • Add the following transport to the "begin transports" section.
begin transports
auth_relay:
port = 25
hosts_require_auth = $host_address
hosts_require_tls = $host_address

 

Add Authentication Header

  An authenticated sender header is required to track sender reputation within the MailChannels system. This section provides instructions for adding the authenticated sender header to the outgoing emails.
  The authenticated sender header can be added by editing /etc/exim.conf

  • Add the complete "headers_add" line to the file just below “driver = smtp” line as shown:

driver = smtp

headers_add = X-AuthUser: $authenticated_id 

Warning: Versions of Exim prior to the current major release are considered obsolete. If you are using Exim 3.x or earlier it is suggested by the Exim development team that you upgrade to the current release.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Please sign in to leave a comment.

Powered by Zendesk