Docs confusion and missing dependency on EL9

2024-06-18 Thread Gerald Vogt
Hi, for testing I tried to install spamassassin 4.0.1 on EL9 (AlmaLinux 9.4). I have noticed some dependencies are not mentioned on the INSTALL page: I have had to install perl-ExtUtils-MakeMaker.noarch to run Makefile.PL I have had to install perl-Archive-Tar.noarch to run sa-update. Those

Re: BayesStore MariaDB on EL9

2024-06-18 Thread Bill Cole
On 2024-06-18 at 14:58:15 UTC-0400 (Tue, 18 Jun 2024 20:58:15 +0200) Gerald Vogt is rumored to have said: Hi, for a test, I have increased the column length of token to binary(32) and used a test file to import containing a single token. This time it went through. However, as I suspected,

Re: BayesStore MariaDB on EL9

2024-06-18 Thread Gerald Vogt
Hi, for a test, I have increased the column length of token to binary(32) and used a test file to import containing a single token. This time it went through. However, as I suspected, the token length is not 5 byte. Token line from backup: t 1 0 1718024618 027121926a

BayesStore MariaDB on EL9

2024-06-18 Thread Gerald Vogt
Hi! I am trying to use a mariadb database as bayesstore, but it fails to load tokens. Whenever it tries to insert something into bayes_token it fails with an error dbg: bayes: _put_token: SQL error: Data too long for column 'token' at row 1 The table has been created as mentioned in

Re: Sv: Re: Question about a rule

2024-06-18 Thread Laurent S.
I'd also strongly recommend adding boundaries: /\b(blah1|blah2|blah3)\b/i Otherwise, you might have a whole *pano*ply of words that will make legit mails marked a spam. You need to be super sure about poison pills rules, or in french - *pillu*le empoisonnée. Good luck. On 18.06.24 13:35, Axb

Re: Sv: Re: Question about a rule

2024-06-18 Thread Axb
You need to enclose in brackets body LOCAL_BLAH /(blah1|blah2|blah3)/i On 6/18/24 13:05, Anders Gustafsson wrote: Sure: body LOCAL_PORN_RULE /kiimainen|naida|sexikäs|nussikas|nussia|pillu|pano|kinky|bdsm|pillua|x69-JOOGA/i score LOCAL_PORN_RULE 8 describe LOCAL_PORN_RULE This

Re: Sv: Re: Question about a rule

2024-06-18 Thread Matus UHLAR - fantomas
On 18.06.24 14:05, Anders Gustafsson wrote: body LOCAL_PORN_RULE /kiimainen|naida|sexikäs|nussikas|nussia|pillu|pano|kinky|bdsm|pillua|x69-JOOGA/i score LOCAL_PORN_RULE 8 describe LOCAL_PORN_RULE This catches peter's porn spam Sorry again for mailing directly. No idea why it suggests

Sv: Re: Question about a rule

2024-06-18 Thread Anders Gustafsson
Sure: body LOCAL_PORN_RULE /kiimainen|naida|sexikäs|nussikas|nussia|pillu|pano|kinky|bdsm|pillua|x69-JOOGA/i score LOCAL_PORN_RULE 8 describe LOCAL_PORN_RULE This catches peter's porn spam Sorry again for mailing directly. No idea why it suggests the user and not users@ -- Med vänlig

Re: Question about a rule

2024-06-18 Thread Matus UHLAR - fantomas
On 18.06.24 13:50, Anders Gustafsson wrote: body LOCAL_PORN_RULE /word1|word2.|x69-JOOGA/i score LOCAL_PORN_RULE 8 describe LOCAL_PORN_RULE This catches peter's porn spam Funny thing is that it seems to trigger on messages that contain none of those words. I have removed the actual

Question about a rule

2024-06-18 Thread Anders Gustafsson
We have a rule that is supposed to catch various porn-related stuff: body LOCAL_PORN_RULE /word1|word2.|x69-JOOGA/i score LOCAL_PORN_RULE 8 describe LOCAL_PORN_RULE This catches peter's porn spam Funny thing is that it seems to trigger on messages that contain none of those words. I