Quantcast
Channel: iRedMail — iRedMail Support
Viewing all articles
Browse latest Browse all 43471

Trouble with spam (dsnbl spamhaus)

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
Latest version
- Deployed with iRedMail Easy or the downloadable installer?
iRedMail Easy
- Linux/BSD distribution name and version:
Debian 12
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
MariaDB
- Web server (Apache or Nginx):
Nginx
- Manage mail accounts with iRedAdmin-Pro?
iRedAdmin-Pro-SQL

- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====


Hello,

I am currently testing the server before its deployment into production. I visited the website https://blt.spamhaus.com to verify if the server is correctly configured to utilize the Spamhaus blocklist. After testing, I received emails with messages like this:

"This is a Spamhaus BLT public SMTP-test email which has been crafted to be blocked by properly configured mail systems. If you're reading this then your MX is not properly configured for the dbl-pub-from test; please see the BLT documentation at https://blt.spamhaus.com/docs for tips on configuring your MX."

It appears that I did not pass any of the 7 tests, as the server allowed through all emails that should have been blocked.

As mentioned earlier, the server was installed using iRedMail Easy. I edited the file /opt/iredmail/custom/postfix/custom.sh with the following line:

postconf -e postscreen_dnsbl_sites='zen.spamhaus.org=127.0.0.[2..11]*3 b.barracudacentral.org=127.0.0.2*2 bl.spamcop.net'

I then ran sudo /bin/bash custom.sh and checked /etc/postfix/main.cf to ensure everything was correct.

Despite configuring the DNSBL sites, I am still unable to pass any of the tests, and all spam emails are being accepted. What am I doing wrong?
Thank you in advance


Viewing all articles
Browse latest Browse all 43471

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>