<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6001.18023" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2><FONT face=Arial size=2><FONT face=Arial
size=2><FONT face=Arial size=2>I have a problem with spamc. I'm running on
a gentoo box with exim and spamassassin. When spamc invoked from within
exim, some messages are marked as not spam, but when I run the command
manually on the message, it is marked as spam. Here are the results of one
message.</FONT></DIV>
<DIV>
<DIV>
<DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Spam info added from exim-invoked
spamc:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Status: No, score=4.5 required=5.0
tests=RCVD_IN_PBL,RDNS_NONE,<BR>
URIBL_BLACK,URIBL_JP_SURBL autolearn=no
version=3.2.1<BR>------------------------------------------------------------------------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Spam information added when I run `cat
./emailmessage | /usr/bin/spamc`:</FONT></DIV>
<DIV><FONT face=Arial size=2>Content analysis details: (6.0 points,
5.0 required)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> pts rule
name
description<BR>---- ----------------------
--------------------------------------------------<BR> 2.2
RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net<BR> 2.0
URIBL_BLACK
Contains an URL listed in the URIBL blacklist<BR> 0.5
RCVD_IN_PBL
RBL: Received via a relay in Spamhaus PBL<BR> 2.9
URIBL_JP_SURBL Contains an URL
listed in the JP SURBL blocklist<BR> 0.1
RDNS_NONE
Delivered to trusted network by a host with no rDNS<BR>-1.6
AWL
AWL: From: address is in the auto white-list<BR></FONT><FONT face=Arial
size=2>------------------------------------------------------------------------------------------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>It seems that this rule: RCVD_IN_BL_SPAMCOP_NET
RBL is missing in the exim-invoked one, and it also seems that
they're getting different amounts of points.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>the lines in exim that invoke spamc is:
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>driver = pipe</FONT></DIV>
<DIV><FONT face=Arial size=2>transport_filter = /usr/bin/spamc<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>And I run it manually like: cat
./emailmessage | /usr/bin/spamc</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Anyone have any ideas on what the problem could
be?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Eric</DIV></FONT></FONT><FONT face=Arial
size=2><FONT face=Arial size=2></DIV></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></FONT></DIV></BODY></HTML>