Re: Spamc not working, spamassassin is.

2006-11-05 Thread Ron Gage

Matt Kettler wrote:

Ron Gage wrote:
  

Help!

I am trying to get spamassassin 3.1.7 working with net-qmail 1.05 and
vpopmail 5.4.16.  It's not going too well.

I have the QMAILQUEUE patch applied and am using the
qmail-scanner-queue.pl script in an attempt to get spamassassin working.

The juxt of the problem: scanc is reporting all emails back with a
score of 0, where if I send the same email through spamassassin
itself, the email gets scored properly.

I am running scanc with no options.  scand is running with the
following options: -d -C /etc/mail/spamassassin -m 5 -v -u qscand
--nouser-config



Please remove that -C /etc/mail/spamassassin from your spamd command line.

-C should have the DEFAULT rules directory, not the site rules directory.

By adding that, you're effectively eliminating /usr/share/spamassassin
from your configuration.

  

This appears to have done it.  Thank you VERY much!

Ron


Re: Spamc not working, spamassassin is.

2006-11-05 Thread Matt Kettler
Ron Gage wrote:
> Help!
>
> I am trying to get spamassassin 3.1.7 working with net-qmail 1.05 and
> vpopmail 5.4.16.  It's not going too well.
>
> I have the QMAILQUEUE patch applied and am using the
> qmail-scanner-queue.pl script in an attempt to get spamassassin working.
>
> The juxt of the problem: scanc is reporting all emails back with a
> score of 0, where if I send the same email through spamassassin
> itself, the email gets scored properly.
>
> I am running scanc with no options.  scand is running with the
> following options: -d -C /etc/mail/spamassassin -m 5 -v -u qscand
> --nouser-config

Please remove that -C /etc/mail/spamassassin from your spamd command line.

-C should have the DEFAULT rules directory, not the site rules directory.

By adding that, you're effectively eliminating /usr/share/spamassassin
from your configuration.



Re: Spamc not working, spamassassin is.

2006-11-05 Thread Ron Gage

François Rousseau wrote:
Can you copy/paste your header here please?  The one with spamd and 
the one with spamassassin .



[EMAIL PROTECTED]:~/.cpan/build/Mail-SpamAssassin-3.1.7# spamc < sample-spam.txt
X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on
   host-l1.mi-connect.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required-5.0 tests=none autolearn=unavailable
   version=3.1.7
X-Spam-Report:
Subject: Test spam mail (GTUBE)
Message-ID: <[EMAIL PROTECTED]>
Date: Wed, 23 Jul 2003 23:30:00 +0200
From: Sender <[EMAIL PROTECTED]>
To: Recipient <[EMAIL PROTECTED]>
Precedence: junk
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


[EMAIL PROTECTED]:~/.cpan/build/Mail-SpamAssassin-3.1.7# spamassassin < 
sample-spam.txt

X-Spam-Flag: YES
X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on
   host-l1.mi-connect.com
X-Spam-Level: **
X-Spam-Status: Yes, score=999.3 required-5.0 tests=AWL,GTUBE,NO_RECEIVED,
   NO_RELAYS autolearn=no version=3.1.7
X-Spam-Report:
   * -0.0 NO_RELAYS Informational: message was not relayed via SMTP
   * 1000 GTUBE BODY: Generic Test for Unsolicited Bulk Email
   * -0.0 NO_RECEIVED Informational: message has no Received headers
   * -0.7 AWL AWL: From: address is in the auto white-list
Subject: 1 Test spam mail (GTUBE)
Message-ID: <[EMAIL PROTECTED]>
Date: Wed, 23 Jul 2003 23:30:00 +0200
From: Sender <[EMAIL PROTECTED]>
To: Recipient <[EMAIL PROTECTED]>
Precedence: junk
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Spam-Prev-Subject: Test spam mail (GTUBE)






2006/11/5, Ron Gage <[EMAIL PROTECTED] >:

Help!

I am trying to get spamassassin 3.1.7 working with net-qmail 1.05 and
vpopmail 5.4.16.  It's not going too well.

I have the QMAILQUEUE patch applied and am using the
qmail-scanner-queue.pl script in an attempt to get spamassassin
working.

The juxt of the problem: scanc is reporting all emails back with a
score
of 0, where if I send the same email through spamassassin itself, the
email gets scored properly.

I am running scanc with no options.  scand is running with the
following
options: -d -C /etc/mail/spamassassin -m 5 -v -u qscand
--nouser-config

The headers are being added to emails as they pass through, but every
email scores at 0.0 - even the gtube email.

If I run spamc < /root/.cpan/Mail-SpamAssassin-3.1.7/sample-spam.txt -
it comes back with a score of 0.0.  If I run spamassassin <
/root/.cpan/Mail-SpamAssassin-3.1.7/sample-spam.txt, it comes back
with
a score of 998.5.

I am not seeing any indications of errors in /var/log/maillog or
anywhere else.  spamassassin --lint reports nothing.

What am I doing wrong here?

ROn






Re: Spamc not working, spamassassin is.

2006-11-05 Thread François Rousseau
Can you copy/paste your header here please?  The one with spamd and the one with spamassassin .2006/11/5, Ron Gage <[EMAIL PROTECTED]>:
Help!I am trying to get spamassassin 3.1.7 working with net-qmail 1.05 and
vpopmail 5.4.16.  It's not going too well.I have the QMAILQUEUE patch applied and am using theqmail-scanner-queue.pl script in an attempt to get spamassassin working.The juxt of the problem: scanc is reporting all emails back with a score
of 0, where if I send the same email through spamassassin itself, theemail gets scored properly.I am running scanc with no options.  scand is running with the followingoptions: -d -C /etc/mail/spamassassin -m 5 -v -u qscand --nouser-config
The headers are being added to emails as they pass through, but everyemail scores at 0.0 - even the gtube email.If I run spamc < /root/.cpan/Mail-SpamAssassin-3.1.7/sample-spam.txt -it comes back with a score of 
0.0.  If I run spamassassin