Skip to content
  • About
  • Contact
  • Docs
  • Features
  • Home

Configurations

5
  • Setup RAID Level 6
  • Setup RAID Level 5
  • How To Add Swap on RHEL or Centos based system
  • Website Migration to Non-Panel OpenLiteSpeed Server
  • Linux Server Performance Tuning

CyberPanel

9
  • Mounting /tmp on a Separate File
  • Updating CyberPanel Main VirtualHost Configuration
  • Updating CyberPanel vHosts Configuration
  • How to Change CLI PHP on CyberPanel
  • How to Update PHP Version to 8.1 in CyberPanel (From 7.3, 7.4, or 8.0)
  • CyberPanel Server Cleanup: Logs, Dumps, Backups
  • CyberPanel Full LSPHP Installation PHP 7.4 – 8.3
  • CyberPanel / OpenLiteSpeed: Clean LSPHP Session Files
  • SSL Certificate Management in CyberPanel via SSH

Hestia Control Panel

6
  • Fixing Email Bounce Back Issue in Hestia (Exim4 Blacklist Rejection)
  • Managing Fail2Ban in HestiaCP Server
  • Installing and Configuring PHP Versions in HestiaCP
  • phpMyAdmin Not Found in HestiaCP
  • Setting Up a Reverse Proxy for any Port in HestiaCP
  • How to Install Let’s Encrypt SSL in Hestia CP (Hostname, Admin Panel, and Email Server)

WHM/cPanel

6
  • Setting Up a Reverse Proxy on cPanel/WHM for Port 8081
  • How to increase the size of the cPanel-generated /tmp filesystem
  • Installing Old PHP Versions on a cPanel/WHM Server
  • Fixing “550: Your Country is Not Allowed to Connect to This Server” Error in Exim (cPanel)
  • Enable WP-CLI in CageFS on CloudLinux Servers (WHM/cPanel)
  • Securing /tmp and /var/tmp with a Dedicated Loopback Filesystem

Nagios

5
  • Service Checks
  • Uptime Checks
  • Disk Space Checks
  • Load Checks
  • Email Related Checks

WordPress

3
  • WordPress Core Reinstallation Guide
  • Managing WordPress Users via WP-CLI
  • Website Duplication, Migration, or Domain Change

Operating System

1
  • Server Reboot (RHEL or Centos based system)

AWS

1
  • How to Resize EBS Volumes on AWS

Databases

2
  • MySQL
    • Optimizing MySQL Performance
    • Recovering MySQL in Plesk When InnoDB Crashes

CloudLinux

4
  • Moving cagefs-skeleton directory
  • Enable WP-CLI in CageFS on CloudLinux Servers (WHM/cPanel)
  • Enable bc in CageFS on CloudLinux Servers(WHM/cPanel)
  • How to Upgrade MySQL 5.x to MySQL 8.0 on CloudLinux (WHM server) with MySQL Governor

Cloudflare

1
  • Configuring Security Headers in Cloudflare

ISPmanager

1
  • Install Free SSL (Let’s Encrypt) for domain.tld on ISPmanager with NGINX

Plesk

1
  • Plesk Admin Login Blocked – IP Restriction Recovery Guide

VPN

4
  • Install OpenVPN Open Source in Linux CentOS Ubuntu Debian Servers
  • Protected: OpenVPN Installation & Fix Wiki (CloudLinux / CentOS 7 & 8)
  • Outline VPN Installation & Management Guide
  • Installing AdGuard Home on Debian/Ubuntu (Docker)
View Categories
  • Home
  • Docs
  • Hestia Control Panel
  • Fixing Email Bounce Back Issue in Hestia (Exim4 Blacklist Rejection)

Fixing Email Bounce Back Issue in Hestia (Exim4 Blacklist Rejection)

Fixing Email Bounce Back Issue in Hestia (Exim4 Blacklist Rejection)

Issue
Emails are bouncing back due to Exim4 rejecting senders that are listed in Spamhaus. The error message in the log shows:

SNI=mail.aurumcapinvest.com F= domain rejected RCPT test@domain: Rejected because 209.85.221.42 is in a black list at zen.spamhaus.org

This happens because Exim4 is checking sender IPs against a DNS-based blacklist (DNSBL).

Solution: Disable DNS Blacklist Checks in Exim4

1. Check the Exim4 Log for Errors
Run the following command to monitor live logs and confirm the error:
tail -f /var/log/exim4/mainlog

Look for rejection messages related to `zen.spamhaus.org` or other blacklists.

2. Edit Exim4 Configuration File
Open the Exim4 configuration template:
vi /etc/exim4/exim4.conf.template

Locate the following section and comment out the blacklist check:

# deny message = Rejected because $sender_host_address is in a black list at $dnslist_domain\n$dnslist_text # hosts = !+whitelist # dnslists = ${readfile {/etc/exim4/dnsbl.conf}{:}}

– This prevents Exim4 from rejecting emails based on blacklists.

3. Save the File and Exit

Press `Esc`, then type `:wq` and press `Enter` to save and exit `vi`.

4. Update Exim4 Configuration
Run the following command to apply the changes:
update-exim4.conf
5. Restart Exim4
Restart the mail server to apply the changes:
systemctl restart exim4
Verification
1. Send a test email and check if it is successfully delivered.
2. Monitor logs to ensure emails are no longer rejected:
tail -f /var/log/exim4/mainlog

Conclusion
By disabling the DNS blacklist check in Exim4, emails will no longer be rejected based on Spamhaus listings. However, keep in mind that this reduces spam protection, so consider implementing other spam filters like SpamAssassin or RBL scoring  instead of outright rejection.

Table of Contents
  • 1. Check the Exim4 Log for Errors Run the following command to monitor live logs and confirm the error:
  • 2. Edit Exim4 Configuration File Open the Exim4 configuration template:
  • 4. Update Exim4 Configuration Run the following command to apply the changes:
  • 5. Restart Exim4 Restart the mail server to apply the changes:
    • Verification 1. Send a test email and check if it is successfully delivered. 2. Monitor logs to ensure emails are no longer rejected:

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest

Was it helpful ?

  • Happy
  • Normal
  • Sad
  • About
  • Contact
  • Docs
  • Features
  • Home

© 2026 Panel Web Hosting

  • About
  • Contact
  • Docs
  • Features
  • Home