Re: Bayes "corpus" - how old?

2024-01-31 Thread Bill Cole
On 2024-01-31 at 08:16:13 UTC-0500 (Wed, 31 Jan 2024 14:16:13 +0100) Matus UHLAR - fantomas is rumored to have said: On 2024-01-30 at 12:08:18 UTC-0500 (Tue, 30 Jan 2024 18:08:18 +0100) Matus UHLAR - fantomas is rumored to have said: [...] autolearn may help if your DB is well maintained,

Re: Bayes "corpus" - how old?

2024-01-31 Thread Matus UHLAR - fantomas
On 2024-01-30 at 12:08:18 UTC-0500 (Tue, 30 Jan 2024 18:08:18 +0100) Matus UHLAR - fantomas is rumored to have said: [...] autolearn may help if your DB is well maintained, although I have disabled nearly all rules with negative scores, like RCVD_IN_DNSWL_* RCVD_IN_IADB_* DKIMWL_WL_*

Re: Bayes "corpus" - how old?

2024-01-30 Thread Bill Cole
On 2024-01-30 at 12:08:18 UTC-0500 (Tue, 30 Jan 2024 18:08:18 +0100) Matus UHLAR - fantomas is rumored to have said: [...] autolearn may help if your DB is well maintained, although I have disabled nearly all rules with negative scores, like RCVD_IN_DNSWL_* RCVD_IN_IADB_* DKIMWL_WL_*

Re: Bayes "corpus" - how old?

2024-01-30 Thread Matus UHLAR - fantomas
On 30.01.24 09:59, joe a wrote: Advisable to "prune" Bayes data based on age? While cleaning up recent Ham/Spam, found my "saved SPAM" goes back to 2013. Why that's over . . . wait, I need to take off my socks . . . So, how old is "too old".  For saved SPAM?

Re: Bayes "corpus" - how old?

2024-01-30 Thread joe a
On 1/30/2024 10:58:52, Matus UHLAR - fantomas wrote: On 30.01.24 09:59, joe a wrote: Advisable to "prune" Bayes data based on age? While cleaning up recent Ham/Spam, found my "saved SPAM" goes back to 2013. Why that's over . . . wait, I need to take off my socks . . .

Re: Bayes "corpus" - how old?

2024-01-30 Thread Bill Cole
On 2024-01-30 at 09:59:52 UTC-0500 (Tue, 30 Jan 2024 09:59:52 -0500) joe a is rumored to have said: Advisable to "prune" Bayes data based on age? Yes. That is why it has an expiration model. Expiration may be de facto blocked on some busy systems so you may need to explic

Re: Bayes "corpus" - how old?

2024-01-30 Thread Matus UHLAR - fantomas
On 30.01.24 09:59, joe a wrote: Advisable to "prune" Bayes data based on age? While cleaning up recent Ham/Spam, found my "saved SPAM" goes back to 2013. Why that's over . . . wait, I need to take off my socks . . . So, how old is "too old". For saved SPAM

Bayes "corpus" - how old?

2024-01-30 Thread joe a
Advisable to "prune" Bayes data based on age? While cleaning up recent Ham/Spam, found my "saved SPAM" goes back to 2013. Why that's over . . . wait, I need to take off my socks . . . So, how old is "too old". For saved SPAM?

Re: Bayes Stopword

2023-12-29 Thread Jimmy
paclan.it <mailto:giova...@paclan.it>>> > wrote: > > > > > > To create the stopwords regexp I used the script I shared in > a previous email and a list of words one per line. > > > Could you share the list you are using ? > > >

Re: Bayes Stopword

2023-12-29 Thread giovanni
u share the list you are using ? > >         Giovanni > >     On 12/29/23 09:22, Jimmy wrote: >      > I use SpamAssassin 4.0.0 (2022-12-14) >      > >      > $ spamassassin -D --lint 2>&1 | grep bayes: >      > Dec 29 1

Re: Bayes Stopword

2023-12-29 Thread Jimmy
ist you are using ? > > > > Giovanni > > > > On 12/29/23 09:22, Jimmy wrote: > > > I use SpamAssassin 4.0.0 (2022-12-14) > > > > > > $ spamassassin -D --lint 2>&1 | grep bayes: > > > Dec 29 15:17:5

Re: Bayes Stopword

2023-12-29 Thread giovanni
Could you share the list you are using ?    Giovanni On 12/29/23 09:22, Jimmy wrote: > I use SpamAssassin 4.0.0 (2022-12-14) > > $ spamassassin -D --lint 2>&1 | grep bayes: > Dec 29 15:17:56.919 [17420] dbg: bayes: stopword found lang=en &g

