Re: Where is SA getting config info?

2019-11-22 Thread Ralph Seichter
* Jerry Malcolm: > Why don't you just consider not "helping" anybody else here. Reindl Harald has been evicted, for good reason, from many mailing lists I subscribe to. I still recommend blocking him locally via killfiles or similar methods. He's not worth paying attention to. -Ralph

Re: Where is SA getting config info?

2019-11-22 Thread Bill Cole
On 22 Nov 2019, at 20:26, Rick Macdougall wrote: Hi, For the good of your blood pressure, just ignore h.rei...@thelounge.net I've plonked every thing from him into /dev/null so long ago I can't remember when I did it. Why he's still allowed to post here is beyond me. He isn't. Note the

Re: Where is SA getting config info?

2019-11-22 Thread Rick Macdougall
Hi, For the good of your blood pressure, just ignore h.rei...@thelounge.net I've plonked every thing from him into /dev/null so long ago I can't remember when I did it. Why he's still allowed to post here is beyond me. Regards, Rick On 2019-11-22 7:20 p.m., Jerry Malcolm wrote: Then I

Re: Where is SA getting config info?

2019-11-22 Thread Jerry Malcolm
What a wonderful way to be treated by a know-it-all arrogant asshole to someone who has a problem with your stupid program and simply wants answers. I DIDN'T DO A THING TO SPECIFY ANYTHING ABOUT ROOT.  THAT IS WHAT APPEARS IN THE LOGS RIGHT OUT OF THE BOX. What part of "OUT OF THE BOX

Re: Where is SA getting config info?

2019-11-22 Thread Jerry Malcolm
I don't appreciate you implying I'm a stupid idiot.  That and every bit of your language has NO place on this forum, especially your reference to my Lord and Savior I had NOTHING to do with setting that folder, no matter how STUPID you think I am.  That's the folder that appeared in the

Re: Where is SA getting config info?

2019-11-22 Thread Jerry Malcolm
Well,  I thought I finally had everything resolved.  When I run spamassassin -D --lint I get the lines: Nov 22 21:57:57.954 [13813] dbg: bayes: tie-ing to DB file R/O /root/.spamassassin/bayes_toks Nov 22 21:57:57.954 [13813] dbg: bayes: tie-ing to DB file R/O /root/.spamassassin/bayes_seen

Re: Where is SA getting config info?

2019-11-22 Thread RW
On Fri, 22 Nov 2019 13:06:23 -0600 Jerry Malcolm wrote: > I added:    bayes_path /etc/sysconfig/sa_bayes  This means that your files will be created directly in /etc/sysconfig/ with the filename prefix sa_bayes. You need to specify a dedicated directory to which your unprivileged user has

Re: Where is SA getting config info?

2019-11-22 Thread Jerry Malcolm
Kris, This was exactly the info I was looking for.  Thank you so much. I'm down to one issue with the bayes_path parm.  From what you have described, I assume what I put in local.cf is being overridden by some other cf file.  I really don't care at this point what folder to use.  I just

Re: What Rules Am I Missing

2019-11-22 Thread Jerry Malcolm
You are correct that I had not moved my bayes db.  I have the bayes_toks file.  But as I expected, the log says:         warn: bayes: cannot open bayes databases /root/.spamassassin/bayes_* R/O: tie failed: Googling this, I'm pretty sure this means that I have a db version mismatch.  I was

Re: Where is SA getting config info?

2019-11-22 Thread Kris Deugau
Jerry Malcolm wrote: I am trying to add bayes to SA.  I see in the docs that there is a use_bayes parm and the path parm.  I made the changes to /usr/share/spamassassin/local.cf.  But I see no change.  I am not sure it's even loading that config file. I've got debug on, and the log doesn't

Re: Where is SA getting config info?

2019-11-22 Thread Jerry Malcolm
Thanks for the quick response... see below: On 11/22/2019 12:25 PM, Matus UHLAR - fantomas wrote: On 22.11.19 12:14, Jerry Malcolm wrote: I am trying to add bayes to SA.  I see in the docs that there is a use_bayes parm and the path parm.  I made the changes to

Re: Where is SA getting config info?

