Koozali.org: home of the SME Server

Testing the RBL configuration in spamassassin

KBE

Testing the RBL configuration in spamassassin
« on: December 22, 2004, 07:58:34 PM »
I have installed the latest SME 6.0.1 and spamassassin using the script from http://sme.swerts-knudsen.dk it seems to be working but my question is that i have install 2 servers and 1 system is registering 900+/- spams identified and moved to Junk Mail and 0 caught by the RBL list.  The other system installed the same way at a different site (geographically) has 100+/- spams identified and move to junk mail and another 100+/- blocked by the RBL list.

My question is how can I verify that the RBL is functioning correctly on the first site?  I would think that I would have some, ok any, blocked spam emails by the RBL function at the first site..

I have looked around and have not found any information on testing this functionality or even where to look in logs to verify that this is indeed working and maybe just not registering as a block from the RBL list.  The report shows that 100% is spam filter and 0% is the RBL listing.  That just does not sound right when the second site seems to be about even on how the spam was filtered and how many was blocked by the RBL list.

Thanks
Keith

bigbri100

Testing the RBL configuration in spamassassin
« Reply #1 on: December 22, 2004, 08:36:20 PM »
grep rblsmtpd /var/log/smtpfront-qmail/current

Run locally or from SSH terminal.

KBE

Testing the RBL configuration in spamassassin
« Reply #2 on: December 23, 2004, 12:47:58 AM »
I get a prompt back no informarion...

Offline psoren

  • *
  • 371
  • +0/-0
Testing the RBL configuration in spamassassin
« Reply #3 on: December 23, 2004, 01:36:23 AM »
Quote from: "KBE"
I get a prompt back no informarion...


That means none detected on the blacklists.

I am running a few servers, and i see this behaviour too. I think i depends on your ISP. Maybe they do some blocking too. Does your two servers have different ISP's?

Per

KBE

Testing the RBL configuration in spamassassin
« Reply #4 on: December 23, 2004, 03:31:54 AM »
Well yes they are different ISPs but i dont believe that   they are blocking because the filter has caught 900+ spams. i would think that one of these would be on the RBL list, and i dont think that port 2703 is blocked.

Is there a way of testing this feature? a test script or a test email or something?

Thx
Keith

bigbri100

Testing the RBL configuration in spamassassin
« Reply #5 on: December 23, 2004, 04:50:50 AM »
Add dynablock.njabl.org to your list of RBLS.

Send yourself an email from a Dynamic IP Address.

This RBL will block anything sent from a Dynamic IP Address.

mbachmann

Testing the RBL configuration in spamassassin
« Reply #6 on: December 23, 2004, 09:03:40 AM »
RBL's very rarely will catch an an email - in my network setting. As i installed it at set sbl.spamhaus.org i also thought it would not work. Then one day checking the Spam Filter statistics report it said: RBL rejected: 1.

Offline kruhm

  • *
  • 680
  • +0/-0
Testing the RBL configuration in spamassassin
« Reply #7 on: April 10, 2005, 04:21:06 AM »
Just as a follow up to this topic, I agree that the RBL on the spamassassin rarely catchings anything (and load up the dnscache logs quickly).

However, the RBL on smtpfront works beautifully!
(It took me awhile to discover these are two seperate items). Follow the HOWTO here:
http://no.longer.valid/mylinks/singlelink.php?cid=114&lid=419

Then check if it working:
grep rblsmtpd /var/log/smtpfront-qmail/current

NOTE: this doesn't work on mail from fetchmail