Re: Bayes Stopword

2023-12-29 Thread Jimmy
you share the list you are using ? > >Giovanni > > On 12/29/23 09:22, Jimmy wrote: > > I use SpamAssassin 4.0.0 (2022-12-14) > > > > $ spamassassin -D --lint 2>&1 | grep bayes: > > Dec 29 15:17:56.919 [17420] dbg: bayes: stopword found lang=en > > D

Re: Bayes Stopword

2023-12-29 Thread giovanni
To create the stopwords regexp I used the script I shared in a previous email and a list of words one per line. Could you share the list you are using ? Giovanni On 12/29/23 09:22, Jimmy wrote: I use SpamAssassin 4.0.0 (2022-12-14) $ spamassassin -D --lint 2>&1 | grep bayes: Dec 2

Re: Bayes Stopword

2023-12-29 Thread Jimmy
I use SpamAssassin 4.0.0 (2022-12-14) $ spamassassin -D --lint 2>&1 | grep bayes: Dec 29 15:17:56.919 [17420] dbg: bayes: stopword found lang=en Dec 29 15:17:56.919 [17420] dbg: bayes: stopword found lang=th Dec 29 15:17:56.919 [17420] dbg: bayes: stopword found lang=ru Dec 29 15:17:56.919

Re: Bayes Stopword

2023-12-28 Thread giovanni
rds-th.txt and it produces a working regexp. Bayes stopwords languages must also be enabled using "bayes_stopword_languages" config keyword, by default only english is enabled. Giovanni On 12/28/23 17:06, Jimmy wrote: bayes_stopword_th https://pastebin.pl/view/0838138d <https://pastebin.p

Re: Bayes Stopword

2023-12-28 Thread Jimmy
one that, and I am also editing Plugin/Bayes.pm to > investigate why it is not being skipped. I suspect that if words are not > separated by spaces, longer words may not match those patterns. > > > > Jimmy > > > > On Thu, Dec 28, 2023 at 10:13 PM giova...@paclan.it>>

Re: Bayes Stopword

2023-12-28 Thread giovanni
patterns. Jimmy On Thu, Dec 28, 2023 at 10:13 PM mailto:giova...@paclan.it>> wrote: "spamassassin -D bayes" will tell you, you should see a line like: bayes: skipped token 'from' because it's in stopword list for language 'en'   Giovanni On 12/28/23 15

Re: Bayes Stopword

2023-12-28 Thread Jimmy
Yes, I have done that, and I am also editing Plugin/Bayes.pm to investigate why it is not being skipped. I suspect that if words are not separated by spaces, longer words may not match those patterns. Jimmy On Thu, Dec 28, 2023 at 10:13 PM wrote: > "spamassassin -D bayes" will

Re: Bayes Stopword

2023-12-28 Thread giovanni
"spamassassin -D bayes" will tell you, you should see a line like: bayes: skipped token 'from' because it's in stopword list for language 'en' Giovanni On 12/28/23 15:45, Jimmy wrote: The pattern has successfully passed the test script, but it needs to check whether Baye

Re: Bayes Stopword

2023-12-28 Thread Jimmy
The pattern has successfully passed the test script, but it needs to check whether Bayes learning will identify and possibly exclude the word from matching this pattern. Thank you. On Thu, Dec 28, 2023 at 9:22 PM wrote: > On 12/28/23 12:59, Jimmy wrote: > > Hi, > > > > I

Re: Bayes Stopword

2023-12-28 Thread giovanni
used Regexp::Trie to create Bayes stopwords in the past, code is similar to: --- use strict; use warnings; use Encode; use Regexp::Trie; my @input = ; my $rt = Regexp::Trie->new; for

Bayes Stopword

2023-12-28 Thread Jimmy
Hi, I'm seeking assistance in incorporating a stopword for Asian languages in Unicode. Although I possess comprehensive word lists, my attempts to generate a regex pattern and test it have been unsuccessful; the pattern fails to match or skips tokens in the newly added stopword list. I created

Re: Bayes always reject.

2023-12-13 Thread Jeff Mincy
something to strip off all of the email headers? For the BAYES_99, as already mentioned you probably need to retrain bayes, making sure to correct any incorrectly trained email messages. -jeff

Re: Bayes always reject.

2023-12-13 Thread Bill Cole
On 2023-12-13 at 01:49:24 UTC-0500 (Wed, 13 Dec 2023 07:49:24 +0100) Pierluigi Frullani is rumored to have said: Hello all, I'm facing a strange problem. Not really. MANY people run into this issue... I've feed the bayes db for a while and now I would like to put it in use but all

