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:
- Create the file
/etc/virtual/spamexperts_incoming_domains
- Add the domains that use SpamExperts to this file (one per line)
- Add the following line in the
domainlist
part of the configdomainlist spamexperts_domains = lsearch;/etc/virtual/spamexperts_incoming_domains
- Set the following in the RCPT ACL
defer domains = +spamexperts_domains !hosts = delivery.antispamcloud.com : localhost message = Please deliver mail to the address specified in the MX records for this domain.
- Save
- Restart Exim
Local Cloud
For local cloud users, replace delivery.antispamcloud.com with your servers hostnames separated by ':'.
See here for information on the DirectAdmin Addon
Disclaimer: This documentation may contain references to third party software or websites. N-able has no control over third party software or content and is not responsible for the availability, security, or operation, of any third-party software. If you decide to utilize a release involving third-party software, you do so entirely at your own risk and subject to the applicable third party’s terms and conditions of the use of such software. No information obtained by you from N-able or this documentation shall create any warranty for such software.