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 .

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: when whitelisting, do what with marked SPAM?

2023-11-14 Thread joe a
On 11/14/2023 13:46:11, Matus UHLAR - fantomas wrote: On 14.11.23 13:05, joe a wrote: Low volume home office user and system. Occasionally when first dealing with a new entity, their correspondence gets flagged as SPAM. When I whitelist these, what should be done with those messages that

Re: when whitelisting, do what with marked SPAM?

2023-11-14 Thread joe a
On 11/14/2023 20:48:27, John Hardin wrote: On Tue, 14 Nov 2023, joe a wrote: Low volume home office user and system. Occasionally when first dealing with a new entity, their correspondence gets flagged as SPAM. When I whitelist these, what should be done with those messages that might

when whitelisting, do what with marked SPAM?

2023-11-14 Thread joe a
Low volume home office user and system. Occasionally when first dealing with a new entity, their correspondence gets flagged as SPAM. When I whitelist these, what should be done with those messages that might remain in "flagged SPAM" or "Missed SPAM"?, thinking along lines of keeping BAYES "

Re: BAYES scores

2023-02-28 Thread joe a
On 2/28/2023 12:05 PM, Jeff Mincy wrote: > 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

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 probability is 99

Re: BAYES_00 BODY. Negative score?

2023-02-18 Thread joe a
On 2/17/2023 10:41 PM, Loren Wilton wrote: They receive wildly different BAYES scores. * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% *  [score: 0.0002] *  2.2 BAYES_20 BODY: Bayes spam probability is 5 to 20% *  [score: 0.0881] This looks like you have per-user Bayes databases

Re: BAYES_00 BODY. Negative score?

2023-02-17 Thread joe a
On 2/17/2023 3:25 PM, joe a wrote: Did a simple test today sending an email from a gmail account to two email accounts on my system. The only difference was the email address, both were on the same "To:" line in the composed messages. They receive wildly different BA

Re: BAYES_00 BODY. Negative score?

2023-02-17 Thread joe a
On 2/17/2023 11:44 AM, Martin Gregorie wrote: On Fri, 2023-02-17 at 10:54 -0500, joe a wrote: Could it have been that simple? If, like myself, you find reference books useful, you may want to get a copy of "Linux in a Nutshell" - an O'Reilly book. It tends to assume you kn

Re: BAYES_00 BODY. Negative score?

2023-02-17 Thread joe a
On 2/17/2023 4:42 AM, Matus UHLAR - fantomas wrote: On 16.02.23 15:57, joe a wrote: Re-energized having recently heroically wrestled an elusive issue (to me) into surrender . . . we now turn to another issue. Probably I need to retrain BAYES "From scratch".  I have a mess (years?)

Re: BAYES_00 BODY. Negative score?

2023-02-17 Thread joe a
On 2/17/2023 7:37 AM, Reindl Harald wrote: Am 16.02.23 um 23:34 schrieb joe a: I have no idea what you refer to when you state "don't user proper packages".  "Proper" in what sense? A rhetorical question. i have no idea how you installed SA but rpm packages or d

Re: BAYES_00 BODY. Negative score?

2023-02-16 Thread joe a
On 2/16/2023 8:28 PM, Matija Nalis wrote: On Thu, Feb 16, 2023 at 05:34:37PM -0500, joe a wrote: Oh, of course. I installed as root initially, being foolish perhaps, but did create a specific user "later" and adjusted permissions as needed. Or, so I thought. well, installi

Re: BAYES_00 BODY. Negative score?

2023-02-16 Thread joe a
. . . it also runs with another environment, so it may miss PATHes or @INC directories. That throws me a curve.  What is an @INC directory?  SA specific? I do not find any with the locate command, but if the are an actual directory may need to escape the @ sign somehow.  \ does not seem to do

Re: BAYES_00 BODY. Negative score?

2023-02-16 Thread joe a
On 2/16/2023 5:32 PM, hg user wrote: On Thu, Feb 16, 2023 at 9:57 PM joe a <mailto:joea-li...@j4computers.com>> wrote: plugin: failed to parse plugin (from @INC): Can't locate Mail/SpamAssassin/Plugin/SpamCop.pm: lib/Mail/SpamAssassin/Plugin/SpamCop.pm: Permis

Re: BAYES_00 BODY. Negative score?

