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.service that starts
/usr/bin/spamd using options file /etc/sysconfig/spamassassin and
writes the log to /var/log/maillog.
In the maillog it says it is loading options from
/var/lib/spamassassin/3.004000/updates_spamassassin_org/local.cf
I checked, and that file has required_score 4.0. Yet the rest of
the log file shows scores of x.x/5.0.
So I tried adding an option --cf=required_score 4.0 to the options
file. No change.
Then I tried adding it directly the spamd invocation in the
service file. No matter how many places I tell it I want 4.0.
Something is still overriding it to 5.0. Any other places you can
think of that I can look?
On 9/27/2019 11:49 PM, Bill Cole wrote:
What are the full command line options for spamd?
'ps aux |grep spamd' should tell you the ground truth.
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
the "required_score 4.0" should be enclosed in quotes of apostrophoes.
Or, in config file.
further, the empty -H changes how configs are used:
"By specifying no argument, spamd will use the spamc caller's home directory
instead."
so, the calling user $HOME/.spamassassin/user_prefs is used
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
99 percent of lawyers give the rest a bad name.