On 2022-06-02 15:13, Bert Van de Poel wrote:
For the error: does the spamd user actually exist? that's a requirement of course.
to check in shell id spamd
I've always controlled SA loglevels through amavis, but from the spamd man page I would expect that it's related to -D. I'm not completely sure what the default is.
amavisd does not need spamd to be running, but amavisd can still use spamd user to run as, if that is wanted
http://wiki.apache.org/spamassassin/DebugChannels is listed for more information.
--create-prefs and --username is reqired spamd to be started as root, also pr user homedir should use $HOME to not create files or logs outside of home, work around this is to do syslog from spamd with can create logs safely
I expect your high CPU usage is just coming from SA trying to spawn children as a user that doesn't exist though.
in gentoo with glep 81 spamd user exists distros without glep 81 have another problems on the same problem