Introduction
This article provides the procedure to suspend email for a domain.
Procedure
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- Run the following commands.
touch /etc/blockeddomains
echo "$domain.tld" >> /etc/blockeddomains
Please note that "$domain.tld" must be replaced by the domain to block. - Log into WHM as the ‘root’ user.
- Navigate to "Home / Service Configuration / Exim Configuration Editor."
- Click the "Advanced Editor" tab.
- Scroll down to the "Add additional configuration setting" button.
- Click the "Add additional configuration setting" button.
- Select "domainlist blocked_outgoing" from the newly created dropdown menu.
- Enter the following in the textbox to the right of "domainlist blocked_outgoing."
lsearch;/etc/blockeddomains
- Scroll down to "custom_begin_outgoing_notsmtp_checkall" in "Section:ACLs."
- Add the following to the "custom_begin_outgoing_notsmtp_checkall" textbox.
discard
sender_domains = +blocked_domains
message = Message from $sender_address_domain is manually blacklisted. - Scroll to the bottom of the page.
- Click the "Save" button.
Comments
0 comments
Article is closed for comments.