Re: SA 4.0.1 Bayes in SQL: MYSQL_OPT_RECONNECT is deprecated

2025-01-10 Thread John Wilcock
Le 10/01/2025 à 15:35, Bill Cole a écrit : On 2025-01-10 at 08:49:04 UTC-0500 (Fri, 10 Jan 2025 14:49:04 +0100) John Wilcock is rumored to have said: Hi all, I'm using Spamassassin 4.0.1 on Gentoo and I've recently switched to using MySQL (actually Mariadb 10.6) for Bayes storage. I'm seei

Re: SA 4.0.1 Bayes in SQL: MYSQL_OPT_RECONNECT is deprecated

2025-01-10 Thread Bill Cole
On 2025-01-10 at 08:49:04 UTC-0500 (Fri, 10 Jan 2025 14:49:04 +0100) John Wilcock is rumored to have said: Hi all, I'm using Spamassassin 4.0.1 on Gentoo and I've recently switched to using MySQL (actually Mariadb 10.6) for Bayes storage. I'm seeing "WARNING: MYSQL_OPT_RECONNECT is deprecat

Re: SA treats percentage spaces wording as uri

2024-05-14 Thread Bill Cole
On 2024-05-13 at 20:09:33 UTC-0400 (Tue, 14 May 2024 10:09:33 +1000) Noel Butler is rumored to have said: This morning one of our ent_domains DMARC weekly report from a third party was listed as spam by SA which took the wording Not_percent-twenty_Resolved and passed it off to URI checks addi

Re: SA treats percentage spaces wording as uri

2024-05-14 Thread Shawn Iverson
On Mon, May 13, 2024 at 8:10 PM Noel Butler wrote: > This morning one of our ent_domains DMARC weekly report from a third party > was listed as spam by SA which took the wording > Not_percent-twenty_Resolved and passed it off to URI checks adding > dot.com to it when there is no dot com after it

Re: SA treats percentage spaces wording as uri

2024-05-14 Thread Matus UHLAR - fantomas
On 14.05.24 10:09, Noel Butler wrote: This morning one of our ent_domains DMARC weekly report from a third party was listed as spam by SA which took the wording Not_percent-twenty_Resolved and passed it off to URI checks adding dot.com to it when there is no dot com after it, and a raw message

Re: SA 4.0.1 - DMARC plugin

2024-04-20 Thread Sidney Markowitz
I was wrong about the severity. It does look like the error aborts the running of the DMARC plugin when it happens, so no DMARC result will be scored for that email. I've committed a fix to trunk. This bug only happens in perl versions less than 5.20.0. I see that this case was in CentOS 7 wh

Re: SA 4.0.1 - DMARC plugin

2024-04-19 Thread Sidney Markowitz
As a practical matter, the message appears to be a warning in the log, but the results would be correct, so it can be ignored. Sidney Markowitz wrote on 20/04/24 9:55 am: I've open a bug in which I noted my suspicion of what is happening. https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8245

Re: SA 4.0.1 - DMARC plugin

2024-04-19 Thread Sidney Markowitz
I've open a bug in which I noted my suspicion of what is happening. https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8245 If you have a sanitized email that consistently causes this to happen, please attach it to the bug report. As I said in the bug report, I suspect that an email that does

Re: [sa-list] BIMI pilot at Google

2024-03-12 Thread Dan Mahoney
> On Jul 22, 2020, at 23:56, Luis E. Muñoz wrote: > > On 22 Jul 2020, at 23:14, Kevin A. McGrail wrote: > >> However, I have questions of adoption rate, impersonation concerns, >> anticompetitive concerns, and privacy concerns. This just sounds like a >> commercial tracking pixel but the dev

Re: sa-learn on an Exchange public folder

2023-12-05 Thread jahlives
Does anything "speak" against just fetching the message from said folder (ex getmail or fetchmail) and feed them to sa-learn? At least for getmail one can define a filter section which then calls sa-learn and give it the message for learning. I use a getmail config like this [retriever] type = Si

Re: sa-learn on an Exchange public folder

2023-12-04 Thread Bill Cole
On 2023-12-03 at 14:58:36 UTC-0500 (Sun, 3 Dec 2023 20:58:36 +0100) Emmanuel Seyman is rumored to have said: Hello all. I've set up SA at $WORK and now want to train the bayesian classifier. To that end, a public folder has been setup on our Exchange server and I want to run sa-learn on any em

Re: sa-learn on an Exchange public folder

2023-12-04 Thread Benny Pedersen
Kris Deugau skrev den 2023-12-04 18:23: Fair warning, I gave up on using IMAP for feeding Bayes locally because it started to glitch out and fail for no reason I could see. But the mailboxes I'm learning from are maildir on a *nix platform, not whatever black box Exchange hides things in. +

Re: sa-learn on an Exchange public folder

2023-12-04 Thread Kris Deugau
Emmanuel Seyman wrote: Hello all. I've set up SA at $WORK and now want to train the bayesian classifier. To that end, a public folder has been setup on our Exchange server and I want to run sa-learn on any email that is transferred to it. I'm guessing this is a popular thing to do and that the

