<!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.&nbsp; I'm running on 
a gentoo box with exim and spamassassin. When spamc&nbsp;invoked from within 
exim, some messages are marked as not spam, but when&nbsp;I run the command 
manually on the message, it is marked as spam.&nbsp; Here are the results of one 
message.</FONT></DIV>
<DIV>
<DIV>
<DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Spam&nbsp;info added from exim-invoked 
spamc:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Status: No, score=4.5 required=5.0 
tests=RCVD_IN_PBL,RDNS_NONE,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
URIBL_BLACK,URIBL_JP_SURBL autolearn=no 
version=3.2.1<BR>------------------------------------------------------------------------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</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:&nbsp;&nbsp; (6.0 points, 
5.0 required)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;pts rule 
name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
description<BR>---- ---------------------- 
--------------------------------------------------<BR>&nbsp;2.2 
RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net<BR>&nbsp;2.0 
URIBL_BLACK&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Contains an URL listed in the URIBL blacklist<BR>&nbsp;0.5 
RCVD_IN_PBL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
RBL: Received via a relay in Spamhaus PBL<BR>&nbsp;2.9 
URIBL_JP_SURBL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Contains an URL 
listed in the JP SURBL blocklist<BR>&nbsp;0.1 
RDNS_NONE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Delivered to trusted network by a host with no rDNS<BR>-1.6 
AWL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
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>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>It seems that this rule: RCVD_IN_BL_SPAMCOP_NET 
RBL&nbsp;&nbsp; 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>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>the lines in exim that invoke spamc is:&nbsp; 
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>And I run it manually like:&nbsp;&nbsp; cat 
./emailmessage | /usr/bin/spamc</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</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>&nbsp;</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>&nbsp;</DIV></FONT></DIV></BODY></HTML>