Re: How to automatically train each users Bayes?

2015-03-30 Thread James Michael Keller
Here is what I'm using to do the same globally based on each users mail, but it could be tweaked to do per user.This happens to be a family only server, so I'm generally doing the spam/ham review for each user as needed: root@omega:/usr/local/bin# more sa-learn-systemwide #!/bin/sh # #

Re: How to automatically train each users Bayes?

2015-03-28 Thread
On 27 Mar 2015, at 13:03 , Michael m...@michi.su wrote: Yes, that's true. But if I'm right, new mails stay in new until the appropriate folder in the IMAP client has been opened, right? No. As soon as a client access the folder, it is moved to cur. This has nothing to do with a user opening

How to automatically train each users Bayes?

2015-03-27 Thread Michael
Hi, I would like automatically learn each users Bayes database in the following way: Do the following once a day for each user: 1.) sa-learn -u username --ham ../maildir/cur 2.) sa-learn -u username --spam ../maildir/.Spam/cur The idea is to train the Bayes for each user without the need to

Re: How to automatically train each users Bayes?

2015-03-27 Thread Reindl Harald
Am 27.03.2015 um 16:16 schrieb Michael: I would like automatically learn each users Bayes database in the following way: Do the following once a day for each user: 1.) sa-learn -u username --ham ../maildir/cur 2.) sa-learn -u username --spam ../maildir/.Spam/cur The idea is to train the

Re: How to automatically train each users Bayes?

2015-03-27 Thread Matus UHLAR - fantomas
On 27.03.15 15:16, Michael wrote: I would like automatically learn each users Bayes database in the following way: Do the following once a day for each user: 1.) sa-learn -u username --ham ../maildir/cur 2.) sa-learn -u username --spam ../maildir/.Spam/cur What do you think about this

Re: How to automatically train each users Bayes?

2015-03-27 Thread Michael
On 27.03.2015 19:09, RW wrote: On Fri, 27 Mar 2015 15:16:13 + Michael wrote: Hi, I would like automatically learn each users Bayes database in the following way: Do the following once a day for each user: 1.) sa-learn -u username --ham ../maildir/cur 2.) sa-learn -u username

Re: How to automatically train each users Bayes?

2015-03-27 Thread Michael
On 27.03.2015 19:54, Matus UHLAR - fantomas wrote: On 27.03.15 15:16, Michael wrote: I would like automatically learn each users Bayes database in the following way: Do the following once a day for each user: 1.) sa-learn -u username --ham ../maildir/cur 2.) sa-learn -u username --spam

Re: How to automatically train each users Bayes?

2015-03-27 Thread Michael
On 27.03.2015 16:21, Reindl Harald wrote: Am 27.03.2015 um 16:16 schrieb Michael: I would like automatically learn each users Bayes database in the following way: Do the following once a day for each user: 1.) sa-learn -u username --ham ../maildir/cur 2.) sa-learn -u username --spam

Re: How to automatically train each users Bayes?

2015-03-27 Thread RW
On Fri, 27 Mar 2015 15:16:13 + Michael wrote: Hi, I would like automatically learn each users Bayes database in the following way: Do the following once a day for each user: 1.) sa-learn -u username --ham ../maildir/cur 2.) sa-learn -u username --spam ../maildir/.Spam/cur The

Re: How to automatically train each users Bayes?

2015-03-27 Thread Matus UHLAR - fantomas
On 27.03.2015 19:54, Matus UHLAR - fantomas wrote: the easiest way is to train on false positives and false negatives. dovecot imapd has plugin to train when mail is moved from/to spam. On 27.03.15 20:10, Michael wrote: My concerns are the following: Sometimes new kind of spam is appearing.

Re: How to automatically train each users Bayes?

2015-03-27 Thread RW
On Fri, 27 Mar 2015 20:03:18 +0100 Michael wrote: On 27.03.2015 19:09, RW wrote: On Fri, 27 Mar 2015 15:16:13 + cur doesn't imply that the mail has been read; for that you need to check the seen flag in the filename, an S somewhere after the colon. Yes, that's true. But if I'm

Re: How to automatically train each users Bayes?

2015-03-27 Thread Alex Regan
Hi, Yes, that's true. But if I'm right, new mails stay in new until the appropriate folder in the IMAP client has been opened, right? I just assume, if the use has some false negatives in the folder, he will either immediately delete it or just move it into the Spam folder. People can have