Re: SA and UTF-8 Filename Attachments

2023-08-03 Thread Bill Cole
On 2023-08-03 at 12:21:11 UTC-0400 (Thu, 3 Aug 2023 12:21:11 -0400) Jared Hall is rumored to have said: SA v3.4.6: Consider an Email with a UTF-8 attachment name: ®Payroll_stubs.Htm defined by the MIME header: Content-Disposition: attachment; filename*0*=utf-8''%C2%AEPayroll_stubs.Htm A

Re: sa-update

2023-03-22 Thread Matt Anton via users
On 17 Mar 2023, at 16:03, Bill Cole wrote: Correct. We've had a problem with RuleQA, in that we have not had enough spam in the masscheck submissions to run the rescoring properly. I'm not sure whose submissions have dried up... The existing list of active rules and their scores is fine for n

Re: sa-update

2023-03-17 Thread Bill Cole
On 2023-03-17 at 05:11:30 UTC-0400 (Fri, 17 Mar 2023 10:11:30 +0100) SA list is rumored to have said: Hello, I didn't get an update since 5 March (1908044). Correct. We've had a problem with RuleQA, in that we have not had enough spam in the masscheck submissions to run the rescoring proper

Re: [sa-list] [External] warnings with sa-compile?

2023-02-11 Thread Bill Cole
On 2023-02-11 at 09:31:53 UTC-0500 (Sat, 11 Feb 2023 06:31:53 -0800 (PST)) Dan Mahoney (Gushi) is rumored to have said: On Fri, 10 Feb 2023, Kevin A. McGrail wrote: Does this still occur after a change I made yesterday?  I had a regex that some versions of perl handle and others didn't. St

Re: [sa-list] Re: [External] warnings with sa-compile?

2023-02-11 Thread Dan Mahoney (Gushi)
On Fri, 10 Feb 2023, Kevin A. McGrail wrote: Does this still occur after a change I made yesterday?  I had a regex that some versions of perl handle and others didn't. Still ongoing as of a few minutes ago. If you want full output, let me know. If there's a way to force sa-compile to use g

Re: SA build from cpan fails under certain conditions

2022-12-22 Thread Tom Hendrikx
On 22-12-2022 01:48, Shawn Iverson wrote: > I will not engage in furthering this conversation. Sad there seems to > be some toxicity here. > Hi Shawn, Please ignore comments from Reindl Harald, he has been banned from several mailing lists for sending negative, abusive or outright aggressive

Re: SA build from cpan fails under certain conditions

2022-12-21 Thread Shawn Iverson
I will not engage in furthering this conversation. Sad there seems to be some toxicity here. On Wed, Dec 21, 2022, 7:46 PM Reindl Harald wrote: > > > Am 22.12.22 um 01:36 schrieb Shawn Iverson: > > I already build my own rpms > > so use them > > > This is not for my use > > so what's the point

Re: SA build from cpan fails under certain conditions

2022-12-21 Thread Shawn Iverson
I already build my own rpms. This is not for my use. Sorry if trying to provide a helpful tid on cpan as described in the SA release was wrong. On Wed, Dec 21, 2022, 7:34 PM Reindl Harald wrote: > > > Am 21.12.22 um 21:43 schrieb Shawn Iverson: > > I agree with you on that. In my specific use

Re: SA build from cpan fails under certain conditions

2022-12-21 Thread Loren Wilton
If this is on 4.0, perhaps a bug should be opened. - Original Message - From: Shawn Iverson To: SA Mailing list Sent: Wednesday, December 21, 2022 10:05 AM Subject: SA build from cpan fails under certain conditions Hello SA Users, Just posting this in case anyone else r

Re: SA build from cpan fails under certain conditions

2022-12-21 Thread Shawn Iverson
I agree with you on that. In my specific use case I need fallback to cpan when rpms aren't available. On Wed, Dec 21, 2022, 3:32 PM Matus UHLAR - fantomas wrote: > On 21.12.22 13:05, Shawn Iverson wrote: > >sudo cpan Mail::Spamassassin seems to only build properly on recent > flavors > >of rhel

Re: SA build from cpan fails under certain conditions

2022-12-21 Thread Matus UHLAR - fantomas
On 21.12.22 13:05, Shawn Iverson wrote: sudo cpan Mail::Spamassassin seems to only build properly on recent flavors of rhel under very specific conditions, notably: I recommend you NOT install spamassassin via CPAN, but from package. perhaps the one in redhat or in EPEL -- Matus UHLAR - fantom

Re: SA 4.0.0-rc3 meta rule results "undefined"

2022-10-11 Thread Henrik K
On Tue, Oct 11, 2022 at 02:54:08PM +0200, Damian wrote: > > > # __SA4 injected inside amavis via $suppl_attrib->{rule_hits} > > > meta  SA4 __SA4 > > > score SA4 1 > > > describe SA4 dummy > > yields > > > SA dbg: rules-all: unrun dependencies prevented meta SA4 from > > > running: __SA4 > > The a

