[qmailtoaster] spamassassin inconsistent points in mail queue and in console

2008-04-04 Thread Janno Sannik
I'm tightening up spam protection and I have a weird mismatch between 
points.



By running from console:
su vpopmail -c spamassassin -t  spammail.eml

it outputs this:

Content analysis details:   (7.0 points, 5.0 required)

pts rule name  description
 -- 
--

0.0 DK_POLICY_SIGNSOME Domain Keys: policy says domain signs some mails
2.0 BAYES_80   BODY: Bayesian spam probability is 80 to 95%
   [score: 0.8157]
4.0 RCVD_IN_UCEPROTECT1RBL: Received via a blocked site in
   dnsbl-1.uceprotect.net
   [82.104.30.169 listed in dnsbl-1.uceprotect.net]
1.0 RCVD_IN_UCEPROTECT3RBL: Received via a blocked site in
   dnsbl-3.uceprotect.net
   [82.104.30.169 listed in dnsbl-3.uceprotect.net]

But mail in my inbox shows this:

X-Spam-Status: No, score=2.4 required=5.0 tests=BAYES_00,DK_POLICY_SIGNSOME,
RCVD_IN_UCEPROTECT1,RCVD_IN_UCEPROTECT3 autolearn=no version=3.1.8


Very interesting is the fact that it sees this email as BAYES_00, and in 
console test it recognises it as BAYES_80. Seems like in this case 
BAYES_00 probably gives negative value (-2.6 I presume) and that's why 
it doesn't get to the required 5.0 value. For info, this spam letter is 
very common and is very similar to bunch of others that have been 
learned manually before and that also have been identified correctly as 
spam in past. What could be the problem?


This is kinda spamassassin specific, but does anyone know if it's 
possible to configure that spamassassin puts scoretable into header, 
even thou it didn't exceed required hits (default 5.0).





-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] spamassassin inconsistent points in mail queue and in console

2008-04-04 Thread Eric Shubert
You're not accessing the vpopmail bayes database from the console. Either
add the -l parameter to the su command, or add:
bayes_path /home/vpopmail/.spamassassin/bayes
to your /etc/mail/spamassassin/local.cf file. I'd recommend the later, so
this won't be a problem again (permanent fix).

Janno Sannik wrote:
 I'm tightening up spam protection and I have a weird mismatch between
 points.
 
 
 By running from console:
 su vpopmail -c spamassassin -t  spammail.eml
 
 it outputs this:
 
 Content analysis details:   (7.0 points, 5.0 required)
 
 pts rule name  description
  --
 --
 0.0 DK_POLICY_SIGNSOME Domain Keys: policy says domain signs some mails
 2.0 BAYES_80   BODY: Bayesian spam probability is 80 to 95%
[score: 0.8157]
 4.0 RCVD_IN_UCEPROTECT1RBL: Received via a blocked site in
dnsbl-1.uceprotect.net
[82.104.30.169 listed in dnsbl-1.uceprotect.net]
 1.0 RCVD_IN_UCEPROTECT3RBL: Received via a blocked site in
dnsbl-3.uceprotect.net
[82.104.30.169 listed in dnsbl-3.uceprotect.net]
 
 But mail in my inbox shows this:
 
 X-Spam-Status: No, score=2.4 required=5.0
 tests=BAYES_00,DK_POLICY_SIGNSOME,
 RCVD_IN_UCEPROTECT1,RCVD_IN_UCEPROTECT3 autolearn=no version=3.1.8
 
 
 Very interesting is the fact that it sees this email as BAYES_00, and in
 console test it recognises it as BAYES_80. Seems like in this case
 BAYES_00 probably gives negative value (-2.6 I presume) and that's why
 it doesn't get to the required 5.0 value. For info, this spam letter is
 very common and is very similar to bunch of others that have been
 learned manually before and that also have been identified correctly as
 spam in past. What could be the problem?
 
 This is kinda spamassassin specific, but does anyone know if it's
 possible to configure that spamassassin puts scoretable into header,
 even thou it didn't exceed required hits (default 5.0).
 


