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:
- Navigate to Service configuration > Exim Configuration Manager
- Set Access lists to Only-verify-recipient
- Configure this to contain:
185.201.16.0/22
-
securemail.management
- In the Service configuration > Exim Configuration Manager > ACL options set:
- Ratelimit suspicious SMTP servers to False
- Ratelimit incoming connections with only failed recipients to False
- In Server configuration > Tweak settings > Mail set:
- Email delivery retry time to 5 minutes
- Initial default/catch-all forwarder destination to Fail
- Enable BoxTrapper spam trap to Off
- Enable Apache SpamAssassin™ spam filter to On
- In Email > Spamd startup configuration, set Allowed IPs to include:
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
- Navigate to Service configuration > Exim Configuration Manager
- Set Mail setting:
- Smarthost support to * smtpout.mtaroutes.com::587
This should be <asterisk><space><smarthost address><double colon><port number>.