[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
spamd and the nobody home
From: |
Bob Proulx |
Subject: |
spamd and the nobody home |
Date: |
Sun, 18 Jul 2021 18:47:05 -0600 |
While looking at the startup errors I noticed that spamd starts and
logs these errors.
Jul 18 20:29:51 debbugs spamd[16649]: spamd: using default config for
nobody: /var/lib/spamassassin/nobody/user_prefs
Jul 18 20:29:51 debbugs spamd[16649]: bayes: cannot open bayes databases
/var/lib/spamassassin/nobody/bayes_* R/O: tie failed: Permission denied
I look and find a very old set of files there that do not have
permissions due to spamd being explicitly run as -u nobody but the
files set up to expect them run as debian-spamd.
/var/lib/spamassassin/nobody:
-rw-r--r-- 1 debian-spamd debian-spamd 171749376 Jan 6 2012 auto-whitelist
-rw------- 1 debian-spamd debian-spamd 22 Jun 8 2012
bayes.lock.debbugs.gnu.org.20036
-rw------- 1 debian-spamd debian-spamd 22 Jun 8 2012
bayes.lock.debbugs.gnu.org.20099
-rw------- 1 debian-spamd debian-spamd 105 Jun 8 2012
bayes.lock.debbugs.gnu.org.9375
-rw------- 1 debian-spamd debian-spamd 52944 Jun 8 2013 bayes_journal
-rw------- 1 debian-spamd debian-spamd 170110976 Jun 8 2013 bayes_seen
-rw------- 1 debian-spamd debian-spamd 5234688 Jun 8 2013 bayes_toks
I decided to fix this. But don't want to use those files from 2012
and 2013 so I move the directory to old-nobody and set up new files.
I will experiment around to see if I can make this usable so that
there can be Bayes learning for it.
Bob
- spamd and the nobody home,
Bob Proulx <=