[wplug] spamc through exim vs. manually

Eric esw148 at cawunited.com
Mon Apr 28 02:02:21 EDT 2008


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.


Spam info added from exim-invoked spamc:

Status: No, score=4.5 required=5.0 tests=RCVD_IN_PBL,RDNS_NONE,
        URIBL_BLACK,URIBL_JP_SURBL autolearn=no version=3.2.1
------------------------------------------------------------------------------------------------------------------------------------------


Spam information added when I run `cat ./emailmessage | /usr/bin/spamc`:
Content analysis details:   (6.0 points, 5.0 required)

 pts rule name              description
---- ---------------------- --------------------------------------------------
 2.2 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net
 2.0 URIBL_BLACK            Contains an URL listed in the URIBL blacklist
 0.5 RCVD_IN_PBL            RBL: Received via a relay in Spamhaus PBL
 2.9 URIBL_JP_SURBL         Contains an URL listed in the JP SURBL blocklist
 0.1 RDNS_NONE              Delivered to trusted network by a host with no rDNS
-1.6 AWL                    AWL: From: address is in the auto white-list
------------------------------------------------------------------------------------------------------------------------------------------------------------


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.

the lines in exim that invoke spamc is:  

driver = pipe
transport_filter = /usr/bin/spamc


And I run it manually like:   cat ./emailmessage | /usr/bin/spamc

Anyone have any ideas on what the problem could be?

Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.wplug.org/pipermail/wplug/attachments/20080428/b7033531/attachment.html 


More information about the wplug mailing list