Re: Is BAYES filtering working? Having doubts.

2015-12-29 Thread RW
On Mon, 28 Dec 2015 23:42:03 -0500 Bill Cole wrote: > Using these facts, my learning script that runs as root and reads > from multiple real users' Maildirs does this to learn ham: > >for AFILE in $HAMS ; do formail < $AFILE ; done| sudo -H -u > $SAUSER sa-learn --ham --mbox > > Where

Re: URI_NO_WWW_INFO_CGI info

2015-12-29 Thread Axb
On 12/29/2015 04:14 PM, ma...@nucleus.it wrote: Hi, some customers triggers this rules in their mails # bug 3896: URIs in various TLDs, other than 3rd level www uri URI_NO_WWW_INFO_CGI /^(?:https?:\/\/)?[^\/]+(?http://media.mydomain.info/. and the rule take a score of 2.299 by itself. Why

Re: TxRep Template Tags staying as tags

2015-12-29 Thread Kevin A. McGrail
On 12/29/2015 7:18 AM, Kevin Golding wrote: On Mon, 28 Dec 2015 18:21:35 -, Kevin A. McGrail wrote: On 12/24/2015 10:04 AM, Kevin Golding wrote: I know I'm a bit weird but I like stuffing headers with all kinds of data like I'm stuffing a turkey for Christmas, but

Re: Is BAYES filtering working? Having doubts.

2015-12-29 Thread Bill Cole
On 29 Dec 2015, at 20:02, Ian Zimmerman wrote: On 2015-12-29 19:44 -0500, Bill Cole wrote: On 29 Dec 2015, at 18:54, Ian Zimmerman wrote: In fact sa-learn accepts multiple named arguments on the command line, so the alternative I use is to go through the spambox N files at a time in a

Re: Is BAYES filtering working? Having doubts.

2015-12-29 Thread Ian Zimmerman
On 2015-12-29 20:41 -0500, Bill Cole wrote: > Neither su nor sudo magically changes the permissions or ownership of > files. If you pass filenames as arguments they must be readable by the > user actually running sa-learn, which is the *unprivileged* user > handling the system-wide BayesDB

Re: Is BAYES filtering working? Having doubts.

2015-12-29 Thread Reindl Harald
Am 30.12.2015 um 03:11 schrieb Ian Zimmerman: On 2015-12-29 20:41 -0500, Bill Cole wrote: Neither su nor sudo magically changes the permissions or ownership of files. If you pass filenames as arguments they must be readable by the user actually running sa-learn, which is the *unprivileged*

Re: Is BAYES filtering working? Having doubts.