Re: SA 4.0.0-rc3 meta rule results "undefined"

2022-10-11 Thread Damian
# __SA4 injected inside amavis via $suppl_attrib->{rule_hits} meta  SA4 __SA4 score SA4 1 describe SA4 dummy yields SA dbg: rules-all: unrun dependencies prevented meta SA4 from running: __SA4 The above is slightly misleading, even in SA3 one had to predeclare a default via meta __SA4 0 me

Re: SA 4.0.0-rc3 meta rule results "undefined"

2022-10-11 Thread Damian
Should be fixed in rc4. https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8060 There remains a bug in the context of $suppl_attrib. # __SA4 injected inside amavis via $suppl_attrib->{rule_hits} meta  SA4 __SA4 score SA4 1 describe SA4 dummy yields SA dbg: rules-all: unrun dependencies preve

Re: SA 4.0.0-rc3 meta rule results "undefined"

2022-10-11 Thread Wolfgang Breyha
On 11/10/2022 13:29, Henrik K wrote: Would need exact sample of ruleset, this is too vague to work on. What are all the __SUBMETAs? Would it be ok to send you my ruleset with test.eml offlist? I do not want to send them here publicly or to bugzilla, because they contain a lot of local brandi

Re: SA 4.0.0-rc3 meta rule results "undefined"

2022-10-11 Thread Henrik K
On Tue, Oct 11, 2022 at 01:09:03PM +0200, Wolfgang Breyha wrote: > > And I've still cases were a simple ">" is not evaluated as well... > > I have > meta __META1 (__SUBMETAX + . + __SUBMETAXN) > with > dbg: rules: ran meta rule __META1 ==> got hit (5) > > I have > meta __META2 (__SUBMET

Re: SA 4.0.0-rc3 meta rule results "undefined"

2022-10-11 Thread Wolfgang Breyha
On 11/10/2022 13:22, Henrik K wrote: Remains unclear if you applied the patch from https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8059 ? I applied both on rc3 via .spec: + echo 'Patch #1 (SA4rc3_uridnsbl.patch):' Patch #1 (SA4rc3_uridnsbl.patch): + /usr/bin/patch --no-backup-if-mismatch -p

Re: SA 4.0.0-rc3 meta rule results "undefined"

2022-10-11 Thread Henrik K
On Tue, Oct 11, 2022 at 01:09:03PM +0200, Wolfgang Breyha wrote: > On 11/10/2022 12:23, Henrik K wrote: > > Should be fixed in rc4. > > > > https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8060 > > Well, this indeed fixes this test case. But my initial problem which I > though is described in t

Re: SA 4.0.0-rc3 meta rule results "undefined"

