Joeri Belis wrote: > setup : > [EMAIL PROTECTED]:/tmp$ spamc -V > SpamAssassin Client version 3.1.7 > compiled with SSL support (OpenSSL 0.9.8c 05 Sep 2006) > > i get totaly different scores when i run spamc from the commandline as > vpopmail user as when i run i from procmail also as vpopmail user. > > Here are some outputs > > run from procmail as vpopmail user > X-Spam-Status: No, score=-2.4 required=3.4 > tests=ADVANCE_FEE_1,AWL,BAYES_00 > autolearn=ham version=3.1.7 > > run from cmd line as vpopmail user > X-Spam-Status: No, score=3.2 required=3.4 > tests=ADVANCE_FEE_1,ADVANCE_FEE_2, > BAYES_00,MISSING_HB_SEP,MISSING_SUBJECT,NO_RECEIVED,NO_RELAYS, > TO_CC_NONE autolearn=no version=3.1.7 > > what makes the the difference between running it from procmail or > running it on the commandline. > 1) i am 99% sure it is run as the same user
As a more expansive response, but along the same lines as Theo, are you sure that you're feeding the WHOLE message when you run on the command line? The extra rule hits imply there's no headers, and that you're scanning body-text only, or at least there's nothing that SA can recognize as properly formed headers.