How to Configure Incoming Mail for a WHM/cPanel Server

MailBuster is a special cloud service designed to protect emails from spam, viruses, and other threats. This service works by filtering email coming in and out of your server.

Incoming Configuration
Configuration incoming relates to filter settings for emails that log into your server.

Need to be prepared?

Configuration in MailBuster

Please log into the Cloudmatika control panel using the url: https://cloudmatika.com/

Select Mail Buster


Click Login


Please select Incoming


Click Destination
Please do the configuration for the Incoming Destination.


Configuration in WHM

Please log into the control panel of the WHM

Select Service Configuration

Click Exim Configuration Manager

Select Advanced Editor

Please scroll to Section : AUTH section and enter the following code:
#Section: AUTH
#Smart Host Stinging
sendbysmarthosts:
driver = plaintext
public_name = LOGIN
Hide client_send =:${extract{user}{${lookup{$$sendder_address_domain} lserarch{/exec/exim_smarthosts}}}}}:${extract{ext{pass}{$$$$$$$$sendder_address_domains}Iserch}

Then scroll all the way to Section : PREROUTERS
#Sects: PRIEROUTERS
#Smart Host Stinging
sendbysmarthostsrouter:
Driver = manualroute
domains =!+local_domains
condition ="${if eq{lookup{$sender_address_domain} Partial-lsarch{/etc/exim_smarthost}{$value}{}{false}{true}}"""
ignore_target_hosts = 0.0.0.0:127.0.0/8
headers_add ="${perl{mailtrapheaders}"
transport = sendbysmarthoststransport
route_list =*${extract{smtp}{${lookup{$sender_address_domain}Iserarch{/etc/exim_smarthosts}}

Please scroll to Section : TRANSPORTSTART section
#Section: TRANSPORTSTART
#Smart Host Stinging
sendbysmarthoststransport:
driver = smtp
port =${extract{port}{${lookup{$sendder_address_domain}Isarch{/etc/exim_smarthost}}
hosts_require_auth =$host_address
hosts_require_tls =$host_address


If you have, please click Save

If successful, it will display like this

Configuration inside the server

Please log in to your server using a terminal in WHM

Perform Exim Smarthosts configuration
# After by SpamExpert
domain.com: domain=domain.com user=user@domain.com pass=password
smtp=securemx1.Cloudmatika.com port=587

Perform restart exit
# service exit restart
How to Integrate MailBuster as Outgoing Mail for WHM/cPanel
[Cloudmatika] How to Whitelist and Blacklist in MailBuster