2022-10-11 Thread Wolfgang Breyha
On 11/10/2022 12:23, Henrik K wrote: Should be fixed in rc4. https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8060 Well, this indeed fixes this test case. But my initial problem which I though is described in this test case is not fixed yet:( So __SA4TA1 gets not evaluated neither in this

Re: SA 4.0.0-rc3 meta rule results "undefined"

2022-10-11 Thread Henrik K
On Tue, Oct 11, 2022 at 12:21:23PM +0300, Henrik K wrote: > On Tue, Oct 11, 2022 at 10:48:26AM +0200, Wolfgang Breyha wrote: > > On 11/10/2022 06:59, Henrik K wrote: > > > On Tue, Oct 11, 2022 at 12:50:38AM +0200, Wolfgang Breyha wrote: > > > > > > > > And another quite simple ruleset... > > > > m

Re: SA 4.0.0-rc3 meta rule results "undefined"

2022-10-11 Thread Henrik K
On Tue, Oct 11, 2022 at 10:48:26AM +0200, Wolfgang Breyha wrote: > On 11/10/2022 06:59, Henrik K wrote: > > On Tue, Oct 11, 2022 at 12:50:38AM +0200, Wolfgang Breyha wrote: > > > > > > And another quite simple ruleset... > > > meta __SA4TA3_1 6 > > > meta __SA4TA3_2 2 > > > meta __SA4TA3(__S

Re: SA 4.0.0-rc3 meta rule results "undefined"

2022-10-11 Thread Damian
But no line für SA4TA3 and no report or final score. Same on Debian bookworm: root@91d4e83fb538:/# cat /etc/spamassassin/70_meta_undefined.cf meta __SA4TA3_1  6 meta __SA4TA3_2  2 meta  SA4TA3    (__SA4TA3_1 > 2) && (__SA4TA3_2 > 1) score SA4TA3 0.1 describe SA4TA3 dummy root@91d4e83fb538:/# s

Re: SA 4.0.0-rc3 meta rule results "undefined"

2022-10-11 Thread Wolfgang Breyha
On 11/10/2022 06:59, Henrik K wrote: On Tue, Oct 11, 2022 at 12:50:38AM +0200, Wolfgang Breyha wrote: And another quite simple ruleset... meta __SA4TA3_1 6 meta __SA4TA3_2 2 meta __SA4TA3(__SA4TA3_1 > 2) && (__SA4TA3_2 > 1) doesn't set __SA4TA3. This was working an SA3.4 as well. Works

Re: SA 4.0.0-rc3 meta rule results "undefined"

2022-10-10 Thread Henrik K
On Tue, Oct 11, 2022 at 12:50:38AM +0200, Wolfgang Breyha wrote: > > In case of URIBL_SBL I don't know why it gets undefined, since other RBLs > work in the same place (eg. URIBL_BLACK) as expected and the result is 1. Thanks for the tip, found the problem. Should be fixed in rc4. https://bz.apa

Re: SA 4.0.0-rc3 meta rule results "undefined"

2022-10-10 Thread Henrik K
On Tue, Oct 11, 2022 at 12:50:38AM +0200, Wolfgang Breyha wrote: > > And another quite simple ruleset... > meta __SA4TA3_1 6 > meta __SA4TA3_2 2 > meta __SA4TA3(__SA4TA3_1 > 2) && (__SA4TA3_2 > 1) > doesn't set __SA4TA3. This was working an SA3.4 as well. Works fine here. > Is this wanted b

Re: SA rule: fortinet attachment removed

2022-09-27 Thread Matus UHLAR - fantomas
On 27.09.22 07:56, Kevin A. McGrail wrote: I use upstream filtering all the time to add points with SA but I typically due it with headers.  Does Fortinet add any headers? it does for spam detection, not when it removed suspicious attachments. Especially depending on the size of emails, the at

Re: SA rule: fortinet attachment removed

2022-09-27 Thread Kevin A. McGrail
Hi matus, I use upstream filtering all the time to add points with SA but I typically due it with headers.  Does Fortinet add any headers? Especially depending on the size of emails, the attachment parsing plugins like OCR you might have, etc. your rule could get pretty heavy in terms of par

Re: SA 3.4.6 add From:addr host to URIHOSTS list?

2021-10-18 Thread Henrik K
On Mon, Oct 18, 2021 at 10:33:21AM -0500, Dave Funk wrote: > In SA 3.4.1 the host value of From:addr was automagically added to the > URIHOSTS list and thus exposed to URIBL lookups. I don't think so. Maybe you had some plugin.

Re: SA/MAD Interfacing

2021-10-02 Thread Jared Hall
On 10/1/2021 3:27 AM, Marc wrote: That is indeed a good futuristic vision. That small mail providers cooperate as a group to exchange information and facilitate a distributed compute environment to analyze and block spam. I can remember asking here 1-2 years ago someone about shareing a bayes d

Re: sa daemon loads config different to shell ?

2021-07-27 Thread David Bürgin
Dipl-Inform. Frank Gadegast: On 27.07.21 14:18, David Bürgin wrote: Dipl-Inform. Frank Gadegast: Seems to be, that spamass-milter simply strippes out any X-Spam* header lines, not caring, if the own call to spamd sets them, hm. Im really not getting, why spamass-milter should strip X-Spam-lin

Re: sa daemon loads config different to shell ?

2021-07-27 Thread Matus UHLAR - fantomas
On 27.07.21 14:18, David Bürgin wrote: There is an alternative milter (which I maintain) that adds all X-Spam-* headers received from spamd. Matus UHLAR - fantomas: the original milter does the same. Adds headers from spamd. However, it does NOT take into account ay X-Spam-* headers received

Re: sa daemon loads config different to shell ?

2021-07-27 Thread David Bürgin
Matus UHLAR - fantomas: On 27.07.21 14:18, David Bürgin wrote: There is an alternative milter (which I maintain) that adds all X-Spam-* headers received from spamd. the original milter does the same. Adds headers from spamd. However, it does NOT take into account ay X-Spam-* headers received f

Re: sa daemon loads config different to shell ?

2021-07-27 Thread Matus UHLAR - fantomas
Dipl-Inform. Frank Gadegast: Seems to be, that spamass-milter simply strippes out any X-Spam* header lines, not caring, if the own call to spamd sets them, hm. Im really not getting, why spamass-milter should strip X-Spam-lines of the header AFTER SA was running. If Im right, SA is stripping t

Re: sa daemon loads config different to shell ?

2021-07-27 Thread David Bürgin
Dipl-Inform. Frank Gadegast: Seems to be, that spamass-milter simply strippes out any X-Spam* header lines, not caring, if the own call to spamd sets them, hm. Im really not getting, why spamass-milter should strip X-Spam-lines of the header AFTER SA was running. If Im right, SA is stripping t

Re: sa daemon loads config different to shell ?

2021-07-27 Thread jahlives
> Jul 26 23:04:41 topixx2 spamd[22655]: asn: no first external relay IP available, skipping ASN check the plugin seems to be loaded but as no external relay IP found there is nothing to check. Ensure that your trusted_networks and/or internal_networks is set correctly. Cheers tobi On 7/27/21 10

Re: sa daemon loads config different to shell ?

2021-07-27 Thread Dipl-Inform. Frank Gadegast
On 27.07.21 11:18, Reindl Harald wrote: Hi Harald, Am 27.07.21 um 10:44 schrieb Dipl-Inform. Frank Gadegast: Im using SA 3.4 on CentOS 7 via milter. And have a asn.cf in /etc/mail/spamassassin like this: loadplugin Mail::SpamAssassin::Plugin::ASN asn_lookup asn.routeviews.org _ASN_ _ASNCI

Re: SA 3.4.5 meta with RBL rules not working.

2021-07-19 Thread Jared Hall
tps://aka.ms/AAb9ysg> From: Dave Funk Sent: Monday, July 19, 2021 10:55:19 AM To: users@spamassassin.apache.org Subject: Re: SA 3.4.5 meta with RBL rules not working. Ugg, I was afraid of that. For decades I've rolled my own install of things like s

Re: SA 3.4.5 meta with RBL rules not working.

2021-07-19 Thread Dave Funk
Ugg, I was afraid of that. For decades I've rolled my own install of things like sendmail, SA & ClamAV but this time I wanted to try the release supplied by our server OS vender (SuSE). Unfortunately that's SA 3.4.5. OK, back to the salt-mines. Thanks On Mon, 19 Jul 2021, Henrik K wrote:

Re: SA 3.4.5 meta with RBL rules not working.

2021-07-19 Thread Benny Pedersen
On 2021-07-19 09:43, Henrik K wrote: How about upgrading to latest 3.4.6? not in gentoo yet :) waiting for 4.0.0 where less problems is in, hopply aswell that some dkim validation is not working while later tests shows dkim is valid, but not when spamassassin is called from fuglu fuglu us

Re: SA 3.4.5 meta with RBL rules not working.

2021-07-19 Thread Henrik K
How about upgrading to latest 3.4.6? This release includes fixes for the following: - Fixed URIDNSBL not triggering meta rules On Mon, Jul 19, 2021 at 01:42:51AM -0500, Dave Funk wrote: > I recently updated from SA 3.4.1 to 3.4.5 and noticed that a number of my > "meta" rules quit working. >

Re: SA seems powerless against marketing emails for SEO/web development

2021-04-23 Thread RW
On Thu, 22 Apr 2021 14:21:05 -0400 Steve Dondley wrote: > I'm still getting like 3 to half > dozen a day. Here's one example: https://paste.debian.net/1194735/ Apparently it already expired.

Re: SA seems powerless against marketing emails for SEO/web development

2021-04-23 Thread Benny Pedersen
On 2021-04-23 17:43, Steve Dondley wrote: I could add another point between BAYES_999 and BAYES_99 scores but that seems reactionary. Is there a better way? Should I thrown in another point for certain keywords in marketing emails like these? add score to tags that score possitive 0.0 until it

Re: SA seems powerless against marketing emails for SEO/web development

2021-04-23 Thread Steve Dondley
I could add another point between BAYES_999 and BAYES_99 scores but that seems reactionary. Is there a better way? Should I thrown in another point for certain keywords in marketing emails like these? add score to tags that score possitive 0.0 until it gives 5.0 and above I like this idea.

Re: SA seems powerless against marketing emails for SEO/web development

2021-04-22 Thread Loren Wilton
I could add another point between BAYES_999 and BAYES_99 scores but that seems reactionary. Is there a better way? Should I thrown in another point for certain keywords in marketing emails like these? For this specific message I might be inclined to add a rule to check for a URL in the subject

Re: SA seems powerless against marketing emails for SEO/web development

2021-04-22 Thread Benny Pedersen
On 2021-04-22 23:54, Steve Dondley wrote: Content analysis details: (4.5 points, 5.0 required) pts rule name description -- -- 1.0 BAYES_999 BODY: Bayes spam probability is 99.9 to 100%

Re: SA seems powerless against marketing emails for SEO/web development

2021-04-22 Thread Steve Dondley
On 2021-04-22 02:31 PM, Matus UHLAR - fantomas wrote: On 22.04.21 14:21, Steve Dondley wrote: pts rule name description -- -- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/,

Re: SA seems powerless against marketing emails for SEO/web development

2021-04-22 Thread Kris Deugau
David B Funk wrote: How hard would it be to modify the uribl lookup code so that it did not truncate hosts names, so we could create uribl entries of the form "name-company-track.appspot.com" or would that be prohibitively expensive in lookups? util_rb_2tld For appspot.com specifically, ac

Re: SA seems powerless against marketing emails for SEO/web development

2021-04-22 Thread David B Funk
On Thu, 22 Apr 2021, Matus UHLAR - fantomas wrote: On 22.04.21 14:21, Steve Dondley wrote: pts rule name description -- -- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/,

Re: SA seems powerless against marketing emails for SEO/web development

2021-04-22 Thread Matus UHLAR - fantomas
On 22.04.21 14:21, Steve Dondley wrote: pts rule name description -- -- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust

Re: sa-learn using multiple CPUs?

2021-04-16 Thread Benny Pedersen
On 2021-04-16 03:29, John Hardin wrote: So I will re-configure my installation to use MariaDB. You should also consider the Redis backend. i dont like to see redis needs sysctl non default settings so much more power does redis not have imho one could use memory engine in mysql, and then pe

Re: sa-learn using multiple CPUs?

2021-04-16 Thread Axb
How hard is it to keep list mail on list and not reply directly to sender? Have you seen https://svn.apache.org/repos/asf/spamassassin/trunk/contrib/HOWTO.Bayes-Redis/ ? there may be some helpful info in there. On 4/16/21 9:47 AM, Christian Völker wrote: Thanks for the hint. I will monitor it

Re: sa-learn using multiple CPUs?

2021-04-16 Thread Axb
To avoid suprises, remember to watch your memory usage. Redis reads/writes the DB in memory and only dumps to disk for backup. "redis-cli info" is of help On 4/16/21 9:10 AM, Christian Völker wrote: Sorry to annoy you. Another addition to my tests: When using redis it took me around 15seconds

Re: sa-learn using multiple CPUs?

2021-04-16 Thread Christian Völker
Sorry to annoy you. Another addition to my tests: When using redis it took me around 15seconds to scan ~1,500 messages. When using MariaDB it took one minute to do the same. With file based I had strange issues whatever lock type eI used (flock yes/no): "bayes: bayes db version 0 is not able to

Re: sa-learn using multiple CPUs?

2021-04-15 Thread Christian Völker
Hi, So I will re-configure my installation to use MariaDB. You should also consider the Redis backend. Ok, had a look when using MariaDB and I monitored it for the last 24hrs. My 10 vCPUs where used, no I/O waits. But CPU usage overall was according to "top" only at 25% as top showed 75% idl

Re: sa-learn using multiple CPUs?

2021-04-15 Thread John Hardin
On Thu, 15 Apr 2021, Christian Völker wrote: Hi, so I did some testing. When using bayes_ files as backend and flock only a single process consumes CPU (strange, I have seen different behaviour before). When using MariaDB as backend all processes use CPU and share them with the MariaDB proce

Re: sa-learn using multiple CPUs?

2021-04-15 Thread Christian Völker
Hi, so I did some testing. When using bayes_ files as backend and flock only a single process consumes CPU (strange, I have seen different behaviour before). When using MariaDB as backend all processes use CPU and share them with the MariaDB process. So I will re-configure my installation to

Re: sa-learn using multiple CPUs?

2021-04-15 Thread Henrik K
If you insist on file bayes, atleast make sure you use "lock_method flock". Or maybe BDB backend, don't remember if it's faster. > On 4/15/21 2:45 PM, Christian Völker wrote: > > Hi, > > > > well, here it is not I/O bound (running on RAID1-SSDs). I am using the > > "default" file based backend

Re: sa-learn using multiple CPUs?

2021-04-15 Thread Axb
Please keep list mail on list! if you run parallel sa-learn instances you'll run into locked DB errors. With a SDBM backend it would be a bit faster but still lock up. afaik, Redis backend won't have locking issues. (dunno about SQL - I use Redis) On 4/15/21 2:45 PM, Christian Völker wrote: Hi,

Re: sa-learn using multiple CPUs?

2021-04-15 Thread Henrik K
On Thu, Apr 15, 2021 at 08:39:42AM -0400, Greg Troxel wrote: > > I don't know, but beware that if you have TXREP configured, and you do > not use -L to sa-learn, I believe you will end up making DNSBL queries > for all of them. Thanks, TxRep actually seems to be the culprit. Will look into it..

Re: sa-learn using multiple CPUs?

2021-04-15 Thread Christian Völker
Hi, I don't know, but beware that if you have TXREP configured, and you do not use -L to sa-learn, I believe you will end up making DNSBL queries for all of them. Good catch! I did not use "-L" so far and I am pretty sure there is nothing configured but from reading then man page it will not

Re: sa-learn using multiple CPUs?

2021-04-15 Thread Greg Troxel
Christian Völker writes: > I am going to add some large spam archives for my Bayes database with > sa-learn. > > I have a machine with six vCPUs and obviously I would like to speed up > the learning process. I am thinking of running six sa-learn processes > in parallel. Is there any issue with t

Re: sa-learn using multiple CPUs?

2021-04-15 Thread Axb
Depending on your Bayes backend, your bottleneck will not be the CPUs but I/O. Normally there's no need for running multiple sa-learn instances. My sa-learn is learning +40 msgs/sec from a SSD into a Redis DB. On 4/15/21 2:33 PM, Christian Völker wrote: Hi all, I am going to add some large sp

Re: sa-learn, TXREP, network queries, documentation

2021-04-12 Thread RW
On Mon, 12 Apr 2021 09:40:47 -0400 Greg Troxel wrote: > 3) sa-learn does not document that it is no longer for BAYES, but a > general interface to mechanisms that learn. It always was in theory. > 4) There is a bonus of txrep_learn_penalty for learning spam, > default 20. If the user