-- 
-Eric 'shubes'

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] spamassassin inconsistent points in mail queue and in console

2008-04-04 Thread Jack Martin
Just out of curiosity I tried that command as root - and got a bad response.

[EMAIL PROTECTED] ~]# su vpopmail -c spamassassin -t  spammail.eml
This account is currently not available.


Any ideas?
 
Jack D. Martin, Jr. 



- Original Message 
From: Eric Shubert [EMAIL PROTECTED]
To: qmailtoaster-list@qmailtoaster.com
Sent: Friday, April 4, 2008 10:55:20 AM
Subject: Re: [qmailtoaster] spamassassin inconsistent points in mail queue and 
in console

You're not accessing the vpopmail bayes database from the console. Either
add the -l parameter to the su command, or add:
bayes_path /home/vpopmail/.spamassassin/bayes
to your /etc/mail/spamassassin/local.cf file. I'd recommend the later, so
this won't be a problem again (permanent fix).

Janno Sannik wrote:
 I'm tightening up spam protection and I have a weird mismatch between
 points.
 
 
 By running from console:
 su vpopmail -c spamassassin -t  spammail.eml
 
 it outputs this:
 
 Content analysis details:  (7.0 points, 5.0 required)
 
 pts rule name  description
  --
 --
 0.0 DK_POLICY_SIGNSOMEDomain Keys: policy says domain signs some mails
 2.0 BAYES_80  BODY: Bayesian spam probability is 80 to 95%
[score: 0.8157]
 4.0 RCVD_IN_UCEPROTECT1RBL: Received via a blocked site in
dnsbl-1.uceprotect.net
[82.104.30.169 listed in dnsbl-1.uceprotect.net]
 1.0 RCVD_IN_UCEPROTECT3RBL: Received via a blocked site in
dnsbl-3.uceprotect.net
[82.104.30.169 listed in dnsbl-3.uceprotect.net]
 
 But mail in my inbox shows this:
 
 X-Spam-Status: No, score=2.4 required=5.0
 tests=BAYES_00,DK_POLICY_SIGNSOME,
RCVD_IN_UCEPROTECT1,RCVD_IN_UCEPROTECT3 autolearn=no version=3.1.8
 
 
 Very interesting is the fact that it sees this email as BAYES_00, and in
 console test it recognises it as BAYES_80. Seems like in this case
 BAYES_00 probably gives negative value (-2.6 I presume) and that's why
 it doesn't get to the required 5.0 value. For info, this spam letter is
 very common and is very similar to bunch of others that have been
 learned manually before and that also have been identified correctly as
 spam in past. What could be the problem?
 
 This is kinda spamassassin specific, but does anyone know if it's
 possible to configure that spamassassin puts scoretable into header,
 even thou it didn't exceed required hits (default 5.0).
 


-- 
-Eric 'shubes'

-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] spamassassin inconsistent points in mail queue and in console

2008-04-04 Thread Jake Vickers

Jack Martin wrote:

Just out of curiosity I tried that command as root - and got a bad response.

[EMAIL PROTECTED] ~]# su vpopmail -c spamassassin -t  spammail.eml
This account is currently not available.

  


sudo -u vpopmail -H spamassassin -t  spammail.eml


-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] spamassassin inconsistent points in mail queue and in console

2008-04-04 Thread Jack Martin
For some reason I don't have that file - what have I did wrong?
 
Jack D. Martin, Jr. 



- Original Message 
From: Jake Vickers [EMAIL PROTECTED]
To: qmailtoaster-list@qmailtoaster.com
Sent: Friday, April 4, 2008 1:57:30 PM
Subject: Re: [qmailtoaster] spamassassin inconsistent points in mail queue and 
in console

Jack Martin wrote:
 Just out of curiosity I tried that command as root - and got a bad response.

 [EMAIL PROTECTED] ~]# su vpopmail -c spamassassin -t  spammail.eml
 This account is currently not available.

  

