Hello,
I recently installed Spamassassin 3.1.0 on a Debian Linux. I used the
apt-get method of installing the binary and the needed support files. I
am running spamassassin as spamd. I am invoking spamd with the Debian
spamc client invoked via .procmailrc. I am using Sendmail as my local
mailer, Pine as my client.
The problem I am running into is somewhat interesting, and yet I can seem
to find an exact match of similar topics via google or the FAQ's/List,
etc.
I have set my local.cf to look for a hit score of 7.0 or higher. I am
receiving email and spamd is processing it as spam, attaching a score, and
adding the default message at the top of the email (Email has been tagged
as possible spam by the system...or whatever). However, the Subject
rewrite is not getting performed. For some emails, the rewrite occurs,
but not all of them.
Example of the Subject being rewritten:
Received: from localhost by stuttgart.feger.net
with SpamAssassin (version 3.1.0);
Thu, 01 Dec 2005 05:36:20 -0600
From: "Ellis Donaldson" <[EMAIL PROTECTED]>
To: undisclosed-recipients:;
Subject: [SPAM] =?ISO-8859-1?B?R29vZCBkYXk=?=
Date: Thu, 01 Dec 2005 10:28:46 +0000
Message-Id: <[EMAIL PROTECTED]>
X-Spam-Flag: YES
X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on
stuttgart.feger.net
X-Spam-Level: **********************
X-Spam-Status: Yes, score=22.5 required=7.0 tests=FUZZY_REFINANCE,
RATWARE_NAME_ID,SPF_FAIL,SPF_HELO_PASS,SUBJECT_EXCESS_BASE64,
UNDISC_RECIPS,URIBL_AB_SURBL,URIBL_JP_SURBL,URIBL_OB_SURBL,URIBL_SBL,
URIBL_SC_SURBL,URIBL_WS_SURBL autolearn=no version=3.1.0
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----------=_438EE034.02066030"
Parts/Attachments:
1 Shown 42 lines Text
2 OK 3 KB Message, "original message before SpamAssassin"
2.1 Shown 6 lines Text
2.2 Shown 28 lines Text
----------------------------------------
</snip>
Example of not being re-written:
Received: from localhost by stuttgart.feger.net
with SpamAssassin (version 3.1.0);
Thu, 01 Dec 2005 05:53:09 -0600
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: headline news
Date: Thu, 1 Dec 2005 19:49:52 +0900
Message-Id: <[EMAIL PROTECTED]>
X-Spam-Flag: YES
X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on
stuttgart.feger.net
X-Spam-Level: **********
X-Spam-Status: Yes, score=10.1 required=7.0 tests=HTML_IMAGE_ONLY_08,
HTML_MESSAGE,MIME_HTML_ONLY,NO_REAL_NAME,RCVD_IN_BL_SPAMCOP_NET,
RCVD_IN_XBL,RCVD_NUMERIC_HELO,SPF_NEUTRAL autolearn=no version=3.1.0
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----------=_438EE425.6E2DE4F1"
Parts/Attachments:
1 Shown 34 lines Text
2 OK 23 KB Message, "original message before SpamAssassin"
2.1 Shown ~19 lines Text (charset: ISO-8859-1)
2.2 16 KB Image
</snip>
Something else to note, my DALnet email appears to get the subject rewrite
very often, wheras the email falling through to default does not. This is
also happening on my wife's email account, which only has the SA config in
her .procmailrc, not folder sorting options.
Any ideas?
Here is my .procmailrc
SHELL=/bin/bash #Use the Bourne shell (check your path!)
MAILDIR=${HOME}/mail #First check what your mail directory is!
LOGFILE=${HOME}/.procmail.log
LOG="--- Logging ${LOGFILE} for ${LOGNAME}, "
#Spamassassin start
:0fw: spamassassin.lock
| /usr/bin/spamc
#Spamassassin end
# ************DALnet email************
:0
* [EMAIL PROTECTED]
dalnet
# ************************************
# ************DALnet email************
:0
* [EMAIL PROTECTED]
dalnet
# ************************************
# *********Default Rule************
:0:
${DEFAULT}
# *********************************
Thanks again,
James