Re: Bayes learning for legitimate users

2015-03-15 Thread Matthias Leisi
Am 14.03.2015 um 16:45 schrieb Matus UHLAR - fantomas uh...@fantomas.sk: ...but as I mentioned before, training spam from mail to non-existent recipients may be even a good thing… I would not train from mail to non-existent recipients, but would restrict to a defined set of spamtraps

Re: Bayes learning for legitimate users

2015-03-14 Thread Filip Havlíček
I manage email through ISPConfig, I think wildcard for any domain is not set. Dne 13.3.2015 v 16:02 Matus UHLAR - fantomas napsal(a): Filip Havlí?ek wrote: I would like to ask you, how can I *allow **only **legitimate* email addresses (existing users) for bayes learning? On 13.03.15 14:54

Re: Bayes learning for legitimate users

2015-03-14 Thread Matus UHLAR - fantomas
- fantomas napsal(a): Filip Havlí?ek wrote: I would like to ask you, how can I *allow **only **legitimate* email addresses (existing users) for bayes learning? On 13.03.15 14:54, Filip Havlíček wrote: there is my configuration: /etc/spamassassin/local.cf: http://pastebin.com/PM5jN8wi /etc/postfix

Re: Bayes learning for legitimate users

2015-03-13 Thread Matus UHLAR - fantomas
Filip Havlí?ek wrote: I would like to ask you, how can I *allow **only **legitimate* email addresses (existing users) for bayes learning? On 13.03.15 14:54, Filip Havlíček wrote: there is my configuration: /etc/spamassassin/local.cf: http://pastebin.com/PM5jN8wi /etc/postfix/main.cf: http

Re: Bayes learning for legitimate users

2015-03-13 Thread Filip Havlíček
19:57 schrieb Matus UHLAR - fantomas: On Wed, 04 Mar 2015 13:35:55 +0100 Filip Havlí?ek wrote: I would like to ask you, how can I *allow **only **legitimate* email addresses (existing users) for bayes learning? On 04.03.15 14:37, RW wrote: Why send them through SpamAssassin in the first place

Re: Bayes learning for legitimate users

2015-03-04 Thread John Hardin
On Wed, 4 Mar 2015, Filip Havlíček wrote: I would like to ask you, how can I *allow **only **legitimate* email addresses (existing users) for bayes learning? Reject invalid users at the MTA level during SMTP before the message even hits SA. -- John Hardin KA7OHZhttp

Re: Bayes learning for legitimate users

2015-03-04 Thread Matus UHLAR - fantomas
On Wed, 04 Mar 2015 13:35:55 +0100 Filip Havlí?ek wrote: I would like to ask you, how can I *allow **only **legitimate* email addresses (existing users) for bayes learning? On 04.03.15 14:37, RW wrote: Why send them through SpamAssassin in the first place? He apparently wants to filter mail

Re: Bayes learning for legitimate users

2015-03-04 Thread Reindl Harald
Am 04.03.2015 um 19:57 schrieb Matus UHLAR - fantomas: On Wed, 04 Mar 2015 13:35:55 +0100 Filip Havlí?ek wrote: I would like to ask you, how can I *allow **only **legitimate* email addresses (existing users) for bayes learning? On 04.03.15 14:37, RW wrote: Why send them through

Re: Bayes learning for legitimate users

2015-03-04 Thread RW
On Wed, 04 Mar 2015 13:35:55 +0100 Filip Havlí?ek wrote: Hi, I would like to ask you, how can I *allow **only **legitimate* email addresses (existing users) for bayes learning? Why send them through SpamAssassin in the first place? Table bayes_token grow up to 0,5GB right now, because

Re: Bayes learning for legitimate users

2015-03-04 Thread Reindl Harald
bayes_vars is Dne 4.3.2015 v 13:45 Reindl Harald napsal(a): Am 04.03.2015 um 13:35 schrieb Filip Havlíček: I would like to ask you, how can I *allow **only **legitimate* email addresses (existing users) for bayes learning? Table bayes_token grow up to 0,5GB right now, because there are thounsands

Re: Bayes learning for legitimate users

2015-03-04 Thread Reindl Harald
Am 04.03.2015 um 13:35 schrieb Filip Havlíček: I would like to ask you, how can I *allow **only **legitimate* email addresses (existing users) for bayes learning? Table bayes_token grow up to 0,5GB right now, because there are thounsands of unknown email addresses like: a...@hotmail.com ablewi

