On 2024-01-05 at 13:53:00 UTC-0500 (Fri, 5 Jan 2024 18:53:00 +0000)
Thomas Krichel <kric...@openlib.org>
is rumored to have said:
Hi gang,
my first post here.
I'm running version 4.0.0-8 on debian testing. This is for
Mailman. I have a script that creates a welcomelist for all my
Mailman members. I include it via a symlink.
# ls -l /etc/spamassassin/88_mailman_members.cf
lrwxrwxrwx 1 root root 57 Jan 5 15:52
/etc/spamassassin/88_mailman_members.cf ->
../../home/mailman/opt/spamassassin/88_mailman_members.cf
Clearly spamassassin follows the symlink and reads the file. I can
see by just making a mistake in it, mistyping welcomelist as
wlcomelist
root@tagol~# spamassassin --lint
Jan 5 17:58:51.081 [783424] warn: config: failed to parse line in
/etc/spamassassin/88_mailman_members.cf (line 1248): wlcomelist_from
kric...@openlib.org
root@tagol~#
But
# spamc -R < /tmp/test.mail
does not see the welcomelisted user. It's only when I remove the
syslink, and replace it with the file
Why would you think spamc ever sees any SA rules file? That would pretty
much destroy any excuse for using spamc/spamd.
You probably only needed to restart spamd.
rm /etc/spamassassin/88_mailman_members.cf
cp /home/mailman/opt/spamassassin/88_mailman_members.cf
/etc/spamassassin/88_mailman_members.cf
and restart
# systemctl restart spamd
Should have tried that first...
that
# spamc -R < /tmp/test.mail
sees the welcomelisted user. I am puzzled by this.
--
Written by Thomas Krichel http://openlib.org/home/krichel on his
21399th day.
--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire