Hi, currently I am unsure, whether it is possible to update the bayes-database of spamd/spamassassin as user mccramer while spamd/spamassassin is running under user nobody:nobody AND assign the database rw-rights for nobody:nobody only.
Nobody has neither the right to login nor a home directory. I tried sudo -u nobody sa-learn --spam --dbpath /etc/mail/nobody/.spamassassin/ --dir . as user mccramer but it complains with: "Sorry, user mccramer is not allowed to execute '/usr/bin/sa-learn --spam --dbpath /etc/mail/nobody/.spamassassin/ --dir .' as nobody:nobody on solfire." /etc/sudoers is set to allow this for mccramer. What is the trick to accomplish what is wanted here ? Thank you very much in advance for any help! Best regards, mcc