Re: Bayes learning for legitimate users

2015-03-04 Thread Filip Havlíček
bayes_vars is Dne 4.3.2015 v 13:45 Reindl Harald napsal(a): Am 04.03.2015 um 13:35 schrieb Filip Havlíček: I would like to ask you, how can I *allow **only **legitimate* email addresses (existing users) for bayes learning? Table bayes_token grow up to 0,5GB right now, because there are thounsands

Re: Bayes learning differences: v3.3.2 to v3.4.0

2014-11-05 Thread Kevin A. McGrail
On 11/4/2014 6:06 PM, John Woods wrote: Everyone, We're having problems with auto learning on v3.4.0 that we aren't having on v.3.3.2. The number of spam e-mails being auto-learned has dropped significantly, and the amount of spam being let through (false negatives) is higher as well.

Re: Bayes learning differences: v3.3.2 to v3.4.0

2014-11-05 Thread RW
On Tue, 04 Nov 2014 17:06:54 -0600 John Woods wrote: 1) How does SpamAssassin derive and sum the body_only and head_only points? It doesn't look like the body_only points correspond to any scores from individual tests. Scoring uses one of four score sets, chosen according to whether

Re: Bayes learning differences: v3.3.2 to v3.4.0

2014-11-05 Thread John Woods
Kevin, I did skim bug 5503 earlier, but didn't understand it at first. Knowing the history now, it makes a little more sense, although I'm still fuzzy on why the value of 3 for the body and head points is important. It might be nice to have local.cf directives to allow admins to be

Re: Bayes learning differences: v3.3.2 to v3.4.0

2014-11-05 Thread John Hardin
On Wed, 5 Nov 2014, John Woods wrote: As for Bayes strategies (and without starting a flamewar), we just started implementing an IMAP folder in everyone's mailbox called Learn As Spam, that gets processed through sa-learn --spam. It sounds like we may need to leave auto-learning to SA's

Re: Bayes learning differences: v3.3.2 to v3.4.0

2014-11-05 Thread Kevin A. McGrail
On 11/5/2014 2:12 PM, John Woods wrote: I did skim bug 5503 earlier, but didn't understand it at first. Knowing the history now, it makes a little more sense, although I'm still fuzzy on why the value of 3 for the body and head points is important. Can disagree. I don't know the history

AW: SpamAssassin and Bayes learning

2012-06-05 Thread francwalter
One crucial thing you didn't post: you ran the learning as root. Is the user that spamd is running as also root? The bayes database is user-specific, and a common problem is to train the database as a different user than the MTA+spamd is running under. Owner and Group of the folder

SpamAssassin and Bayes learning

2012-06-01 Thread francwalter
Hello I use SpamAssassin 3.3.1 on Ubuntu 12.04 with Postfix 2.9.1-4 and AMaViS 2.6.5 All the time I move Spam when I get, to my Spam-folder, where I have some spam together since the last two years. All night I use the script salearn-from-mails, to learn from the spam which is: #!/bin/bash -e

Re: SpamAssassin and Bayes learning

2012-06-01 Thread RW
On Fri, 1 Jun 2012 10:52:05 +0200 francwal...@gmx.net wrote: But when I send an email with the content and Subject of an old spam-mail this passes without much bayes-score: What am I doing wrong? You are testing a message that's part spam and part non-spam and expecting BAYES to detect

Re: SpamAssassin and Bayes learning

2012-06-01 Thread Frank Walter
There is very few spam in the spam folder and then these mails have a very small Bayes score (e.g. 0.8). But there is more spam in the inbox. I thought, if I put a mail into the spam folder and after sa learned it, there would be no question that the Bayes score for this mail would be high, the

Re: SpamAssassin and Bayes learning

2012-06-01 Thread John Hardin
On Fri, 1 Jun 2012, Frank Walter wrote: There is very few spam in the spam folder and then these mails have a very small Bayes score (e.g. 0.8). But there is more spam in the inbox. I thought, if I put a mail into the spam folder and after sa learned it, there would be no question that the

Re: SpamAssassin and Bayes learning

2012-06-01 Thread Niamh Holding
Hello John, Friday, June 1, 2012, 3:31:23 PM, you wrote: JH One crucial thing you didn't post: you ran the learning as root. Is the JH user that spamd is running as also root? The bayes database is JH user-specific, and a common problem is to train the database as a JH different user than the