sudo -u vpopmail -H spamassassin -t  spammail.eml


-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] spamassassin inconsistent points in mail queue and in console

2008-04-04 Thread Jake Vickers

Jack Martin wrote:

For some reason I don't have that file - what have I did wrong?
 
Jack D. Martin, Jr. 




- Original Message 
From: Jake Vickers [EMAIL PROTECTED]
To: qmailtoaster-list@qmailtoaster.com
Sent: Friday, April 4, 2008 1:57:30 PM
Subject: Re: [qmailtoaster] spamassassin inconsistent points in mail queue and 
in console

Jack Martin wrote:
  

Just out of curiosity I tried that command as root - and got a bad response.

[EMAIL PROTECTED] ~]# su vpopmail -c spamassassin -t  spammail.eml
This account is currently not available.

 



sudo -u vpopmail -H spamassassin -t  spammail.eml

  


What file don't you have?


Re: [qmailtoaster] spamassassin inconsistent points in mail queue and in console

2008-04-04 Thread Jack Martin
[EMAIL PROTECTED] supervise]# sudo -u vpopmail -H spamassassin -t  spammail.eml
-bash: spammail.eml: No such file or directory

 
Jack D. Martin, Jr. 
Magic Wireless Internet Service Provider, LLC 
[EMAIL PROTECTED] 
P.O. Box 278 
Oilton, OK 74052 
(918) 862-1065 
(918) 605-9552 cellular



- Original Message 
From: Jake Vickers [EMAIL PROTECTED]
To: qmailtoaster-list@qmailtoaster.com
Sent: Friday, April 4, 2008 2:27:36 PM
Subject: Re: [qmailtoaster] spamassassin inconsistent points in mail queue and 
in console

Jack Martin wrote: 
For some reason I don't have that file - what have I did wrong?
 
Jack D. Martin, Jr. 



- Original Message 
From: Jake Vickers [EMAIL PROTECTED]
To: qmailtoaster-list@qmailtoaster.com
Sent: Friday, April 4, 2008 1:57:30 PM
Subject: Re: [qmailtoaster] spamassassin inconsistent points in mail queue and 
in console

Jack Martin wrote:
  
Just out of curiosity I tried that command as root - and got a bad response.

[EMAIL PROTECTED] ~]# su vpopmail -c spamassassin -t  spammail.eml
This account is currently not available.

 

sudo -u vpopmail -H spamassassin -t  spammail.eml

  

What file don't you have?

Re: [qmailtoaster] spamassassin inconsistent points in mail queue and in console

2008-04-04 Thread Jake Vickers

Jack Martin wrote:
[EMAIL PROTECTED] supervise]# sudo -u vpopmail -H spamassassin -t  
spammail.eml

-bash: spammail.eml: No such file or directory


I only used spammail.eml because you had it in your message. 
spammail.eml would be whatever email you're trying to test.




Re: [qmailtoaster] spamassassin inconsistent points in mail queue and in console

2008-04-04 Thread Jack Martin
Thanks a ton!!!  I appreciate it.

 
Jack D. Martin, Jr. 
Magic Wireless Internet Service Provider, LLC 
[EMAIL PROTECTED] 
P.O. Box 278 
Oilton, OK 74052 
(918) 862-1065 
(918) 605-9552 cellular



- Original Message 
From: Jake Vickers [EMAIL PROTECTED]
To: qmailtoaster-list@qmailtoaster.com
Sent: Friday, April 4, 2008 2:35:24 PM
Subject: Re: [qmailtoaster] spamassassin inconsistent points in mail queue and 
in console

Jack Martin wrote: 
[EMAIL PROTECTED] supervise]# sudo -u vpopmail -H spamassassin -t  spammail.eml
-bash: spammail.eml: No such file or directory


I only used spammail.eml because you had it in your message. spammail.eml would 
be whatever email you're trying to test.