Re: SA DKIM check

2021-04-02 Thread Simon Wilson
Does SA always do its "own" DKIM check, or can it be told to use an already written trusted AuthservId-written Authentication-Results header, e.g. from OpenDKIM? Not for DKIM, but by default the SPF plugin will use an Authentication-Results (or Received-SPF) header written by an interna

Re: SA DKIM check

2021-04-02 Thread RW
On Fri, 2 Apr 2021 13:22:47 +0200 Giovanni Bechis wrote: > On 4/1/21 3:10 PM, Simon Wilson wrote: > > Does SA always do its "own" DKIM check, or can it be told to use an > > already written trusted AuthservId-written Authentication-Results > > header, e.g. from OpenDKIM? > I think Mail::SpamAssas

Re: SA DKIM check

2021-04-02 Thread Giovanni Bechis
On 4/1/21 3:10 PM, Simon Wilson wrote: > Does SA always do its "own" DKIM check, or can it be told to use an already > written trusted AuthservId-written Authentication-Results header, e.g. from > OpenDKIM? > I think Mail::SpamAssassin::Plugin::AuthRes (on trunk) is what you are looking for.

Re: SA DKIM check

2021-04-01 Thread Bill Cole
On 1 Apr 2021, at 22:07, Noel Butler wrote: On 01/04/2021 23:10, Simon Wilson wrote: Does SA always do its "own" DKIM check, or can it be told to use an already written trusted AuthservId-written Authentication-Results header, e.g. from OpenDKIM? Not for DKIM, but by default the SPF plugi