2019-11-22 Thread Matus UHLAR - fantomas
On 22.11.19 12:14, Jerry Malcolm wrote: I am trying to add bayes to SA.  I see in the docs that there is a use_bayes parm and the path parm.  I made the changes to /usr/share/spamassassin/local.cf. the config files and rules are usually in /etc/spamassassin/ But I see no change.  I am not

Where is SA getting config info?

2019-11-22 Thread Jerry Malcolm
I am trying to add bayes to SA.  I see in the docs that there is a use_bayes parm and the path parm.  I made the changes to /usr/share/spamassassin/local.cf.  But I see no change.  I am not sure it's even loading that config file. I've got debug on, and the log doesn't tell me that it's

Re: some question about bayes learn/score math

2019-11-22 Thread RW
On Fri, 22 Nov 2019 15:15:02 +0100 Philipp Ewald wrote: > Hi folks, > > sorry for asking again but Bayes is a blackbox for me :( > > I have some question about bayes math. How does bayes/spamassassin > calculate this values? > > i'm wonder about : auto-learn?* and "score so far=8.601) ... >

Re: Custom rule to please the Mayor

2019-11-22 Thread Martin Gregorie
On Fri, 2019-11-22 at 13:01 +, RW wrote: > On Fri, 22 Nov 2019 00:00:53 + > Martin Gregorie wrote: > > > > describe SPOOFED_MAYOR Check for spoofed mail from the Mayor > > header __SM1 From:name =~ /^John M Mayor$/ > > header __SM2 From:addr =~ /^john\@cityhall\.com$/

some question about bayes learn/score math

2019-11-22 Thread Philipp Ewald
Hi folks, sorry for asking again but Bayes is a blackbox for me :( I have some question about bayes math. How does bayes/spamassassin calculate this values? i'm wonder about : auto-learn?* and "score so far=8.601) dbg: rules: running head tests; score so far=8.601 [...] dbg: rules: running

Re: Calling SA from a C program?

2019-11-22 Thread RW
On Fri, 22 Nov 2019 08:00:25 -0500 Kevin A. McGrail wrote: > Hi Anders, recommend you look at spamc.  It's a lightweight c program > designed to call spamd that is used extensively.  > spawning spamc is lightweight compared with processing an email, but if you want to use spamd directly see:

Re: Custom rule to please the Mayor

2019-11-22 Thread RW
On Fri, 22 Nov 2019 00:00:53 + Martin Gregorie wrote: > describe SPOOFED_MAYOR Check for spoofed mail from the Mayor > header __SM1 From:name =~ /^John M Mayor$/ > header __SM2 From:addr =~ /^john\@cityhall\.com$/ > meta SPOOFED_MAYOR (__SM1 && ! __SM2) || ! _SM1 >

Re: Calling SA from a C program?

2019-11-22 Thread Kevin A. McGrail
Hi Anders, recommend you look at spamc.  It's a lightweight c program designed to call spamd that is used extensively.  On 11/22/2019 7:58 AM, Anders Gustafsson wrote: > Excuse me if this is off-topic, but I want to call SA to process email > messages. I have written a C-program that receives

Calling SA from a C program?

2019-11-22 Thread Anders Gustafsson
Excuse me if this is off-topic, but I want to call SA to process email messages. I have written a C-program that receives messages from our mail system which has the ability to put received emails i a "third-party" directory for processing. Right now am I calling SA by making a simple system()

Re: Finding bayes_toks in AWS Linux EC2

2019-11-22 Thread RW
On Fri, 22 Nov 2019 09:26:49 +0100 Axb wrote: > On 2019-11-22 07:53, Jerry Malcolm wrote: > > Where is the configuration parameter that governs where bayes_toks > > is stored for global use (not per user)?  I am on an AWS Linux EC2 > > environment.  I've seen comments on the net that say it's in

Re: What Rules Am I Missing

2019-11-22 Thread hg user
>> I recently migrated SA to a new environment with a clean install. I added the KAM rules and a short rules file of my own. But I'm obviously missing some pretty basic rules that I believe I had in the old environment. > or Bayes by the look of it. Did you have bayes working on the old

Re: Finding bayes_toks in AWS Linux EC2

2019-11-22 Thread Axb
On 2019-11-22 07:53, Jerry Malcolm wrote: Where is the configuration parameter that governs where bayes_toks is stored for global use (not per user)?  I am on an AWS Linux EC2 environment.  I've seen comments on the net that say it's in /.spamassassin and other comments that say it's in