Re: Bayes learning for legitimate users

2015-03-14 Thread Matthias Leisi
> > Am 14.03.2015 um 16:45 schrieb Matus UHLAR - fantomas : > ...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 (which may have bee

Re: Bayes learning for legitimate users

2015-03-14 Thread Matus UHLAR - fantomas
On 14.03.15 15:00, Filip Havlíček wrote: I manage email through ISPConfig, I think wildcard for any domain is not set. seems you have relay_recipient_maps set, isn't your domain listed there? note that postfix rejects non-existing recipients by default (http://www.postfix.org/postconf.5.html#sm

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, F

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://pa

Re: Bayes learning for legitimate users

2015-03-13 Thread Filip Havlíček
Hi, there is my configuration: /etc/spamassassin/local.cf: http://pastebin.com/PM5jN8wi /etc/postfix/main.cf: http://pastebin.com/KWN7Ebyi /etc/amavis/conf.d/50-user: http://pastebin.com/ijSaqhuJ So, what I should modify? Thanks Dne 4.3.2015 v 20:39 Reindl Harald napsal(a): Am 04.03.2015 um

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 SpamAssassin

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 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://w

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, becau

Re: Bayes learning for legitimate users

2015-03-04 Thread Filip Havlíček
Sorry for bad reply only for you. How can I found out right path for config file: local.cf ? Maybe config is loaded from other path. I used MySQL structure from this file: http://spamassassin.apache.org/full/3.0.x/dist/sql/bayes_mysql.sql Thanks Dne 4.3.2015 v 14:43 Reindl Harald napsal(a)

Re: Bayes learning for legitimate users

2015-03-04 Thread Reindl Harald
don't reply offlist! Am 04.03.2015 um 14:13 schrieb Filip Havlíček: So you recommend set parameter *bayes_auto_learn* to value *0*? I had truncate tables and try set bayes_auto_learn 0 in /etc/spamassassin/local.cf but it does not work - new hundrends records of unknown email addresses occured i

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 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

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 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 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 whet

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 '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-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 yo

Re: bayes learning '0 messages found'

2010-02-15 Thread smfabac
Kai Schaetzl wrote: > > 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:

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
John Hardin wrote: > > 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-le

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-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 Hardin

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^

Re: bayes learning '0 messages found'

2010-02-13 Thread smfabac
Charles Gregory wrote: > > 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. > > We

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-15 wrote: > > On Fri, 12 Feb 2010 17:51:12 + > RW wrote: > >> On Fri, 12 Feb 2010 09:17:54 -0800 (PST) >> smfabac 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 b

Re: bayes learning '0 messages found'

2010-02-12 Thread RW
On Fri, 12 Feb 2010 17:51:12 + RW wrote: > On Fri, 12 Feb 2010 09:17:54 -0800 (PST) > smfabac 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 > > Nex

Re: bayes learning '0 messages found'

2010-02-12 Thread RW
On Fri, 12 Feb 2010 09:17:54 -0800 (PST) smfabac 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 i

Re: bayes learning '0 messages found'

2010-02-12 Thread smfabac
Mark Martinec wrote: > > 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

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
tonjg wrote: > > raq550 server > OS: strongbolt2 > 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

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 n

Re: bayes learning '0 messages found'

2010-01-28 Thread tonjg
Mark Martinec wrote: > > If the argument is a single mbox file, precede it with a --mbox option, > not with --dir . thanks for your response but I've got a further problem now (I think). I'm trying to do the same thing with the ham command# sa-learn --showdots --mbox --ham but nothing's happeni

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 S

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 a

Re: Bayes learning trusted networks mailing list email

2009-06-05 Thread RW
On Fri, 05 Jun 2009 10:24:31 -0400 Micah Anderson 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, tests that run on

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. -- Ra

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 o

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 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 part

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* schem

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 u

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 peopl

Re: Bayes learning error

2005-06-20 Thread Matt Kettler
At 09:52 AM 6/20/2005, Robert Swan wrote: I am getting an error when I run manual learning “sa-learn –ham” . Has anyone seen this before or have a clue how to fix it debug: bayes: DB_File module not installed, cannot use Bayes As it says, you need to install DB_File. This is going to be some

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 erro

Re: Bayes learning

2004-11-29 Thread snowjack
On Mon, 29 Nov 2004 17:24:48 -0500, "Lisa Casey" <[EMAIL PROTECTED]> said: > I changed ownership of the file in /etc/cron.daily from root to defang. No, change that back to root! You don't want the defang user to be able to change *anything* in /etc/cron.daily! Instead, change the script to look

Re: Bayes learning

2004-11-29 Thread Kris Deugau
Lisa Casey wrote: > So I should just drop the -C /etc/mail/spamassassin part in the > script? Yep. Unless you specifically want a different configuration/ruleset for your sa-learn call (odd but not unheard-of) you don't need to tell SA where to find its configuration. > In /etc/mail/spamassassin

Re: Bayes learning

2004-11-29 Thread Lisa Casey
- Original Message - From: "Kris Deugau" <[EMAIL PROTECTED]> To: Sent: Monday, November 29, 2004 5:05 PM Subject: Re: Bayes learning > Aside from the two "make sure you're running as the correct user" > suggestions, I'd change your script a

Re: Bayes learning

2004-11-29 Thread Kris Deugau
Lisa Casey wrote: > 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 > mailb

Re: Bayes learning

2004-11-29 Thread Jim Maul
Lisa Casey wrote: - Original Message - From: <[EMAIL PROTECTED]> To: "Lisa Casey" <[EMAIL PROTECTED]> Cc: 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 ru

Re: Bayes learning

2004-11-29 Thread Lisa Casey
- Original Message - From: <[EMAIL PROTECTED]> To: "Lisa Casey" <[EMAIL PROTECTED]> Cc: 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 a

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 mailbox

Re: Bayes learning

2004-11-29 Thread snowjack
Make sure the user you are running the script as is the same user that spamassassin runs as and that you are logged in as that same user when you run "spamassassin --lint --debug". You're probably training a different database file than the one that's getting used when you run the --lint check. O