Re: Setting Threshold (Resolved)

2019-09-28 Thread Bill Cole
On 28 Sep 2019, at 13:20, Jerry Malcolm wrote: On 9/28/2019 9:38 AM, Matus UHLAR - fantomas wrote: On 28 Sep 2019, at 0:24, Jerry Malcolm wrote: Understood.  I'm definitely stopping and starting the spamd service. (Although it's called the spamassassin service, it is definitely starting and s

Re: Setting Threshold (Resolved)

2019-09-28 Thread Matus UHLAR - fantomas
On 28.09.19 00:21, Jerry Malcolm wrote: With my extra parameter added /usr/bin/perl -T -w /usr/bin/spamd --pidfile /var/run/spamd.pid -D -d -c -m5 -H --cf=required_score 4.0 On 9/28/2019 9:38 AM, Matus UHLAR - fantomas wrote: the "required_score 4.0" should be enclosed in quotes of apos

Re: Setting Threshold

2019-09-28 Thread RW
On Fri, 27 Sep 2019 23:24:49 -0500 Jerry Malcolm wrote: > Understood.  I'm definitely stopping and starting the spamd service. > (Although it's called the spamassassin service, it is definitely > starting and stopping spamd. > > I've done a ton of digging around.  I located: > > /usr/lib/syste

Re: Setting Threshold (Resolved)

2019-09-28 Thread Jerry Malcolm
On 9/28/2019 9:38 AM, Matus UHLAR - fantomas wrote: On 28 Sep 2019, at 0:24, Jerry Malcolm wrote: Understood.  I'm definitely stopping and starting the spamd service. (Although it's called the spamassassin service, it is definitely starting and stopping spamd. I've done a ton of digging aroun

Re: Setting Threshold

2019-09-28 Thread Matus UHLAR - fantomas
On 28 Sep 2019, at 0:24, Jerry Malcolm wrote: Understood.  I'm definitely stopping and starting the spamd service. (Although it's called the spamassassin service, it is definitely starting and stopping spamd. I've done a ton of digging around.  I located: /usr/lib/systemd/system/spamassassin.

Re: Setting Threshold

2019-09-27 Thread Jerry Malcolm
On 9/28/2019 12:35 AM, Bill Cole wrote: On 28 Sep 2019, at 1:21, Jerry Malcolm wrote: On 9/27/2019 11:49 PM, Bill Cole wrote: On 28 Sep 2019, at 0:24, Jerry Malcolm wrote: Understood.  I'm definitely stopping and starting the spamd service. (Although it's called the spamassassin service, i

Re: Setting Threshold

2019-09-27 Thread Bill Cole
On 28 Sep 2019, at 1:21, Jerry Malcolm wrote: On 9/27/2019 11:49 PM, Bill Cole wrote: On 28 Sep 2019, at 0:24, Jerry Malcolm wrote: Understood.  I'm definitely stopping and starting the spamd service. (Although it's called the spamassassin service, it is definitely starting and stopping spam

Re: Setting Threshold

2019-09-27 Thread Jerry Malcolm
On 9/27/2019 11:49 PM, Bill Cole wrote: On 28 Sep 2019, at 0:24, Jerry Malcolm wrote: Understood.  I'm definitely stopping and starting the spamd service. (Although it's called the spamassassin service, it is definitely starting and stopping spamd. I've done a ton of digging around.  I locat

Re: Setting Threshold

2019-09-27 Thread Bill Cole
On 28 Sep 2019, at 0:24, Jerry Malcolm wrote: Understood.  I'm definitely stopping and starting the spamd service. (Although it's called the spamassassin service, it is definitely starting and stopping spamd. I've done a ton of digging around.  I located: /usr/lib/systemd/system/spamassassin

Re: Setting Threshold

2019-09-27 Thread Jerry Malcolm
I've been using SA on a Windows machine (SpamAssassin In A Box) for about 10 years.  I wouldn't call it 'research'.  It's simply administrator and user observation.  With the threshold at 5.0 I'm getting tons of spam unflagged.  I was at 4.0 for years on my old server, and didn't have much of a

Re: Setting Threshold

2019-09-27 Thread LuKreme
On Sep 27, 2019, at 13:14, Jerry Malcolm wrote: > I am trying to change the results threshold from 5.0 to 4.0. Do you have a really good reason that you have researched and really examined for doing this based on years of experience with SpamAssassin? If so, great. But otherwise, in nearly al

Re: Setting Threshold

2019-09-27 Thread Jerry Malcolm
Understood.  I'm definitely stopping and starting the spamd service. (Although it's called the spamassassin service, it is definitely starting and stopping spamd. I've done a ton of digging around.  I located: /usr/lib/systemd/system/spamassassin.service that starts /usr/bin/spamd using optio

Re: Setting Threshold

2019-09-27 Thread David B Funk
Jerry, One other potential point of confusion; when you say:   But when I stop and start the service and process an email through it, headers still say 5.0 as the threshold. What particular service did you stop and restart? Specifically did you restart just the Apache James se

Re: Setting Threshold

2019-09-27 Thread David B Funk
Unfortunately the answer to those questions tends to be OS distro specific. Usually logs go someplace under "/var/log/" but there's nothing to prevent your particular distro's creators putting them elsewhere. The startup stuff is often very OS distro & version specific; is yours an "init scri

Re: Setting Threshold

2019-09-27 Thread Jerry Malcolm
Oh yes... and the location of the actual SA startup command file as well. Thx On 9/27/2019 7:01 PM, Jerry Malcolm wrote: Thanks. I'll try all of that.  But unfortunately I'm coming into AWS Linux from a Windows background.  I'm having a heck of a time finding the configuration and log fil

Re: Setting Threshold

2019-09-27 Thread Jerry Malcolm
Thanks.  I'll try all of that.  But unfortunately I'm coming into AWS Linux from a Windows background.  I'm having a heck of a time finding the configuration and log file folders that linux server implementations seem to like splattering all over the hard drive... :-).  Where should I be lookin

Re: Setting Threshold

2019-09-27 Thread David B Funk
Jerry, That looks like a functional implementation of the "spamc" client. So that implies your system is using "spamd" daemon for actual processing of the spam. (as opposed to something like "amavis" which directly incorporates the SA scanning engine) Did you restart the spamd daemon after yo

Re: Setting Threshold

2019-09-27 Thread Jerry Malcolm
Hi Bill,  Thanks for the quick response. I'm using Apache James 3.3.0.   I investigated the class that calls spamd.  There is a class SpamAssassinInvoker in the James distribution that actually calls spamd.  Relevant code excerpt from that class is below.  It doesn't appear that any threshold

Re: Setting Threshold

2019-09-27 Thread Bill Cole
On 27 Sep 2019, at 15:14, Jerry Malcolm wrote: I am setting up SA on an AWS Linux EC2.  I am trying to change the results threshold from 5.0 to 4.0.  I went to /usr/share/spamassassin/local.cf, uncommented and changed: "required_score 4.0".  But when I stop and start the service and process a