Having a bit of trouble with Spam Assassin. Here's the system specs.
Solaris 8
Perl 5.6.1
SpamAssassin 2.43
Local.cf contains:
rewrite_subject 1
report_header 0
The raw message being submitted is:
To: <[EMAIL PROTECTED]>
From: XXX <[EMAIL PROTECTED]>
Subject: Subject
X-Broadcast-ID: 7
X-Sent-To: [EMAIL PROTECTED]
MIME-Version: 1.0
Content-Type: multipart/alternative; charset=us-ascii;
boundary="This_is_the_boundary_hip_ho"
Content-Transfer-Encoding: 7bit
--This_is_the_boundary_hip_ho
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
You appear to be using an email application that won't properly
display the graphical (or HTML) version of our message.
--This_is_the_boundary_hip_ho
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<HTML>
<BODY>
<H3>Some content...</H3>
</BODY>
</HTML>
--This_is_the_boundary_hip_ho--
The problem is, when I call spam assassin as follows:
bash-2.03# spamassassin -D < SpamAssn_I4aGvK
I get this debug output
debug: using "/usr/local/share/spamassassin" for default rules dir
debug: using "/etc/mail/spamassassin" for site rules dir
debug: using "//.spamassassin" for user state dir
debug: using "//.spamassassin/user_prefs" for user prefs file
debug: is Net::DNS::Resolver unavailable? 0
debug: trying (3) microsoft.com...
debug: looking up MX for 'microsoft.com'
debug: MX for 'microsoft.com' exists? 1
debug: MX lookup of microsoft.com succeeded => Dns available (set
dns_available to hardcode)
debug: is DNS available? 1
debug: running header regexp tests; score so far=0
debug: running body-text per-line regexp tests; score so far=1.4
debug: check_for_very_long_text: found 303 bytes
debug: check_for_very_long_text: found 303 bytes
debug: spam-phrase score: 0: hits:
debug: running raw-body-text per-line regexp tests; score so far=2.2
debug: running uri tests; score so far=2.2
debug: uri tests: Done uriRE
debug: running full-text regexp tests; score so far=2.2
debug: Razor2 is not available
debug: DCC is not available: dccproc not found
debug: Razor1 is not available
debug: Pyzor is not available: pyzor not found
debug: DNS MX records found: 1
debug: running meta tests; score so far=2.2
debug: is spam? score=2.2 required=5
tests=DATE_MISSING,SPAM_PHRASE_00_01,TO_MALFORMED
and these headers are inserted
X-Spam-Status: No, hits=2.2 required=5.0
tests=DATE_MISSING,SPAM_PHRASE_00_01,TO_MALFORMED
version=2.43
X-Spam-Level: **
Problem is, that I specify a subject rewrite...which doesn't happen,
nor is the report placed in the body.
So local.cf doesn't seem to be getting used at all. Also, when I
access the same message using the same command, but called from a PHP
script, I get incorrect responses (assuming I use the -t flag, so that
I can see some report regardless). Specifically, SA seems to think
I've got a missing subject field.
Any thoughts?
---
Jason Winchell
UNIX Systems Administrator
-------------------------------------------------------
This sf.net email is sponsored by:
To learn the basics of securing your web site with SSL,
click here to get a FREE TRIAL of a Thawte Server Certificate:
http://www.gothawte.com/rd522.html
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk
- Re: [SAtalk] SA Woes Jason Winchell
- Re: [SAtalk] SA Woes Theo Van Dinter