2015-12-29 Thread Ian Zimmerman
On 2015-12-29 19:44 -0500, Bill Cole wrote: > On 29 Dec 2015, at 18:54, Ian Zimmerman wrote: > > >In fact sa-learn accepts multiple named arguments on the command line, > >so the alternative I use is to go through the spambox N files at a time > >in a shell loop. (I have N=100 but obviously

Re: Is BAYES filtering working? Having doubts.

2015-12-29 Thread Bill Cole
On 29 Dec 2015, at 13:24, RW wrote: On Mon, 28 Dec 2015 23:42:03 -0500 Bill Cole wrote: Using these facts, my learning script that runs as root and reads from multiple real users' Maildirs does this to learn ham: for AFILE in $HAMS ; do formail < $AFILE ; done| sudo -H -u $SAUSER sa-learn

Re: Is BAYES filtering working? Having doubts.

2015-12-29 Thread Ian Zimmerman
On 2015-12-29 17:50 -0500, Bill Cole wrote: > Yes, with the advantage of using Mail::SpamAssassin::Util::secure_tmpfile() > rather > than whatever I happen to roll up in a bit of Q shell that I never get > around to > reviewing for edge cases... > > The main reason to do something like that is

Re: Is BAYES filtering working? Having doubts.

2015-12-29 Thread Bill Cole
On 29 Dec 2015, at 18:54, Ian Zimmerman wrote: In fact sa-learn accepts multiple named arguments on the command line, so the alternative I use is to go through the spambox N files at a time in a shell loop. (I have N=100 but obviously this depends.) Which successfully ignores the original

Re: Omitting leading whitespace on headers?

2015-12-29 Thread Reindl Harald
Am 29.12.2015 um 21:46 schrieb Philip Prindeville: On Dec 29, 2015, at 1:42 PM, Kevin A. McGrail wrote: On 12/29/2015 3:38 PM, Philip Prindeville wrote: Is there a reason that headers are left with leading spaces? I’ve noticed that I have to write rules as: Subject =~

Re: Omitting leading whitespace on headers?

2015-12-29 Thread Philip Prindeville
On Dec 29, 2015, at 2:14 PM, Kevin A. McGrail wrote: > On 12/29/2015 3:46 PM, Philip Prindeville wrote: >> On Dec 29, 2015, at 1:42 PM, Kevin A. McGrail wrote: >> >>> On 12/29/2015 3:38 PM, Philip Prindeville wrote: Is there a reason that headers are

Re: Omitting leading whitespace on headers?

2015-12-29 Thread Philip Prindeville
On Dec 29, 2015, at 1:42 PM, Kevin A. McGrail wrote: > On 12/29/2015 3:38 PM, Philip Prindeville wrote: >> Is there a reason that headers are left with leading spaces? >> >> I’ve noticed that I have to write rules as: >> >> Subject =~ /^ Great [Jj]ob [Oo]pportunity/ >> >>

Re: Omitting leading whitespace on headers?

2015-12-29 Thread Philip Prindeville
On Dec 29, 2015, at 2:39 PM, Kevin A. McGrail wrote: > On 12/29/2015 4:29 PM, Philip Prindeville wrote: >> On Dec 29, 2015, at 2:14 PM, Kevin A. McGrail wrote: >> >>> On 12/29/2015 3:46 PM, Philip Prindeville wrote: On Dec 29, 2015, at 1:42 PM, Kevin

Re: Omitting leading whitespace on headers?

2015-12-29 Thread Kevin A. McGrail
On 12/29/2015 5:12 PM, Philip Prindeville wrote: I did recall that I used the patch here: https://bz.apache.org/SpamAssassin/show_bug.cgi?id=6360#c4 to be able to debug my rules, using a rule that would match any non-empty subject: value to dump out what it was (the “> got hit: “…””

Re: Omitting leading whitespace on headers?

2015-12-29 Thread Philip Prindeville
On Dec 29, 2015, at 3:15 PM, Kevin A. McGrail wrote: > On 12/29/2015 5:12 PM, Philip Prindeville wrote: >> I did recall that I used the patch here: >> >> https://bz.apache.org/SpamAssassin/show_bug.cgi?id=6360#c4 >> >> to be able to debug my rules, using a rule that would

Re: Omitting leading whitespace on headers?

2015-12-29 Thread Kevin A. McGrail
On 12/29/2015 5:16 PM, Philip Prindeville wrote: On Dec 29, 2015, at 3:15 PM, Kevin A. McGrail > wrote: On 12/29/2015 5:12 PM, Philip Prindeville wrote: I did recall that I used the patch here:

Omitting leading whitespace on headers?

2015-12-29 Thread Philip Prindeville
Is there a reason that headers are left with leading spaces? I’ve noticed that I have to write rules as: Subject =~ /^ Great [Jj]ob [Oo]pportunity/ because of the leading space… Given the text of RFC-2822: NO-WS-CTL = %d1-8 / ; US-ASCII control characters

Re: Omitting leading whitespace on headers?

2015-12-29 Thread Kevin A. McGrail
On 12/29/2015 3:46 PM, Philip Prindeville wrote: On Dec 29, 2015, at 1:42 PM, Kevin A. McGrail wrote: On 12/29/2015 3:38 PM, Philip Prindeville wrote: Is there a reason that headers are left with leading spaces? I’ve noticed that I have to write rules as: Subject =~ /^

Re: Omitting leading whitespace on headers?

2015-12-29 Thread Kevin A. McGrail
On 12/29/2015 4:29 PM, Philip Prindeville wrote: On Dec 29, 2015, at 2:14 PM, Kevin A. McGrail wrote: On 12/29/2015 3:46 PM, Philip Prindeville wrote: On Dec 29, 2015, at 1:42 PM, Kevin A. McGrail wrote: On 12/29/2015 3:38 PM, Philip Prindeville

Re: Omitting leading whitespace on headers?

2015-12-29 Thread Reindl Harald
Am 29.12.2015 um 22:14 schrieb Kevin A. McGrail: On 12/29/2015 3:46 PM, Philip Prindeville wrote: On Dec 29, 2015, at 1:42 PM, Kevin A. McGrail wrote: On 12/29/2015 3:38 PM, Philip Prindeville wrote: Is there a reason that headers are left with leading spaces? I’ve

Re: Omitting leading whitespace on headers?

2015-12-29 Thread Kevin A. McGrail
On 12/29/2015 3:38 PM, Philip Prindeville wrote: Is there a reason that headers are left with leading spaces? I’ve noticed that I have to write rules as: Subject =~ /^ Great [Jj]ob [Oo]pportunity/ because of the leading space… I'm at a complete loss. I add plenty of Subject rules with no

Omitting leading whitespace on headers?

2015-12-29 Thread Philip Prindeville
Is there a reason that headers are left with leading spaces? I’ve noticed that I have to write rules as: Subject =~ /^ Great [Jj]ob [Oo]pportunity/ because of the leading space… Given the text of RFC-2822: NO-WS-CTL = %d1-8 / ; US-ASCII control characters

Re: Omitting leading whitespace on headers?

2015-12-29 Thread Reindl Harald
Am 29.12.2015 um 21:38 schrieb Philip Prindeville: Is there a reason that headers are left with leading spaces? I’ve noticed that I have to write rules as: Subject =~ /^ Great [Jj]ob [Oo]pportunity/ because of the leading space… Given the text of RFC-2822 no, we have a ton of subject and

Re: Is BAYES filtering working? Having doubts.

2015-12-29 Thread Bill Cole
On 29 Dec 2015, at 8:28, Jude DaShiell wrote: With spamassassin, is it possible to have the filter show counts of number of messages sent to spam, number of messages sent to ham, and total number of messages processed that a user can check? Since SpamAssassin is a suite of Perl modules and

Re: Is BAYES filtering working? Having doubts.

2015-12-29 Thread Chalmers
Good question. I'd like to know myself - From my iPhone. > On 29 Dec 2015, at 1:28 pm, Jude DaShiell wrote: > > With spamassassin, is it possible to have the filter show counts of number of > messages sent to spam, number of messages sent to ham, and total number of

Re: Looking for a script to extract readable text from emails

2015-12-29 Thread Jude DaShiell
If that problem ever gets solved, blind users of the internet could do two useful things; first read things faster, and prevent lots of images from taking up user quota space. Those blind that can hear would not want audio content in video or audio files filtered out though. On Tue, 29 Dec

Re: Is BAYES filtering working? Having doubts.

2015-12-29 Thread Reindl Harald
Am 29.12.2015 um 05:42 schrieb Bill Cole: On 28 Dec 2015, at 17:54, Peter L. Berghold wrote: The script that I use to pull the messages out of a spam bucket invoking sa-learn runs as root which has permissions to read from anywhere. The complication is the amavis does not have permissions

URI_NO_WWW_INFO_CGI info

2015-12-29 Thread marco
Hi, some customers triggers this rules in their mails # bug 3896: URIs in various TLDs, other than 3rd level www uri URI_NO_WWW_INFO_CGI /^(?:https?:\/\/)?[^\/]+(?http://media.mydomain.info/. and the rule take a score of 2.299 by itself. Why a score so high? Anyone knows why only .info and

Re: Is BAYES filtering working? Having doubts.

2015-12-29 Thread Jude DaShiell
With spamassassin, is it possible to have the filter show counts of number of messages sent to spam, number of messages sent to ham, and total number of messages processed that a user can check?On Mon, 28 Dec 2015, Bill Cole wrote: Date: Mon, 28 Dec 2015 23:42:03 From: Bill Cole

Re: TxRep Template Tags staying as tags

2015-12-29 Thread Kevin Golding
On Mon, 28 Dec 2015 18:21:35 -, Kevin A. McGrail wrote: On 12/24/2015 10:04 AM, Kevin Golding wrote: I know I'm a bit weird but I like stuffing headers with all kinds of data like I'm stuffing a turkey for Christmas, but I've never been able to get anything showing