Daniel Aquino wrote: > > run these commands as the defang user. > > Would it be bad to use "root" because defang is not a real user..
"spamd" will not run as root. If you try it, it will switch to "nobody". You can deal with this two ways: If your mail accounts are owned by real users on the system, you can let SA run as the user you are delivering to. In this case, you must make sure that all of your users have read/write access to the Bayes files. If all of your mail accounts are owned by a single user, you can tell spamd which user to run as and set the ownership of the Bayes files to that user. If you are calling "spamassassin" directly, you will need to switch to the correct user yourself and then run it. For spamd, it looks like this: spamd -u mailacct -- Bowie