2023-02-16 Thread joe a
. . . I have no idea what you refer to when you state "don't user proper packages".  "Proper" in what sense? A rhetorical question. i have no idea how you installed SA but rpm packages or debs usually have correct permissions Oh, of course. I installed as root initially, being foolish per

Re: BAYES_00 BODY. Negative score?

2023-02-16 Thread joe a
On 2/16/2023 4:30 PM, Reindl Harald wrote: Am 16.02.23 um 21:57 schrieb joe a: I understand that sa-learn should be run as the same user as spamd, however I find it has always been run as root and when running as the spamassassin user results in errors, such as: ~su -c "sa-learn -

Re: BAYES_00 BODY. Negative score?

2023-02-16 Thread joe a
On 2/14/2023 6:09 PM, joe a wrote: Please let this sit for a while, I've discovered a fundamental issue with my scheme of feeding messages to BAYES.  Unfortunately I was remiss, apparently, it setting up logging for some bits, so have no idea how long this has been failing. Sorry fo

Re: BAYES_00 BODY. Negative score?

2023-02-14 Thread joe a
Please let this sit for a while, I've discovered a fundamental issue with my scheme of feeding messages to BAYES. Unfortunately I was remiss, apparently, it setting up logging for some bits, so have no idea how long this has been failing. Sorry for the clutter. joe a. On 2/14/2023 5:

Re: BAYES_00 BODY. Negative score?

2023-02-14 Thread joe a
On 2/14/2023 2:56 AM, Matus UHLAR - fantomas wrote: On 13.02.23 17:42, joe a wrote: Have some annoying SPAM that consistently shows a negative score on BAYES.  Is the default scoring or influenced by BAYES in some way? *-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% *  [score

Re: BAYES_00 BODY. Negative score?

2023-02-13 Thread joe a
On 2/13/2023 5:51 PM, Benny Pedersen wrote: joe a skrev den 2023-02-13 23:42: Have some annoying SPAM that consistently shows a negative score on . . . time to upgrade imho :=) . . . And, yes, I should upgrade.

Re: BAYES_00 BODY. Negative score?

2023-02-13 Thread joe a
On 2/13/2023 5:51 PM, Benny Pedersen wrote: joe a skrev den 2023-02-13 23:42: Have some annoying SPAM that consistently shows a negative score on BAYES.  Is the default scoring or influenced by BAYES in some way? *-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% *  [score: 0.

BAYES_00 BODY. Negative score?

2023-02-13 Thread joe a
Have some annoying SPAM that consistently shows a negative score on BAYES. Is the default scoring or influenced by BAYES in some way? *-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.] SpamAssassin 3.4.5 Thanks for any pointers.

Re: excluding specific RBL checks

2023-01-09 Thread joe a
- rules with score 0 are not run. However, joe a aka the OP should be more interested in finding out why are his DNS queries going through an open resolver and fixing the real issue. Right you are. It now appears resolved (cough, cough . . .). Spamhaus site provided this quick test: "d

Re: excluding specific RBL checks

2023-01-08 Thread joe a
: dns_query_restriction deny spamhaus.org Ah Hah! Seems to work for me. See? I CAN be taught! joe a.

Re: excluding specific RBL checks

2023-01-08 Thread joe a
On 1/8/2023 4:38 PM, Benny Pedersen wrote: joe a skrev den 2023-01-08 21:50: SA version 3.4.5 Gears are clashing, clutch is slipping, among other things. Trying to exclude certain checks, via spamhouse services "by the book" what book ? The good one? Several places. Most looke

Re: excluding specific RBL checks

2023-01-08 Thread joe a
On 1/8/2023 4:23 PM, Charles Sprickman wrote: What did you end up with? score RCVD_IN_ZEN_BLOCKED_OPENDNS 0 I am not certain if that stops the test or simply reporting of the message. Looks like I will need to do some packet capture after all. I have a bunch of zero rules for these yet st

Re: excluding specific RBL checks

2023-01-08 Thread joe a
On 1/8/2023 4:00 PM, joe a wrote: On 1/8/2023 3:50 PM, joe a wrote: SA version 3.4.5 Gears are clashing, clutch is slipping, among other things. Trying to exclude certain checks, via spamhouse services "by the book" When placing these values in local.cf: RCVD_IN_ZEN 0 RCV

Re: excluding specific RBL checks

