How long is the message in question?  Spamc won't process long messages.  Also, add the "-f" flag to spamc, there might be some network failure happening somewhere.  Also, I'd suggest getting the latest CVS version of spamassassin.  Release of 2.0 is probably coming very soon now, and this fixes huge numbers of bugs while adding a lot of features.

C

On Sun, 2002-01-20 at 10:31, dman wrote:
I've been trying out spamassassin ("spamassassin -P") for a few days
now.  It is really cool, but I managed to nearly kill my system when
my filter caused an infinite loop of error messages (I had like 8 or
so spamassassin processes running simultaneously).  I looked at the
docs for spamc/spamd and started spamd running.  I can "scan" a
message using spamc, but many messages that "spamassassin -P" catches
easily, spamc reports as flagging no tests.  For example, here's the
result from one such message

$ cat 1011540635.15043.dman.ddts.net | spamc | egrep "X-Spam|SPAM:"
X-Spam-Status: No, hits=0 required=5 tests=

$ cat 1011540635.15043.dman.ddts.net | spamassassin -P | egrep "X-Spam|SPAM:"
X-Spam-Status: Yes, hits=24 required=5 tests=NO_REAL_NAME,PLING,HTML_WITH_
X-Spam-Flag: YES
X-Spam-Prev-Content-Type: text/html; charset=US-ASCII
SPAM: -------------------- Start SpamAssassin results ----------------------
SPAM: Content analysis details:   (24.3 hits, 5 required)
SPAM: Hit! (1.2 points)  From: does not include a real name
SPAM: Hit! (0.8 points)  Subject has an exclamation mark
SPAM: Hit! (1.2 points)  BODY: HTML mail with non-white background
SPAM: Hit! (3.8 points)  BODY: /to (?:be removed|be deleted|no longer receive th(?:is|ese) messages?) (?:from|send|reply|[e-]*mail)/i
SPAM: Hit! (2.7 points)  BODY: URL of page called "remove"
SPAM: Hit! (2.5 points)  BODY: Link to a URL containing "remove"
SPAM: Hit! (3.3 points)  BODY: /click here.{0,100}<\/a>/is
SPAM: Hit! (2 points)    BODY: Image tag with an ID code to identify you
SPAM: Hit! (3 points)    Listed in Razor, see http://razor.sourceforge.net/
SPAM: Hit! (1.8 points)  From and To the same address
SPAM: Hit! (2 points)    Received via a relay in relays.osirusoft.com
SPAM:                    [RBL check: found relay 230.136.76.211.relays.osirusoft.com.]
SPAM:
SPAM: -------------------- End of SpamAssassin results ---------------------


My syslog has this relevant info in it :

Jan 20 13:28:13 dman spamd[11306]: connection from dman.ddts.net [127.0.0.1 ] at port 35591
Jan 20 13:28:13 dman spamd[15800]: processed successfully for dman:1000 in   0 seconds.


What is wrong with spamc/spamd?  I've tried spamd both with and
without the "-d" option and spamc with no options.


BTW, the performance of 'spamc' does match the claims :

real    0m0.055s
user    0m0.000s
sys     0m0.000s

compared to

real    0m1.440s
user    0m0.720s
sys     0m0.080s

TIA!
-D

-- 

Commit to the Lord whatever you do,
and your plans will succeed.
        Proverbs 16:3


_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk


Reply via email to