DirectAdmin Incoming Exim Configuration

Hosted Cloud

To configure Exim to only allow email from the filter servers for certain domains, you can do the following:

  1. Create the file /etc/virtual/spamexperts_incoming_domains
  2. Add the domains that use Spam Experts to this file (one per line)
  3. Add the following line in the domainlist part of the config
    domainlist spamexperts_domains =    lsearch;/etc/virtual/spamexperts_incoming_domains
  4. Set the following in the RCPT ACL
    domains = +spamexperts_domains
    !hosts = : localhost
    message = Please deliver mail to the address specified in the MX records for this domain.
  5. Save
  6. Restart Exim

Local Cloud

For local cloud users, replace with your servers hostnames separated by ':'.

See here for information on the DirectAdmin Addon