Re: SA DKIM check

2021-04-01 Thread Noel Butler
On 01/04/2021 23:10, Simon Wilson wrote: Does SA always do its "own" DKIM check, or can it be told to use an already written trusted AuthservId-written Authentication-Results header, e.g. from OpenDKIM? Thanks That would be dangerous on a few levels, completely open to fake written heade

Re: sa-update error 3 no mirrors.sought.rules.yerp.org

2021-03-16 Thread Kenneth Porter
--On Sunday, March 14, 2021 1:23 PM +1000 Simon Wilson wrote: You've not stated your OS but on a RHEL/CentOS 7 box the correct way to remove is to go to /etc/mail/spamassassin/channel.d and delete sought.conf. RHEL bugzilla for the issue:

Re: sa-update error 3 no mirrors.sought.rules.yerp.org

2021-03-13 Thread Simon Wilson
- Message from a...@onet.eu - Date: Fri, 12 Mar 2021 13:16:25 +0100 From: a...@onet.eu Subject: sa-update error 3 no mirrors.sought.rules.yerp.org To: users@spamassassin.apache.org Hi, I'm getting this from cron since two days: channel: no 'mirrors.sought.rules.yerp.org'

Re: sa-update error 3 no mirrors.sought.rules.yerp.org

2021-03-12 Thread Axb
Sought rules have been deprecated at least 5 years ago. you can remove that part of the config. h2h Axb On 3/12/21 1:16 PM, a...@onet.eu wrote: Hi, I'm getting this from cron since two days: channel: no 'mirrors.sought.rules.yerp.org' record found, channel failed 11-Mar-2021 05:46:59: SpamAssas