2023-01-08 Thread joe a
On 1/8/2023 3:50 PM, joe a wrote: SA version 3.4.5 Gears are clashing, clutch is slipping, among other things. Trying to exclude certain checks, via spamhouse services "by the book" When placing these values in local.cf: RCVD_IN_ZEN 0 RCVD_IN_XBL 0 RCVD_IN_PBL 0 "spam

excluding specific RBL checks

2023-01-08 Thread joe a
SA version 3.4.5 Gears are clashing, clutch is slipping, among other things. Trying to exclude certain checks, via spamhouse services "by the book" When placing these values in local.cf: RCVD_IN_ZEN 0 RCVD_IN_XBL 0 RCVD_IN_PBL 0 "spamassassin --lint" complains. Yet SA starts without complaint

Re: Refused by block lists

2023-01-08 Thread joe a
On 1/8/2023 2:08 PM, Martin Gregorie wrote: On 07.01.23 14:06, joe a wrote: Pretty sure.  Or, I was.  Ran various tests with unbound running and not running confirmed it was working, at least providing a response. Thats pretty simple to check, provided you've got Wireshark installed: Fi

Re: Refused by block lists

2023-01-08 Thread joe a
On 1/8/2023 12:36 PM, Matus UHLAR - fantomas wrote: On 07.01.23 12:03, joe a wrote: Thanks.  I think I actually got unbound working but still was getting URIBL rejects from spamhaus. On 1/7/2023 1:25 PM, Matus UHLAR - fantomas wrote: - do you actually use that unbound server? is 127.0.0.1 in

Re: Refused by block lists

2023-01-07 Thread joe a
On 1/7/2023 12:16 PM, Benny Pedersen wrote: joe a skrev den 2023-01-07 18:03: That will give me some time to review how to disable specific checks, such as dnswl.org which caused a score of -5.0 for some obviously spammy stuff. please report spam https://www.dnswl.org/?page_id=17 especily

Re: Refused by block lists

2023-01-07 Thread joe a
your own non-forwarding caching nameserver https://cwiki.apache.org/confluence/display/SPAMASSASSIN/CachingNameserver On 07.01.23 12:03, joe a wrote: Thanks.  I think I actually got unbound working but still was getting URIBL rejects from spamhaus. - do you actually use that unbound server

Re: Refused by block lists

2023-01-07 Thread joe a
On 1/7/2023 9:06 AM, Matus UHLAR - fantomas wrote: On Fri, 6 Jan 2023, joe a wrote: Attempting to utilize the various block lists and find rejection messages in mail headers "blocked due to usage of an open resolver". On 06.01.23 09:49, John Hardin wrote: Are you forwarding your Sp

Re: Refused by block lists

2023-01-06 Thread joe a
On 1/6/2023 12:49 PM, John Hardin wrote: On Fri, 6 Jan 2023, joe a wrote: . .. I think you're getting distracted by the word "resolve" there... This sounds like a DNS issue. Agree it is likely a DNS issue. Apparently one I do not yet grasp. Is there an online tool to whi

Re: Refused by block lists

2023-01-06 Thread joe a
On 1/6/2023 12:15 PM, Kevin A. McGrail wrote: My interpretation is thus: You have a firewall with a public IP and an private IP You have a box with email behind that firewall. When it talks to the world, it should do helo that maps back to your Firewall's public IP not to a private RFC1918 a

Refused by block lists

2023-01-06 Thread joe a
Attempting to utilize the various block lists and find rejection messages in mail headers "blocked due to usage of an open resolver". One of many things puzzling me at the moment is something found in the related Wiki that states "A: Third, if your email gateway is behind a firewall make sure

Re: local rule exclude all domains except "my list of approved"

2023-01-05 Thread joe a
On 1/5/2023 3:24 AM, Loren Wilton wrote: You can simplify your rule code a little if you want: header __LOCAL_FROM_BE  From =~ /.\.beauty/i meta LOCAL_BE (__LOCAL_FROM_BE) score  LOCAL_BE 2 describe LOCAL_BE from beauty domain    to header LOCAL_BE  From =~ /.\.beauty/i score  LOCAL_BE 2 de

local rule exclude all domains except "my list of approved"

2023-01-04 Thread joe a
As an increasing amount of SPAM from "boutique" domains began slipping through, I resorted assuring they are marked as SPAM by adding custom rules when sufficiently annoyed. The local rules take this form (thanks to whoever provided the "template" for this): header __LOCAL_FROM_BE From =~ /

