cPanel and WHM Configuration for Mail Assure
The following instructions describe how to:
- Restrict incoming delivery to Mail Assure only
- Disable catchall behaviour
- Route outgoing mail through Mail Assure
Incoming
In WHM
As the root user:
- Set the Service configuration > Exim Configuration Manager > Access lists to Only-verify-recipient to contain:
185.201.16.0/22
-
securemail.management
- In the Service configuration > Exim Configuration Manager > ACL options set:
- Ratelimit suspicious SMTP servers > False
- Ratelimit incoming connections with only failed recipients > False
- In Server configuration > Tweak settings > Mail set:
- Email delivery retry time > 5 minutes
- Initial default/catch-all forwarder destination > Fail
- Enable BoxTrapper spam trap > Off
- Enable Apache SpamAssassin™ spam filter > On
- In Email > Spamd startup configuration > Allowed IPs set:
185.201.16.0/22,130.117.251.9
This will restrict the server from receiving mail for all domains to only accepting mail from Mail Assure.
In cPanel
As the admin for the domain, or higher:
Select Email > Default Address > <domain> > Discard the email while your server processes it by SMTP time with an error message.
Outgoing
In WHM
In Service configuration > Exim Configuration Manager > Mail set:
- Smarthost support > * smtpout.mtaroutes.com::587
This should be <asterisk><space><smarthost address><double colon><port number>.