Spamassassin Problem

i have been noticing that n my server i am receiving alot of spam. i looked at the headers of the messages and it doesn’t say anywhere SPAM-X. i looked here on this site and it says that it could be a mis- configuration in spamassassin or procmail and not in postfix if i am correct. what are the default setting so i can possibly reset spamassassin because i issued a few commands to see if it was running at all and it is but it is just not scanning any mail it is just going straight trough to my mailboxes. i suspect that it may have something to do with the procmail spam delivery settings but i dont know. any help would be appreciated.

I dont know if it helps. but i am running CentOS 4.6 . i have read in the big reports something about this but i dont understand exactly what there trying to do. could someone tell me if these kinds of problems would be fixed if i upgrade to cent os 5.1 ?

Hi there,

Can you verify that the anti-spam goodies are enabled?

Once you log into Virtualmin, click "System Settings" on the left, and choose "Features and Plugins".

You’ll see “Spam filtering” mentioned there, along with a link to the right of that which shows you which domains Spam Filtering is enabled for.
-Eric

thanks for the reply and i looked trough it and it is enabled for all domains. i have looked trough the raw source of the e-mail and the spam filter is not attaching the spam header.

Return-Path: <fchavez09@siprep.org> X-Spam-Checker-Version: SpamAssassin 3.1.9 (2007-02-13) on lazernetwork.com X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=HTML_MESSAGE, HTML_SHORT_COMMENT,MPART_ALT_DIFF autolearn=no version=3.1.9 X-Original-To: jenriquez@johnenriquez.com Delivered-To: jenriquez@lazernetwork.com Received: from mail.siprep.org (mail.siprep.org [67.155.105.52]) by lazernetwork.com (Postfix) with ESMTP id 4FCE428822C for <jenriquez@johnenriquez.com>; Mon, 23 Jun 2008 11:26:18 -0700 (PDT) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C8D55E.A017FEBC" Subject: test Date: Mon, 23 Jun 2008 11:26:16 -0700 Message-ID: <22A517B1980D30449F1138ECB7678522029422B6@hermes.siprep.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: test Thread-Index: AcjVXqAVdtctxek5TEu23sslV0Q+VA== From: "Francisco A. Chavez '09" <fchavez09@siprep.org> To: <jenriquez@johnenriquez.com>

This is a multi-part message in MIME format.

------_=_NextPart_001_01C8D55E.A017FEBC
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

test test

------_=_NextPart_001_01C8D55E.A017FEBC
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7652.24">
<TITLE>test</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=3D2>test test</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C8D55E.A017FEBC–

i dont know if this helps but im just not getting the SPAM-X.

should i upgrade the os. im lost!

Well, first off, CentOS 4.6 is a supported distro, you definitely should not have to upgrade that, all the Virtualmin features should be available to you.

That said, check out the top of your email there, you’ll see the following 3 lines:

X-Spam-Checker-Version: SpamAssassin 3.1.9 (2007-02-13) on lazernetwork.com
X-Spam-Level:
X-Spam-Status: No, score=0.4 required=5.0 tests=HTML_MESSAGE, HTML_SHORT_COMMENT,MPART_ALT_DIFF autolearn=no version=3.1.9

I think it may have been X-Spam that you wanted to look for rather than Spam-X.

So I actually think SpamAssassin is alive and well on your server!
-Eric

X-Spam-Checker-Version: SpamAssassin 3.1.9 (2007-02-13) on lazernetwork.com X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=HTML_MESSAGE, HTML_SHORT_COMMENT,MPART_ALT_DIFF autolearn=no version=3.1.9

Those are the SpamAssassin headers. I’m not sure what “SPAM-X” headers are, but we wouldn’t expect to see them from SpamAssassin. :wink:

A newer version of SpamAssassin (as found on CentOS 5) might be worthwhile, but the most useful feature (the autolearning white/black list) is disabled on your system…turning it on is probably a good start on solving your spam troubles.

You can do that in the SpamAssassin module in Webmin:Servers, click on “Spam Classification” and set the “Use Bayesian learning classifier?” option to “Yes”. This is the default in newer versions of SpamAssassin (maybe because it got better at avoiding false positives, or maybe just because the developers are more comfortable with Bayesian filtering now…I’m not sure). It is a bit more work for your server, but it can lead to dramatic improvements in filtering.

You can also use the “Report spam” button in Usermin to train SpamAssassin to know more about what your personal spam looks like. (It’s also possible to train the system-wide spam filter, but that’s somewhat dangerous, as bayesian filtering behaves in interesting ways that most humans don’t grok–so it’d be very easy to train your systems filter to trash everyone’s mail other than yours).

wow i really appreciate that. i completely didn’t realize that i was ok all along. i think the reason why i got all worried about it because when i tested it i was expecting it to be down closer to the message. I clearly over looked it. thank you for your responses.