Re: SpamAssassin and Bayes learning

2012-06-01 Thread RW
On Fri, 01 Jun 2012 14:52:45 +0200 Frank Walter wrote: There is very few spam in the spam folder and then these mails have a very small Bayes score (e.g. 0.8). But there is more spam in the inbox. I thought, if I put a mail into the spam folder and after sa learned it, there would be no

Re: Apply Bayes learning to all users?

2011-12-16 Thread RW
On Fri, 16 Dec 2011 08:54:36 +0100 Benny Pedersen wrote: On Fri, 16 Dec 2011 06:30:31 +, Martin Hepworth wrote: Created a shared iMap or similar email account with a spam and ham folder for users to drag email into (not forward as that breaks headers in thing like outlook) yes, here

Re: Apply Bayes learning to all users?

2011-12-16 Thread Steve Freitas
On 12/16/11 05:53, RW wrote: On Fri, 16 Dec 2011 08:54:36 +0100 Benny Pedersen wrote: On Fri, 16 Dec 2011 06:30:31 +, Martin Hepworth wrote: Created a shared iMap or similar email account with a spam and ham folder for users to drag email into (not forward as that breaks headers in thing

Apply Bayes learning to all users?

2011-12-15 Thread Steve Freitas
Hi all, I have some spamtraps which get lots of spam. After a few precautions, I use sa-learn to train a single Bayes profile. This profile is used for many of my users. A significant amount of other users maintain their own Bayes profiles, and I'd like to make this training apply to their

Re: Apply Bayes learning to all users?

2011-12-15 Thread Martin Hepworth
Created a shared iMap or similar email account with a spam and ham folder for users to drag email into (not forward as that breaks headers in thing like outlook) Then find one of the many perl scripts lying about the net to grab this email and SA-learn it to the main bayes db. Martin On Friday,

Re: Apply Bayes learning to all users?

2011-12-15 Thread Benny Pedersen
On Fri, 16 Dec 2011 06:30:31 +, Martin Hepworth wrote: Created a shared iMap or similar email account with a spam and ham folder for users to drag email into (not forward as that breaks headers in thing like outlook) yes, here i found that dovecot-antispam helpfull in the way that users

Can bayes learning be turned on and off in one procmailrc

2011-05-04 Thread Harry Putnam
I've been thinking about using bayes in learning mode, but I want to do it without disturbing my current mail setup. I thought I might (using procmail) channel a copy of all incoming mail through spamassassin with bayes learning turned on. I'd want bayes learning off in the main mail setup. So

Re: is bayes learning?

2010-02-19 Thread Matus UHLAR - fantomas
On 18.02.10 09:56, tonjg wrote: well this has certainly thrown a spanner in the works and I don't know what to do next. I was under the impression that sa was scanning my mail and red flagging any spams, then mimedefang would kick in rejecting the email at smtp. I'm completely confused now

Re: is bayes learning?

2010-02-19 Thread tonjg
is that spam is not diverted to any folder. Spam gets rejected at smtp. Is that what you meant by overkill? -- View this message in context: http://old.nabble.com/is-bayes-learning--tp27616380p27652339.html Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Re: is bayes learning?

2010-02-19 Thread Jari Fredriksson
On 19.2.2010 12:42, tonjg wrote: Jari Fredriksson wrote: That is not the recipe I meant. That calls SA yes, but does not reject. I can't provide a recipe for procmail as I personally use maildrop, but the recipe that is needed is one filing the spam to a spam folder (or /dev/null).

Re: is bayes learning?

2010-02-18 Thread Matus UHLAR - fantomas
Matus UHLAR - fantomas wrote: you may have autolearn plugin not active. What does X-Spam-Status header in your mail say? On 17.02.10 05:48, tonjg wrote: it says: X-Spam-Score: 4.463 () BAYES_60,HTML_IMAGE_ONLY_24,HTML_MESSAGE,HTML_MIME_NO_HTML_TAG,MIME_HTML_ONLY X-Scanned-By:

Re: is bayes learning?

2010-02-18 Thread tonjg
. thanks but I'm only using mimedefang to reject email recognised by spamassassin, I'm not using md to scan for spam. -- View this message in context: http://old.nabble.com/is-bayes-learning--tp27616380p27638511.html Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Re: is bayes learning?

2010-02-18 Thread Jari Fredriksson
On 18.2.2010 18:16, tonjg wrote: Matus UHLAR - fantomas wrote: you seem to be running mimedefang which takes care about the e-mail. I have no idea how does mimedefang interact with spamassassin, but I think you should ask your question in mimedefang mailing list, or at least search the

Re: is bayes learning?

2010-02-18 Thread Karsten Bräckelmann
On Thu, 2010-02-18 at 08:16 -0800, an anonymous Nabble user wrote: Matus UHLAR wrote: you seem to be running mimedefang which takes care about the e-mail. I have no idea how does mimedefang interact with spamassassin, but I think you should ask your question in mimedefang mailing list, or

Re: is bayes learning?

2010-02-18 Thread tonjg
10_default_prefs.cf # grep add_header 10_default_prefs.cf grep: 10_default_prefs.cf: No such file or directory -- View this message in context: http://old.nabble.com/is-bayes-learning--tp27616380p27642949.html Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Re: is bayes learning?

2010-02-18 Thread tonjg
. A simple procmail recipe would do it without any extra process. but md is a mail filter designed to process mail, how is that an overkill? and where would one find a simple procmail recipe? -- View this message in context: http://old.nabble.com/is-bayes-learning--tp27616380p27642991.html Sent

Re: is bayes learning?

2010-02-18 Thread Karsten Bräckelmann
On Thu, 2010-02-18 at 09:56 -0800, an anonymous Nabble user wrote: well this has certainly thrown a spanner in the works and I don't know what to do next. I was under the impression that sa was scanning my mail and red flagging any spams, then mimedefang would kick in rejecting the email at

Re: is bayes learning?

2010-02-18 Thread Chris
On Thu, 2010-02-18 at 09:59 -0800, tonjg wrote: Jari Fredriksson wrote: How does MimeDefang reject anything if it does not scan it? Your log header sample looked like it was scanned by MimeDefang. Propably MD calls SpamAssassin in it's scan process just like amavisd does. Using a

Re: is bayes learning?

2010-02-18 Thread Jari Fredriksson
On 19.2.2010 1:48, Chris wrote: On Thu, 2010-02-18 at 09:59 -0800, tonjg wrote: Jari Fredriksson wrote: How does MimeDefang reject anything if it does not scan it? Your log header sample looked like it was scanned by MimeDefang. Propably MD calls SpamAssassin in it's scan process just like

Re: is bayes learning?

2010-02-18 Thread Jari Fredriksson
On 19.2.2010 1:48, Chris wrote: On Thu, 2010-02-18 at 09:59 -0800, tonjg wrote: Jari Fredriksson wrote: How does MimeDefang reject anything if it does not scan it? Your log header sample looked like it was scanned by MimeDefang. Propably MD calls SpamAssassin in it's scan process just like

Re: is bayes learning?

2010-02-18 Thread John Hardin
On Fri, 19 Feb 2010, Jari Fredriksson wrote: On 19.2.2010 1:48, Chris wrote: On Thu, 2010-02-18 at 09:59 -0800, tonjg wrote: Jari Fredriksson wrote: How does MimeDefang reject anything if it does not scan it? Your log header sample looked like it was scanned by MimeDefang. Propably MD

Re: is bayes learning?

2010-02-17 Thread Arthur Dent
On Tue, 2010-02-16 at 15:22 -0800, tonjg wrote: I've got a feeling that the spamassassin on my machine is improving in the way it recognises spam but I'd like to be sure it's not just my imagination. I did my first manual bayes learn about 2 weeks ago using 200 spams and 200 hams, the process

Re: is bayes learning?

2010-02-17 Thread tonjg
-token data: last expire reduction count but I don't get the same results as you. I get: [r...@home admin]# date -r 1266390928 date: 1266390928: No such file or directory -- View this message in context: http://old.nabble.com/is-bayes-learning--tp27616380p27622857.html Sent from the SpamAssassin

Re: is bayes learning?

2010-02-17 Thread tonjg
in context: http://old.nabble.com/is-bayes-learning--tp27616380p27622878.html Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Re: is bayes learning?

2010-02-17 Thread Arthur Dent
On Wed, 2010-02-17 at 04:16 -0800, tonjg wrote: Mikael Syska wrote: [r...@freebsd /]# date -r 1266318121 Tue Feb 16 12:02:01 CET 2010 newsest atime should tell you when it last learned from a message. thanks for your response, I ran sa-learn --dump magic: 0.000 0

Re: is bayes learning?

2010-02-17 Thread Matus UHLAR - fantomas
RW-15 wrote: On Wed, 17 Feb 2010 00:29:38 +0100 Mikael Syska mik...@syska.dk wrote: Watching nham, nspam counts is more meaningful. On 17.02.10 04:18, tonjg wrote: my nspam and nham counts look the same as they were two weeks ago without change, which makes me think that bayes isn't

Re: is bayes learning?

2010-02-17 Thread tonjg
Arthur Dent-6 wrote: Try # date -d @1266390928 ah yes thanks Arthur that worked: [r...@home admin]# date -d @1266390928 Wed Feb 17 07:15:28 GMT 2010 [r...@home admin]# -- View this message in context: http://old.nabble.com/is-bayes-learning--tp27616380p27623785.html Sent from

Re: is bayes learning?

2010-02-17 Thread tonjg
what BAYES_60 means. -- View this message in context: http://old.nabble.com/is-bayes-learning--tp27616380p27623876.html Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

is bayes learning?

2010-02-16 Thread tonjg
is enabled by default and kicks in after 200 emails learnt, but is there a way to tell whether bayes is actually learning? -- View this message in context: http://old.nabble.com/is-bayes-learning--tp27616380p27616380.html Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Re: is bayes learning?

2010-02-16 Thread Mikael Syska
/is-bayes-learning--tp27616380p27616380.html Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Re: is bayes learning?

2010-02-16 Thread RW
On Wed, 17 Feb 2010 00:29:38 +0100 Mikael Syska mik...@syska.dk wrote: newsest atime should tell you when it last learned from a message. Token atimes get updated when you scan a mail. Watching nham, nspam counts is more meaningful.

Re: is bayes learning?

2010-02-16 Thread Martin Gregorie
On Tue, 2010-02-16 at 15:22 -0800, tonjg wrote: I've got a feeling that the spamassassin on my machine is improving in the way it recognises spam but I'd like to be sure it's not just my imagination. I did my first manual bayes learn about 2 weeks ago using 200 spams and 200 hams, the process

Re: bayes learning '0 messages found'

2010-02-15 Thread smfabac
/bayes-learning-%270-messages-found%27-tp27358517p27590620.html Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Re: bayes learning '0 messages found'

2010-02-15 Thread Kai Schaetzl
Smfabac wrote on Mon, 15 Feb 2010 00:20:06 -0800 (PST): So, does the documentation on sa-learn indicate that there is a size limit on the message to be processed? Why not check yourself? Kai -- Get your web at Conactive Internet Services: http://www.conactive.com

Re: bayes learning '0 messages found'

2010-02-15 Thread smfabac
that there is a size limit on the messages to be processed? is a veiled request to the SA developers/maintainers that people may be interested in that information. -- View this message in context: http://old.nabble.com/bayes-learning-%270-messages-found%27-tp27358517p27595445.html Sent from

Re: bayes learning '0 messages found'

2010-02-15 Thread Kai Schaetzl
Smfabac wrote on Mon, 15 Feb 2010 07:27:19 -0800 (PST): The question So, does the documentation on sa-learn indicate that there is a size limit on the messages to be processed? is a veiled request to the SA developers/maintainers that people may be interested in that information. If you

Re: bayes learning '0 messages found'

2010-02-15 Thread Martin Gregorie
On Mon, 2010-02-15 at 07:27 -0800, smfabac wrote: I see that there is no official answer to the question. what is the message size limit where sa-learn fails. If you use something spamc rather than using sa_learn you can gain some flexibility due to the places and hosts where you can run

Re: bayes learning '0 messages found'

2010-02-13 Thread smfabac
folder with one message $ -- View this message in context: http://old.nabble.com/bayes-learning-%270-messages-found%27-tp27358517p27573012.html Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Re: bayes learning '0 messages found'

2010-02-13 Thread Charles Gregory
On Sat, 13 Feb 2010, smfabac wrote: Now that we're all on the same page. How do I find out why sa-learn is not processing the legal not-spam file? To re-cap, sa-learn --spam --mbox isspam works but sa-learn --ham --mbox not-spam is not working. Well, I would expect if this suggestion were

Re: bayes learning '0 messages found'

2010-02-13 Thread smfabac
-rw-rw- 1 smf group 249046 Feb 13 02:37 notspam -rw-rw-rw- 1 smf group 94762 Feb 13 02:29 isspam $ sa-learn --showdots --ham --mbox notspam Learned tokens from 0 message(s) (0 message(s) examined) Still no luck. -- View this message in context: http://old.nabble.com/bayes

Re: bayes learning '0 messages found'

2010-02-13 Thread Matus UHLAR - fantomas
On 12.02.10 09:17, smfabac wrote: On UNIX any file is a mbox file if it contains mail messages in the form: ^A^A^A^A mail headers mail body ^A^A^A^A ^A^A^A^A Next Message mail headers mail body ^A^A^A^A mmdf, not mbox. And my not-spam file meets this requirement: ^A^A^A^A

Re: bayes learning '0 messages found'

2010-02-13 Thread John Hardin
On Sat, 13 Feb 2010, smfabac wrote: Is there a message size limit for sa-learn? Yes, there is, and sadly sa-learn does not explicitly tell you a message has been skipped because it's too large. If there's a non-text attachment try deleteing it and re-learning the message. -- John

Re: bayes learning '0 messages found'

2010-02-13 Thread Charles Gregory
On Sat, 13 Feb 2010, smfabac wrote: $ sa-learn --showdots --ham --mbox notspam Learned tokens from 0 message(s) (0 message(s) examined) Still no luck. Are we sure the notspam file is clean? Try trimming it down to just one or two messages, and see how it goes - C

Re: bayes learning '0 messages found'

2010-02-12 Thread smfabac
this message in context: http://old.nabble.com/bayes-learning-%270-messages-found%27-tp27358517p27566005.html Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Re: bayes learning '0 messages found'

2010-02-12 Thread Mark Martinec
tonjg wrote: I'm trying to run: sa-learn --spam --showdots --dir /path/to...mbox but it fails with: 'Learned tokens from 0 message(s) (0 messages examined)' my spam mail is in a file called mbox but when I run the above command to the directory containg mbox it always fails with the '0

Re: bayes learning '0 messages found'

2010-02-12 Thread smfabac
: http://old.nabble.com/bayes-learning-%270-messages-found%27-tp27358517p27566692.html Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Re: bayes learning '0 messages found'

2010-02-12 Thread RW
On Fri, 12 Feb 2010 09:17:54 -0800 (PST) smfabac smfa...@att.net wrote: Mark, On UNIX any file is a mbox file if it contains mail messages in the form: ^A^A^A^A mail headers mail body ^A^A^A^A ^A^A^A^A Next Message mail headers mail body ^A^A^A^A I don't know what that is, but

Re: bayes learning '0 messages found'

2010-02-12 Thread RW
On Fri, 12 Feb 2010 17:51:12 + RW rwmailli...@googlemail.com wrote: On Fri, 12 Feb 2010 09:17:54 -0800 (PST) smfabac smfa...@att.net wrote: Mark, On UNIX any file is a mbox file if it contains mail messages in the form: ^A^A^A^A mail headers mail body ^A^A^A^A

Re: bayes learning '0 messages found'

2010-01-28 Thread Mark Martinec
On Thursday 28 January 2010 17:16:04 tonjg wrote: spamassassin.i386 0:3.2.5-1.el4 I'm trying to run: sa-learn --spam --showdots --dir /path/to...mbox but it fails with: 'Learned tokens from 0 message(s) (0 messages examined)' my spam mail is in a file called mbox but when I run the above

Re: bayes learning '0 messages found'

2010-01-28 Thread tonjg
it's okay - I found the solution at: http://spamassassin.apache.org/full/3.1.x/doc/sa-learn.html the command needed --mbox to be included. I added this and the learning worked. -- View this message in context: http://old.nabble.com/bayes-learning-%270-messages-found%27-tp27358517p27358559.html

Re: bayes learning '0 messages found'

2010-01-28 Thread tonjg
this message in context: http://old.nabble.com/bayes-learning-%270-messages-found%27-tp27358517p27358771.html Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Re: bayes learning '0 messages found'

2010-01-28 Thread Kevin Parris
If what you presented in your message is actually the command you used, then it might be looking for some input from the keyboard - you don't illustrate having specified the particular file you want it to use following the '--mbox' option, you have --ham in that position on the line. I have

Re: Bayes learning trusted networks mailing list email

2009-06-05 Thread RW
On Fri, 05 Jun 2009 10:24:31 -0400 Micah Anderson mi...@riseup.net wrote: If I understand things properly, because I've got these setup in my trusted_networks, then these previous hops will be checked in RBLs, so the spam is more detectable. That doesn't really help. If you think about it,

Re: Bayes Learning with Analysis Attached

2008-04-29 Thread Theo Van Dinter
On Tue, Apr 29, 2008 at 11:08:22AM -0700, Matt Florido wrote: feature. However, I'm wondering if this impacts sa-learn? Can I simply run sa-learn on mails that have the analysis attached? I also noticed Yes. sa-learn removes markup before doing the processing. I'm not seeing Bayes

Re: Bayes Learning with Analysis Attached

2008-04-29 Thread Bob Proulx
Theo Van Dinter wrote: Matt Florido wrote: I'm not seeing Bayes participating in the scoring. Is this because it's new and my Bayes db hasn't been fully trained? Yes. You need 200 each ham and spam. You can use sa-learn to dump the database stats and see how many of each have been

Re: Bayes Learning with Analysis Attached

2008-04-29 Thread Jari Fredriksson
Theo Van Dinter wrote: Matt Florido wrote: I'm not seeing Bayes participating in the scoring. Is this because it's new and my Bayes db hasn't been fully trained? Yes. You need 200 each ham and spam. You can use sa-learn to dump the database stats and see how many of each have been

Re: Bayes Learning with Analysis Attached

2008-04-29 Thread Theo Van Dinter
On Wed, Apr 30, 2008 at 03:23:38AM +0300, Jari Fredriksson wrote: I wonder why it is called magic. Because the data that is being dumped is from the metadata in the DB, which we store using magic tokens, since they're tokens that can't possibly exist in the DB through normal means. --

Re: spamc/spamd bayes learning question

2007-03-26 Thread Magnus Holmgren
On Saturday 24 March 2007 23:04, Marc Perkel wrote: The learn-spam script looks like this: /usr/bin/spamc -d euclid.ctyme.com -x -t 15 -L spam /dev/null 2 /dev/null /bin/echo /dev/null The echo command is just there so it returns a 0 and exim doesn't complain. Probably a better way to

Re: spamc/spamd bayes learning question

2007-03-25 Thread Matt Kettler
Marc Perkel wrote: Trying to set up spamc/spamd learning. Have a dedicated spamd server that is fed from several MTA machines running exim. On the exim side I'm piping messages into spamc as follows: unseen pipe /etc/exim/scripts/learn-spam The learn-spam script looks like this:

spamc/spamd bayes learning question

2007-03-24 Thread Marc Perkel
Trying to set up spamc/spamd learning. Have a dedicated spamd server that is fed from several MTA machines running exim. On the exim side I'm piping messages into spamc as follows: unseen pipe /etc/exim/scripts/learn-spam The learn-spam script looks like this: /usr/bin/spamc -d

Re: Bayes learning email address

2006-04-16 Thread Andrew
John D. Hardin wrote: On Sat, 15 Apr 2006, mouss wrote: - you are trusting your users to make the right decision. The problem is that different people have different opinions of what is spam and what is not. Things get even worst if one user isn't honest... That's a problem with *any*

Re: Bayes learning email address

2006-04-15 Thread John D. Hardin
On Sat, 15 Apr 2006, mouss wrote: - you are trusting your users to make the right decision. The problem is that different people have different opinions of what is spam and what is not. Things get even worst if one user isn't honest... That's a problem with *any* scheme for allowing the

Re: Bayes learning email address

2006-04-14 Thread mouss
Owen Mehegan wrote: To make it easier for my users to train my server's Bayes database, I set up a user with the following procmail recipe in its .procmailrc: :0 * 256000 { :0c: spamassassin.spamlock | sa-learn --spam :0: spamassassin.filelock spam } The idea is for

Problem with Bayes learning

2006-02-28 Thread Jonathan Nie
Greetings! I got a problem when I try to feed Bayes with large number of emails (over 1500). It just hang there and I got the the following error messages from maillog file: .bayes: cannot open bayes databases /spamassassin/bayes_* R/W: lock failed: File exists Does anyone know how to

Re: Problem with Bayes learning

2006-02-28 Thread Tyler Nally
On Tuesday 28 February 2006 05:06 pm, Jonathan Nie wrote: Greetings! I got a problem when I try to feed Bayes with large number of emails (over 1500). It just hang there and I got the the following error messages from maillog file: .bayes: cannot open bayes databases

Re: Problem with Bayes learning

2006-02-28 Thread Matt Kettler
Tyler Nally wrote: On Tuesday 28 February 2006 05:06 pm, Jonathan Nie wrote: Greetings! I got a problem when I try to feed Bayes with large number of emails (over 1500). It just hang there and I got the the following error messages from maillog file: .bayes: cannot open bayes databases

Re: Problem with Bayes learning

2006-02-28 Thread Matt Kettler
Jonathan Nie wrote: Greetings! I got a problem when I try to feed Bayes with large number of emails (over 1500). It just hang there and I got the the following error messages from maillog file: .bayes: cannot open bayes databases /spamassassin/bayes_* R/W: lock failed: File exists

Re: Problem with Bayes learning

2006-02-28 Thread Jonathan Nie
Hi Matt, I am new to spamassassin. Thank you so much for your help and Tyler too. Bayes autolearn is enabled when I feed Bayes with the 1500 emails manually using the sa-learn command. Does it cause the problem? I also checked the Bayes database directory and found two stale lock files

Re: Problem with Bayes learning

2006-02-28 Thread Tyler Nally
On Tuesday 28 February 2006 10:46 pm, you wrote: I am new to spamassassin. Thank you so much for your help and Tyler too. Thanks.. I'm not the expert.. I just use it! Bayes autolearn is enabled when I feed Bayes with the 1500 emails manually using the sa-learn command. Does it cause the

Re: Problem with Bayes learning

2006-02-28 Thread jdow
Stop receiving emails. Stop the SpamAssassin service once the incoming mail spool is empty. Then kill all vestiges of spamd or spamassassin that might still be running from previously improperly terminated sessions. Then run sa-learn. If it STILL hangs with this lock you'd a problem somewhere fer

Per-User - Bayes Learning

2006-01-01 Thread Duane Hill
Hello All, I have e-mail accounts that have been sending Spam to a specific e-mail address as an attachment for some time now. Before they were manually gone through as I didn't have anything specific set up on a per-account basis. Now that I have SA on our Win2K server storing

Re: Per-User - Bayes Learning

2006-01-01 Thread Matt Kettler
At 10:00 PM 1/1/2006, Duane Hill wrote: Hello All, I have e-mail accounts that have been sending Spam to a specific e-mail address as an attachment for some time now. Before they were manually gone through as I didn't have anything specific set up on a per-account basis. Now that

RE: Bayes learning error

2005-06-20 Thread Chris Russell
Hi Robert, You need to install the DB_File perl module. Do the following: perl -eshell -MCPAN install DB_File Cheers, Chris From: Robert Swan [mailto:[EMAIL PROTECTED] Sent: 20 June 2005 14:53To: users@spamassassin.apache.orgSubject: Bayes learning error I am getting an error when

Detailed directions for using IMAP for Bayes learning and configuring webuserprefs

2005-03-23 Thread Dan Kohn
Some folks might be interested in the updated detailed install instructions on the wiki. I've added sections on setting up a LearnAsSpam IMAP folder that's remotely processed. This is the best solution I've seen for integrating SpamAssassin with end-users on an Exchange server.

Do you use MS Exchange public folders for bayes learning?

2005-03-05 Thread Matt Yackley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I would like to throw out a request for admins that are using, have tried or want to use MS Exchage public folders to gather messages that will be fed back to sa-learn. Background: Since there are not many (any?) good ways to retrieve

Re: Bayes learning

2004-11-29 Thread Jim Maul
Lisa Casey wrote: Hi All, I'm still fairly new to Spamassassin. I have a question regarding Bayes learning in Spamassassin. I'm running Spamassassin 3.0.1 on Redhat Linux. I have one mailbox on this server that receives nothing but spam and quite a lot of it. I decided that would be a good

Re: Bayes learning

2004-11-29 Thread Lisa Casey
- Original Message - From: [EMAIL PROTECTED] To: Lisa Casey [EMAIL PROTECTED] Cc: users@spamassassin.apache.org Sent: Monday, November 29, 2004 4:21 PM Subject: Re: Bayes learning Make sure the user you are running the script as is the same user that spamassassin runs as and that you

  1   2   >