Bayes always reject.

2023-12-12 Thread Pierluigi Frullani
Hello all, I'm facing a strange problem. I've feed the bayes db for a while and now I would like to put it in use but all messages get a BAYES_99 and very high spam point. I would like to understand why, and troubleshoot this problem but I can't find a way. Spamassassin version is: root@puma

Re: Share bayes database between servers

2023-07-09 Thread Matija Nalis
On Sun, Jul 09, 2023 at 07:06:10PM +0200, Robert Senger wrote: > I've set up a testing environment that also uses master-master > replication of the mysql bayes database, with priority in dns set to > equal for both mx to get incoming mail distributed evenly to both > systems. So far

Re: Share bayes database between servers

2023-07-09 Thread Robert Senger
Am Sonntag, dem 09.07.2023 um 19:21 +0200 schrieb Reindl Harald: > > > Am 09.07.23 um 19:06 schrieb Robert Senger: > > But bayes data may be updated by either the primary mx or the > > backup > > mx, since email may arrive at either server. > > in a smart setup

Share bayes database between servers

2023-07-09 Thread Robert Senger
Hi there, I am running two mailservers, first one serving two domains, other one serving one domain. Both serve as backup mx for each other. Both know about users and aliases of the other domain(s). On both systems, spamassassin is configured to read/store userprefs and bayes data (per user

Re: BAYES scores

2023-03-01 Thread Benny Pedersen
joe a skrev den 2023-02-28 17:37: Curious as to why these scores, apparently "stock" are what they are. I'd expect BAYES_999 BODY to count more than BAYES_99 BODY. Noted in a header this morning: * 3.5 BAYES_99 BODY: Bayes spam probability is 99 to 100% * [score: 1.] * 0.2

Re: BAYES scores

2023-02-28 Thread Loren Wilton
From: "Bill Cole" It is my understanding that an automated rescoring job was run quite some time ago (before I was on the PMC) to generate the Bayes scores, which determined that to be the best supplemental score to give to the greater certainty. I was around in those days. My me

Re: BAYES scores

2023-02-28 Thread Benny Pedersen
joe a skrev den 2023-02-28 17:37: Curious as to why these scores, apparently "stock" are what they are. I'd expect BAYES_999 BODY to count more than BAYES_99 BODY. Noted in a header this morning: * 3.5 BAYES_99 BODY: Bayes spam probability is 99 to 100% * [score: 1.] * 0.2

Re: BAYES scores

2023-02-28 Thread Bill Cole
at they are. > I'd expect BAYES_999 BODY to count more than BAYES_99 BODY. > > Noted in a header this morning: > > * 3.5 BAYES_99 BODY: Bayes spam probability is 99 to 100% > * [score: 1.] > * 0.2 BAYES_999 BODY: Bayes spam probabilit

Re: BAYES scores

2023-02-28 Thread hg user
pam, go with 2 or more; if you have several false positives, keep the score low. I learnt the hard way that BAYES depends on the corpus used to grow the database. On Tue, Feb 28, 2023 at 7:39 PM joe a wrote: > On 2/28/2023 12:05 PM, Jeff Mincy wrote: > > > From: joe a > >

Re: BAYES scores

2023-02-28 Thread joe a
er this morning: > > * 3.5 BAYES_99 BODY: Bayes spam probability is 99 to 100% > * [score: 1.] > * 0.2 BAYES_999 BODY: Bayes spam probability is 99.9 to 100% > * [score: 1.] > > Was this discussed recently? I added a local score to mollify

Re: BAYES scores

2023-02-28 Thread Jeff Mincy
> From: joe a > Date: Tue, 28 Feb 2023 11:37:34 -0500 > > Curious as to why these scores, apparently "stock" are what they are. > I'd expect BAYES_999 BODY to count more than BAYES_99 BODY. > > Noted in a header this morning: > > * 3.5 BAYES_

BAYES scores

2023-02-28 Thread joe a
Curious as to why these scores, apparently "stock" are what they are. I'd expect BAYES_999 BODY to count more than BAYES_99 BODY. Noted in a header this morning: * 3.5 BAYES_99 BODY: Bayes spam probability is 99 to 100% * [score: 1.] * 0.2 BAYES_999 BODY: Bayes spam p

Re: Strange findings debugging bayes results

2023-02-21 Thread Michael Grant via users
as too difficult for users to deal with. I was considering 2 folders: 'Spam Training Set' and 'Ham Training Set' which would always represent the set of messages that Spamassassin was currently trained with. If you changed the contents of these mboxes, a cron job would delete the old bayes tok

Re: Strange findings debugging bayes results

2023-02-20 Thread Loren Wilton
From: "Reindl Harald" in other words a system for morons - morons which will drag mails to spam instead click on "unsubscribe" per-user bayes don't work well, never Well Harald, you are certainly welcome to your opinion. It would be nicer if you had kept it yoursel

Re: Strange findings debugging bayes results

2023-02-20 Thread Loren Wilton
Subject: Re: Strange findings debugging bayes results On 20 February 2023 12:28:00 CET, Loren Wilton wrote: > > A cron job that will harvest Spam and Ham mboxes and feed them to sa-learn once a day, then archive the learned messages. Per-user bayes and learning. Mail is hand-moved into

Re: Strange findings debugging bayes results

2023-02-20 Thread Michael Grant via users
On 20 February 2023 12:28:00 CET, Loren Wilton wrote: > > A cron job that will harvest Spam and Ham mboxes and feed them to sa-learn > once a day, then archive the learned messages. Per-user bayes and learning. > Mail is hand-moved into the spam and ham learning folders, and for my

Re: Strange findings debugging bayes results

2023-02-20 Thread Loren Wilton
> Can you please give me some details on your bayes setup? > Headers exclusion, bayes_token_sources, how do you "sa-learn" messages... Standard options on Bayes. No autolearn. A cron job that will harvest Spam and Ham mboxes and feed them to sa-learn once a day, then arc

Re: Strange findings debugging bayes results

2023-02-19 Thread hg user
Can you please give me some details on your bayes setup? Headers exclusion, bayes_token_sources, how do you "sa-learn" messages... thank you On Sun, Feb 19, 2023 at 11:53 PM Loren Wilton wrote: > > The real question is: has bayes still its use case in 2023 ? Is it still >

Re: Strange findings debugging bayes results

2023-02-19 Thread Loren Wilton
> The real question is: has bayes still its use case in 2023 ? Is it still used > with important scores or just to flag messages for a review? It works fine for me here.

Re: Strange findings debugging bayes results

2023-02-19 Thread hg user
> > > bayes_token_sources none visible uri mimepart > I added this line to my config with no changes in the tokens used to sum the bayes score, headers still used. It may be a command only recognized during learning but I should check the sources. > perhaps OP has bayes_token_

Re: Strange findings debugging bayes results

2023-02-16 Thread Matija Nalis
On Thu, Feb 16, 2023 at 01:02:25PM +0200, Henrik K wrote: > On Thu, Feb 16, 2023 at 10:18:50AM +0100, hg user wrote: > > Every score is based on headers, very generic headers. and some > > related to my setup. > > > > Not a single token from the message body >

Re: Strange findings debugging bayes results

2023-02-16 Thread Axb
I've updated 23_bayes_ignore_header.cf (last update was from 2016 :) https://svn.apache.org/repos/asf/spamassassin/trunk/rulesrc/sandbox/axb/23_bayes_ignore_header.cf Axb On 2/16/23 14:17, Dave Wreski wrote: Here's also another 50+ headers we've collected over the years that I believe started

Re: Strange findings debugging bayes results

2023-02-16 Thread Dave Wreski
of bitcoin spam: different titles, different senders (all from gmail), different text, different pdf attachment. Unfortunately in those days my bayes db was polluted and they all got a BAYES_50, 0.8. I tested the messages now with a recreated bayes db and got some BAYES_999. So I dug to understand if I

Re: Strange findings debugging bayes results

2023-02-16 Thread Henrik K
On Thu, Feb 16, 2023 at 10:18:50AM +0100, hg user wrote: > I was investigating a bunch of bitcoin spam: different titles, > different senders (all from gmail), different text, different pdf > attachment. > > Unfortunately in those days my bayes db was polluted and they all got &g

Strange findings debugging bayes results

2023-02-16 Thread hg user
I was investigating a bunch of bitcoin spam: different titles, different senders (all from gmail), different text, different pdf attachment. Unfortunately in those days my bayes db was polluted and they all got a BAYES_50, 0.8. I tested the messages now with a recreated bayes db and got some

Re: bayes in sqlite db

2022-08-16 Thread Matt Corallo
Grant wrote: Does anyone have a working example of storing Bayes and user prefs in SQLite? I only see mysql and postgres schemas in /usr/share/doc/spamassassin/sql/ Michael Grant

bayes in sqlite db

2022-05-26 Thread Michael Grant
Does anyone have a working example of storing Bayes and user prefs in SQLite? I only see mysql and postgres schemas in /usr/share/doc/spamassassin/sql/ Michael Grant signature.asc Description: PGP signature

Re: rules for a sneaky SPEAR-VIRUS spam that gets past bayes

2022-03-03 Thread Loren Wilton
Just off the top of my head: rawbodyONEDRIVE_DOWNLOADm'https://onedrive\.live\.com/download[?]cid=' score ONEDRIVE_DOWNLOAD0.5 describeONEDRIVE_DOWNLOADDownload link to a file on Onedrive Personally I'd be inclined to put an i on the end of that. body

rules for a sneaky SPEAR-VIRUS spam that gets past bayes

2022-03-03 Thread Rob McEwen
rules for a sneaky SPEAR-VIRUS spam that gets past bayes because legit content from hijacked emails are copied into the spam, making it look like a follow-up msg of an existing legit conversation. Catch using these rules below. (Perhaps also add more to this to prevent rare FPs

Re: Question about user specific bayes

2022-01-19 Thread Benny Pedersen
On 2022-01-18 22:34, Bill Cole wrote: Well, maybe? I don't currently have a system using per-user Bayes and it's been a bit since I set one up so hopefully someone who has a working rig will speak up... fuglu have pr user bayes pr default, and it recently fixed that local part before could

RE: Question about user specific bayes

2022-01-18 Thread Dino Edwards
> Note that SA will try to create an empty DB if none exists. I'm not sure that > I can think up a circumstance (other than a disappearing user) where fallback > > to global Bayes would happen. SA will not fall back to a global Bayes DB > just because an otherwise perfectly g

Re: Question about user specific bayes

2022-01-18 Thread Bill Cole
and look in the /opt/sa-bayes-users/%u directory for the existence of bayes database and if it finds one, it will use it provided it's properly seeded. If not, it will fall back to the global bayes. Is that correct? Well, maybe? I don't currently have a system using per-user Bayes and it's been

RE: Question about user specific bayes

2022-01-18 Thread Dino Edwards
Hi, thanks for the quick reply. So when amavis calls on SA for an incoming message, it will pass the recipient (e-mail address) in the %u variable and then SA will take that variable and look in the /opt/sa-bayes-users/%u directory for the existence of bayes database and if it finds one

Re: Question about user specific bayes

2022-01-18 Thread Bill Cole
On 2022-01-18 at 11:12:01 UTC-0500 (Tue, 18 Jan 2022 16:12:01 +) Dino Edwards is rumored to have said: Hi, Trying to implement user specific bayes. My current setup is setup as follows in regards to global bayes. I'm also using amavis: bayes_path /opt/sa-bayes/bayes bayes_file_mode

Question about user specific bayes

2022-01-18 Thread Dino Edwards
Hi, Trying to implement user specific bayes. My current setup is setup as follows in regards to global bayes. I'm also using amavis: bayes_path /opt/sa-bayes/bayes bayes_file_mode 0777 use_bayes 1 use_bayes_rules 1 bayes_auto_learn 0 bayes_auto_learn_threshold_spam 15

Re: Starting Clean with Bayes

2021-10-23 Thread John Hardin
On Sat, 23 Oct 2021, Benny Pedersen wrote: On 2021-10-20 16:58, John Hardin wrote: On Wed, 20 Oct 2021, Axb wrote: On 10/19/21 8:06 PM, Jerry Malcolm wrote: Where do I find a starter toks file? You don't need a "starter" file. Your Bayes starter is your training corpora,

Re: Starting Clean with Bayes

2021-10-22 Thread Benny Pedersen
On 2021-10-20 16:58, John Hardin wrote: On Wed, 20 Oct 2021, Axb wrote: On 10/19/21 8:06 PM, Jerry Malcolm wrote: Where do I find a starter toks file? You don't need a "starter" file. Your Bayes starter is your training corpora, which you should retain in case you ever need to

Starting Clean With Bayes

2021-10-20 Thread Jerry Malcolm
I am starting over with a clean install of SA on an AWS Linux2 EC2.  I'm am struggling with getting Bayes set up correctly.  I have a very old bayes_toks file from a Jam Windows install from about 4 years ago.  I created a userId for spamd, and I put the bayes_toks file in /home/spamd/bayes

Re: Starting Clean with Bayes

2021-10-20 Thread John Hardin
On Wed, 20 Oct 2021, Axb wrote: On 10/19/21 8:06 PM, Jerry Malcolm wrote: Where do I find a starter toks file? You don't need a "starter" file. Your Bayes starter is your training corpora, which you should retain in case you ever need to start over from scratch as you're

Re: Starting Clean with Bayes

2021-10-20 Thread Axb
On 10/19/21 8:06 PM, Jerry Malcolm wrote: Where do I find a starter toks file? You don't need a "starter" file. As soon as it needs them, SA automagically creates the necessary files if it can write into the defined path. Just feed it some spams and hams as per docs and you'll see the

Starting Clean with Bayes

2021-10-19 Thread Jerry Malcolm
I am starting over with a clean install of SA on an AWS Linux2 EC2.  I'm am struggling with getting Bayes set up correctly.  I have a very old bayes_toks file from a Jam Windows install from about 4 years ago.  I created a userId for spamd, and I put the bayes_toks file in /home/spamd/bayes

Re: Bayes autolearn: how does it resolve whether rules are body or header related?

2021-05-10 Thread RW
On Mon, 10 May 2021 20:39:31 +0200 Bert Van de Poel wrote: > Based on what I've read, I agree that this is indeed a bug (or > actually several). I've filed the following bug reports: > https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7904 (missing body > types, as mentioned by RW) >

bayes stopwords.cf missing ifplugin

2021-05-10 Thread Benny Pedersen
ups

Re: Bayes autolearn: how does it resolve whether rules are body or header related?

2021-05-10 Thread Bert Van de Poel
Dear Loren, Thank you very much for your email. Based on your message I could deduce there were earlier messages (which I then read through a web archive). For some unexplained reason I never received the previous 3 responses to my email. I hope the university network isn't randomly

Re: Bayes autolearn: how does it resolve whether rules are body or header related?

2021-05-09 Thread Loren Wilton
so you don't have points from body rules. your mentioned URI_DEOBFU_INSTR is a meta rule: meta URI_DEOBFU_INSTR __URI_DEOBFU_INSTR && !__MSGID_OK_HOST so maybe it's not considered. They are treated as header, or ignored if marked as net. I think a bug report should be submitted for this.

Re: Bayes autolearn: how does it resolve whether rules are body or header related?

2021-05-09 Thread RW
On Sun, 9 May 2021 20:03:27 +0200 Matus UHLAR - fantomas wrote: > so you don't have points from body rules. > > your mentioned URI_DEOBFU_INSTR is a meta rule: > > meta URI_DEOBFU_INSTR __URI_DEOBFU_INSTR && !__MSGID_OK_HOST > > so maybe it's not considered. They are treated as header, or

Re: Bayes autolearn: how does it resolve whether rules are body or header related?

2021-05-09 Thread Matus UHLAR - fantomas
On 09.05.21 04:17, Bert Van de Poel wrote: Dear fellow Spamassassin users, I recently noticed that quite a lot of spam emails with high scores weren't marked for Bayes autolearning. While some senders and receivers were a common match, explaining why autolearn was nog, there was no clear

Re: Bayes autolearn: how does it resolve whether rules are body or header related?

2021-05-09 Thread RW
On Sun, 9 May 2021 04:17:26 +0200 Bert Van de Poel wrote: > Within the same realm, I'm also wondering whether these expected > numbers for body and header can be tweaked and if so, how. You can create a meta-rule for definite spam and set: tflags autolearn_force a hit on any rule with

Bayes autolearn: how does it resolve whether rules are body or header related?

2021-05-08 Thread Bert Van de Poel
Dear fellow Spamassassin users, I recently noticed that quite a lot of spam emails with high scores weren't marked for Bayes autolearning. While some senders and receivers were a common match, explaining why autolearn was nog, there was no clear explanation for other cases. I therefore put

Re: SA's bayes with the Redis backend?

2021-02-11 Thread Dean Carpenter
On 2021-02-11 12:58 pm, Alex wrote: > Hi, > >> I've had good luck with using mariadb and galera to share the spamassassin >> database across systems. I run a small 3-node setup for email, 2x servers >> running dovecot replicating to each other, and a 3rd galera quorum server. >> Mariadb

Re: SA's bayes with the Redis backend?

2021-02-11 Thread Antony Stone
On Thursday 11 February 2021 at 17:21:41, deano-spamassas...@areyes.com wrote: > Is there an easy/efficient way of converting an existing mariadb bayes > database to redis? > > Perhaps "sa-learn --backup", set up redis, then restore? https://www.mail-archive.com/users@s

Re: SA's bayes with the Redis backend?

2021-02-11 Thread deano-spamassassin
On 2021-02-11 9:54 am, Alex wrote: > Hi, > There is no real question, but what I would like to find out is (and to ask), > does it scale and are any pitfalls? Naturally, we would look at doing HA, but > am asking for that any comment, any tip, any opinion on using redis for &

Re: SA's bayes with the Redis backend?

2021-02-11 Thread Alex
Hi, > > There is no real question, but what I would like to find out is (and to > > ask), does it scale and are any pitfalls? > > Naturally, we would look at doing HA, but am asking for that any > > comment, any tip, any opinion on using redis for bayes. > > Been us

Re: SA's bayes with the Redis backend?

2021-02-10 Thread Axb
Hi Brent, On 2/10/21 12:21 PM, Brent Clark wrote: Good day Guys I just want to check with the community, is there anybody using SA's bayes with the Redis backend? I work at a largish ISP, so we talking lots of mail. There is no real question, but what I would like to find out

SA's bayes with the Redis backend?

2021-02-10 Thread Brent Clark
Good day Guys I just want to check with the community, is there anybody using SA's bayes with the Redis backend? I work at a largish ISP, so we talking lots of mail. There is no real question, but what I would like to find out is (and to ask), does it scale and are any pitfalls? Naturally

Re: Bayes converstion: SQL--> Redis?

2021-02-04 Thread Kevin A. McGrail
, I'd like to move over to a global redis system, but I don't see an easy way to convert from bayes SQL to redis bayes. Is this somewhere and I can't find it? "sa-learn --backup" with old config and "sa-learn --restore" with new one should do what you need. Giovanni H

Re: Bayes converstion: SQL--> Redis?

2021-02-04 Thread Giovanni Bechis
move over to a global redis system, but I don't see an > easy way to convert from bayes SQL to redis bayes. > > Is this somewhere and I can't find it? > "sa-learn --backup" with old config and "sa-learn --restore" with new one should do what you need. Giovanni

Bayes converstion: SQL--> Redis?

2021-02-04 Thread Dan Mahoney (Gushi)
bayes SQL to redis bayes. Is this somewhere and I can't find it? -Dan -- Dan Mahoney Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC FB: fb.com/DanielMahoneyIV LI: linkedin.com/in/gushi Site: http://www.gushi.org ---

Re: Error "cannot open bayes databases" lock failed: File exists

2021-01-22 Thread Matus UHLAR - fantomas
On 21.01.21 13:41, Emanuel Gonzalez wrote: anyway, the error is still represented even with low configuration values. Jan 21 10:39:43 eternia6 spamd[28053]: bayes: cannot open bayes databases /var/spamassassin/bayesdb/bayes_* R/W: lock failed: File exists Jan 21 10:39:43 eternia6 spamd[28299

Re: Error "cannot open bayes databases" lock failed: File exists

2021-01-21 Thread RW
On Thu, 21 Jan 2021 14:08:59 +0100 Matus UHLAR - fantomas wrote: > journalling may help a bit, but it makes no sense to parse more mail > within one CPU at the same time. That's true provided that everything remains completely CPU limited. The problem is that if you run any network tests and

RE: Error "cannot open bayes databases" lock failed: File exists

2021-01-21 Thread Emanuel Gonzalez
anyway, the error is still represented even with low configuration values. Jan 21 10:39:43 eternia6 spamd[28053]: bayes: cannot open bayes databases /var/spamassassin/bayesdb/bayes_* R/W: lock failed: File exists Jan 21 10:39:43 eternia6 spamd[28299]: bayes: cannot open bayes databases /var

RE: Error "cannot open bayes databases" lock failed: File exists

2021-01-21 Thread Emanuel Gonzalez
: Error "cannot open bayes databases" lock failed: File exists The problem can be generated by the number of processes? # Server CPU cpu family : 6 model : 60 model name : Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz # SpamAssassin SPAMDOPTIONS="-u spamd --min-ch

Re: Error "cannot open bayes databases" lock failed: File exists

2021-01-21 Thread Matus UHLAR - fantomas
On 20.01.21 18:31, Emanuel Gonzalez wrote: The problem can be generated by the number of processes? number of concurrent processes trying to write to the bayes DB at the same time. journalling may help a bit, but it makes no sense to parse more mail within one CPU at the same time

RE: Error "cannot open bayes databases" lock failed: File exists

2021-01-20 Thread Emanuel Gonzalez
ld=60 --max-conn-per-child=150 what change i need to apply? Regards, Emanuel. De: Matus UHLAR - fantomas Enviado: miércoles, 20 de enero de 2021 15:28 Para: users@spamassassin.apache.org Asunto: Re: Error "cannot open bayes databases" lock fail

Re: Error "cannot open bayes databases" lock failed: File exists

2021-01-20 Thread Matus UHLAR - fantomas
On 20.01.21 14:50, Emanuel Gonzalez wrote: Hello Matus, thanks for your reply. # ls -la /var/spamassassin/bayesdb/bayes ls: no se puede acceder a /var/spamassassin/bayesdb/bayes: No existe el fichero o el directorio I see an error of inexistent file. sorry, that was supposed to be: ls

Re: Error "cannot open bayes databases" lock failed: File exists

2021-01-20 Thread RW
lly need so many child processes? You have 40 in Bayes alone and in a previous post you had "--round-robin" with "--max-children=180", i.e. a fixed number of 180 in total.

RE: Error "cannot open bayes databases" lock failed: File exists

2021-01-20 Thread Emanuel Gonzalez
: miércoles, 20 de enero de 2021 13:39 Para: users@spamassassin.apache.org Asunto: Re: Error "cannot open bayes databases" lock failed: File exists On Wed, 20 Jan 2021, Matus UHLAR - fantomas wrote: > On 20.01.21 11:07, Emanuel Gonzalez wrote: >> Date: Wed, 20 Jan 2021 11:07:59 +00

Re: Error "cannot open bayes databases" lock failed: File exists

2021-01-20 Thread Dave Funk
On Wed, 20 Jan 2021, Matus UHLAR - fantomas wrote: On 20.01.21 11:07, Emanuel Gonzalez wrote: Date: Wed, 20 Jan 2021 11:07:59 + From: Emanuel Gonzalez To: SA Mailing list Subject: Re: Error "cannot open bayes databases" lock failed: File exists Hello everyone, i'm back from my

RE: Error "cannot open bayes databases" lock failed: File exists

2021-01-20 Thread Emanuel Gonzalez
Hello Matus, thanks for your reply. # ls -la /var/spamassassin/bayesdb/bayes ls: no se puede acceder a /var/spamassassin/bayesdb/bayes: No existe el fichero o el directorio I see an error of inexistent file. # lsof /var/spamassassin/bayesdb/bayes_journal /var/spamassassin/bayesdb/bayes_seen

Re: Error "cannot open bayes databases" lock failed: File exists

2021-01-20 Thread Matus UHLAR - fantomas
On 20.01.21 11:07, Emanuel Gonzalez wrote: Date: Wed, 20 Jan 2021 11:07:59 + From: Emanuel Gonzalez To: SA Mailing list Subject: Re: Error "cannot open bayes databases" lock failed: File exists Hello everyone, i'm back from my vacations, i try solved this problem but i cou

Re: Error "cannot open bayes databases" lock failed: File exists

2021-01-20 Thread Emanuel Gonzalez
Hello everyone, i'm back from my vacations, i try solved this problem but i could not. I still see in the spamsassin error logs the mentioned error: bayes_learn_to_journal 1 use_bayes yes bayes_path /var/spamassassin/bayesdb/bayes bayes_auto_learn 0 bayes_auto_expire 0 # - rw--- 1 spamd

Re: Error "cannot open bayes databases" lock failed: File exists

2020-12-30 Thread Kris Deugau
.48.0/22,168.181.184.0/22,138.219.40.0/22,138.36.236.0/22,66.97.32.0/20" Putting aside your Bayes error (which I'm pretty sure Matus answered), this seems like an awful lot of individual systems allowed to connect to a single spamd instance - it's not generally an end-user-accessible service. Do

Re: Error "cannot open bayes databases" lock failed: File exists

2020-12-30 Thread Matus UHLAR - fantomas
On 30.12.20 13:53, Emanuel Gonzalez wrote: Dec 30 09:56:57 eternia6 spamd[15993]: bayes: cannot open bayes databases /var/spamassassin/bayesdb/bayes_* R/W: lock failed: File exists Dec 30 09:56:57 eternia6 spamd[15915]: bayes: cannot open bayes databases /var/spamassassin/bayesdb/bayes_* R/W

Error "cannot open bayes databases" lock failed: File exists

2020-12-30 Thread Emanuel Gonzalez
Good Morning everyone, In the logs of spamassassin i see this error: Dec 30 09:56:57 eternia6 spamd[15993]: bayes: cannot open bayes databases /var/spamassassin/bayesdb/bayes_* R/W: lock failed: File exists Dec 30 09:56:57 eternia6 spamd[15915]: bayes: cannot open bayes databases /var

Re: per-user bayes

2020-12-09 Thread Kris Deugau
micah anderson wrote: Kris Deugau writes: There will only be one database and set of tables, but one of the fields in each table is the user identifier. Fair warning - if you go full per-user on a large system, this will MASSIVELY balloon the size of your Bayes database, and most users

  1   2   3   4   5   6   7   8   9   10   >