Re: [sa-list] Re: Help writing a rule

2021-01-27 Thread Dan Mahoney (Gushi)
On Wed, 27 Jan 2021, John Hardin wrote: On Wed, 27 Jan 2021, Dan Mahoney (Gushi) wrote: All, I'm noticing a pattern of email like: From: "GUSHI.ORG Administrator" To: y...@gushi.org Subject: Your mailbox has exceeded its quota Or some such nonsense. Now, DMARC and SPF and DKIM would be ab

Re: [SA-Users] Re: Spamassassin 3.4.4 on centos7

2020-12-09 Thread John R. Dennison
On Thu, Dec 10, 2020 at 08:18:15AM +0200, Andrew Colin Kissa wrote: > > There is no bug here to be reported, those packages do exist in CentOS7 No bug but a correction. The named packages are not provided by CentOS but rather EPEL. yum --enablerepo=extras install epel-release will enable EPEL o

Re: sa-scripts hard-code perl loc, and can end up referring to wrong libs or data

2020-10-27 Thread RW
On Sun, 25 Oct 2020 17:29:17 -0700 L A Walsh wrote: > 1) Is it too much effort to only use the major/minor for sa-files? > >i.e. instead of numbering: "3.002000/ 3.004000/ 3.004004/" using >"3.002/ 3.004/" ...? Where the patch level was guaranteed not > to cause some "incompat"

Re: sa-scripts hard-code perl loc, and can end up referring to wrong libs or data

2020-10-25 Thread Kevin A. McGrail
I believe if you install a version of sa yourself from a tar, you will see they use a .raw file without the Perl hardcoded. It is then relaxed at install time. On Sun, Oct 25, 2020, 20:29 L A Walsh wrote: > Putting the questions/wants 1st, for those wanting the bottom line. > For backstory/why,

Re: sa-scripts hard-code perl loc, and can end up referring to wrong libs or data

2020-10-25 Thread L A Walsh
Putting the questions/wants 1st, for those wanting the bottom line. For backstory/why, see further on. 2 things: 1) Is it too much effort to only use the major/minor for sa-files? i.e. instead of numbering: "3.002000/ 3.004000/ 3.004004/" using "3.002/ 3.004/" ...? Where the patch leve

