How do I set up Exim(DirectAdmin) to accept incoming messages only from the EuropeanMX servers?


To limit the delivery of incoming messages in Exim(DirectAdmin) to EuropeanMX servers, please follow the steps below.

1

Create the file /etc/virtual/EuropeanMX_incoming_domains.
 

2

Add to the file the domain names that you want to secure with EuropeanMX Use one line per domain name.

3

Add the following part to the config file at domainlist.

domainlist EuropeanMX_domains =    lsearch;/etc/virtual/EuropeanMX_incoming_domains
4

Change RCPT ACL as follows:

defer
domains = +EuropeanMX_domains
!hosts = delivery.antispamcloud.com : localhost
message = Please deliver mail to the address specified in the MX records for this domain.
5

Save these settings and restart Exim.


Was this article helpful?
No Yes
We use cookies for the technical functionality of this website. With your consent, we also collect page views and other statistical data in anonymized form.

Select individually
Cookie Settings
Read Privacy Statement