Re: spamd config error

2023-01-02 Thread joe a
On 1/2/2023 4:27 PM, Bill Cole wrote: On 2023-01-02 at 16:18:53 UTC-0500 (Mon, 2 Jan 2023 16:18:53 -0500) joe a is rumored to have said: On 1/2/2023 4:01 PM, joe a wrote: On 1/2/2023 2:49 PM, joe a wrote: Noticed this line in /var/log/mail: spamd[31188]: config: failed to parse line

Re: spamd config error

2023-01-02 Thread joe a
On 1/2/2023 4:01 PM, joe a wrote: On 1/2/2023 2:49 PM, joe a wrote: Noticed this line in /var/log/mail: spamd[31188]: config: failed to parse line, skipping, in "/etc/mail/spamassassin/local.cf": Mail::SpamAssassin::Plugin::URIDNSBL It seems to have started a few weeks ago an

Re: spamd config error

2023-01-02 Thread joe a
On 1/2/2023 2:49 PM, joe a wrote: Noticed this line in /var/log/mail: spamd[31188]: config: failed to parse line, skipping, in "/etc/mail/spamassassin/local.cf": Mail::SpamAssassin::Plugin::URIDNSBL It seems to have started a few weeks ago and does not appear to be related to t

spamd config error

2023-01-02 Thread joe a
Noticed this line in /var/log/mail: spamd[31188]: config: failed to parse line, skipping, in "/etc/mail/spamassassin/local.cf": Mail::SpamAssassin::Plugin::URIDNSBL It seems to have started a few weeks ago and does not appear to be related to the date of any deliberate changes on my part. S

Re: subscribe to blacklist for domains

2022-08-13 Thread joe a
I am far from an anti SPAM expert, but: On 8/13/2022 4:52 PM, Vincent Lefevre wrote: On 2022-08-13 14:05:43 -0400, joe a wrote: On 8/13/2022 12:38 PM, Martin Gregorie wrote: . . . 2) There's no mandatory need to REJECT spam. It has always been up to the recipient to decide wheth

Re: subscribe to blacklist for domains

2022-08-13 Thread joe a
I'll be sure to look this over well to see what I can use or adapt, thanks. On 8/13/2022 11:04 AM, Reindl Harald wrote: Am 13.08.22 um 16:21 schrieb joe a: Ah, thanks for describing that.  I am somewhat more brain fogged than usual this morning, so am uncertain any of those would wo

Re: subscribe to blacklist for domains

2022-08-13 Thread joe a
On 8/13/2022 12:38 PM, Martin Gregorie wrote: . . . 2) There's no mandatory need to REJECT spam. It has always been up to the recipient to decide whether to return it to the sender or not. Agreed in part. I see returning SPAM to sender as an exercise in futility or perhaps further ena

Re: subscribe to blacklist for domains

2022-08-13 Thread joe a
And, of course, I must edit my last reply: On 8/13/2022 10:21 AM, joe a wrote: My first thought was, the postfix stuff would work, because . . . My first thought was, the postfix stuff would NOT work, because . . .

Re: subscribe to blacklist for domains

2022-08-13 Thread joe a
those solutions for some time, if ever. So, I should stop here and look them over. However, any real world "we did that" exists, please let me know. joe a. On 8/13/2022 9:52 AM, Bert Van de Poel wrote: I think what Noel is referring to is Postfix configurati

Re: subscribe to blacklist for domains

2022-08-13 Thread joe a
On 8/12/2022 11:43 PM, Noel Butler wrote: Why are you not blocking with blacklists at the border, ie: MTA. I'm not familiar with how to do that or if it can be done. Since SA offers this functionality, so did not even consider that. I'll look into it. Given its 0 resources for your MTA, wit

subscribe to blacklist for domains

2022-08-12 Thread joe a
I need to refresh my brain on using blacklists with SA, before looking more deeply into why this got through. Today a email slipped through with a very low score that was clearly phishy. A url in question, posing as another, hits no less that 6 blacklists. I was going to look at clamav that

OT - logrotate size parameter

2022-08-08 Thread joe a
This is OT, but perhaps someone here knows. In the context of the logrotate conf file, what does the + sign indicate when used as a prefix size directive? Example: "size +4096k" Some conf files have it, some don't. Man pages do not mention it AFAICT and the internet is rather seems to ignor