Re: sa-update for versions 3.4.2 and older fail lint because of description on non-existent rule was Re: update fail

2020-07-18 Thread Benny Pedersen
Kevin A. McGrail skrev den 2020-07-18 23:32: Great, thanks for the update. With this change we also know how to best prevent similar issues. more nutella :=)

Re: sa-update for versions 3.4.2 and older fail lint because of description on non-existent rule was Re: update fail

2020-07-18 Thread Kevin A. McGrail
Great, thanks for the update. With this change we also know how to best prevent similar issues. Regards, KAM -- Kevin A. McGrail Member, Apache Software Foundation Chair Emeritus Apache SpamAssassin Project https://www.linkedin.com/in/kmcgrail - 703.798.0171 On Sat, Jul 18, 2020 at 4:59 PM Marc

Re: sa-update for versions 3.4.2 and older fail lint because of description on non-existent rule was Re: update fail

2020-07-18 Thread Marcus Schopen
Am Donnerstag, den 16.07.2020, 17:43 -0400 schrieb Kevin A. McGrail: > Agreed. 1879851 is after I submitted the fix but doesn;t include the > fix. I will have to check again after the next rule publishing. > Sorry for the false alarm. Feedback: sa-update without errors now. Thanks a lot! Cheer

Re: sa-update for versions 3.4.2 and older fail lint because of description on non-existent rule was Re: update fail

2020-07-16 Thread Kevin A. McGrail
Agreed. 1879851 is after I submitted the fix but doesn;t include the fix. I will have to check again after the next rule publishing. Sorry for the false alarm. -- Kevin A. McGrail Member, Apache Software Foundation Chair Emeritus Apache SpamAssassin Project https://www.linkedin.com/in/kmcgrail -

Re: sa-update for versions 3.4.2 and older fail lint because of description on non-existent rule was Re: update fail

2020-07-16 Thread Marcus Schopen
Am Mittwoch, den 15.07.2020, 08:11 -0400 schrieb Kevin A. McGrail: > Just an update that this is fixed: > > https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7840 > > Should be a rule update published in the next 48 hours with the fix. > Feedback welcome because we are making fixes for older ve

Re: sa-update failing

2020-06-26 Thread Kevin A. McGrail
Stephan, The type for the update record is a TXT not an A record, so dig -t txt 3.3.3.updates.spamassassin.org. I'm not sure if an update has failed for the past 2 days though so this is just a comment on how to check manually. ;; ANSWER SECTION: 3.3.3.updates.spamassassin.org. 3600 IN TXT

Re: sa-update failing

2020-06-26 Thread Henrik K
It queries TXT records $ dig TXT 2.4.3.updates.spamassassin.org ;; ANSWER SECTION: 2.4.3.updates.spamassassin.org. 3424 IN CNAME 3.3.3.updates.spamassassin.org. 3.3.3.updates.spamassassin.org. 79 IN TXT "1879105" It is normal that updates might be stale for a few days sometimes. Use "

Re: sa 3.4.4 'spamassassin' scores test message using local.cf; 'spamd' finds/reads local.cg, but 'spamc' of test msg fails to hit/score?

2020-06-10 Thread RW
On Tue, 9 Jun 2020 19:55:24 -0700 PGNet Dev wrote: > sorry, that's unclear > > spamc --help | egrep "config|socket|fallback|size|username|log-to" > -U, --socket path Connect to spamd via UNIX domain sockets. > -F, --config path Use this configuration file. > Try conn

Re: sa 3.4.4 'spamassassin' scores test message using local.cf; 'spamd' finds/reads local.cg, but 'spamc' of test msg fails to hit/score?

2020-06-09 Thread PGNet Dev
On 6/9/20 7:45 PM, PGNet Dev wrote: > RW Tue, 09 Jun 2020 17:15:49 -0700 > If you need this line you are doing something strange. always happy to simplify. rm'ing --configpath=/usr/local/etc/spamassassin \ from spamd launch, I still see ... Jun 09 19:44:41 dev.loc spamd

Re: sa 3.4.4 'spamassassin' scores test message using local.cf; 'spamd' finds/reads local.cg, but 'spamc' of test msg fails to hit/score?

2020-06-09 Thread RW
On Tue, 9 Jun 2020 16:27:01 -0700 PGNet Dev wrote: > next, launching 'spamd', > >--configpath=/usr/local/etc/spamassassin \ If you need this line you are doing something strange. You are overriding the default config location with the default site config location. There's not much th

Re: sa-learn absurdly slow on re-iterating over mailboxes (TxRep involved)

2020-01-24 Thread Nix
On 14 Jan 2020, Henrik K. said: > On Tue, Jan 14, 2020 at 12:05:57PM +, Nix wrote: >> >> I've come to the conclusion that TxRep is essentially unmaintained and >> basically doesn't work unless you use SQL storage, and have migrated >> back to the AWL, which still works fine. I hope I'm wrong.

  1   2   3   4   5   6   7   8   9   10   >