Hello. I recently installed a mail server on a Ubuntu server. I noticed, however, that I am getting a cron job error sent via email. I don't know how to go about troubleshooting this. I would like to say that I am a novice to Linux. Code: [i]Cron <amavis@web-server> test -e /usr/sbin/amavisd-new-cronjob && /usr/sbin/amavisd-new-cronjob sa-syn[/i] bayes: cannot open bayes databases /etc/spamassassin/bayes_* R/O: tie failed: Permission denied bayes: expire_old_tokens: locker: safe_lock: cannot create tmp lockfile /etc/spamassassin/bayes.lock.web-server.20927 for /etc/spamassassin/bayes.lock: Permission denied
Since my ubuntu server doesn't have a gui interface and I am using windows as a client pc, I don't know how to copy and paste the list. I took a screenshot instead.
You can use an SSH client such as PuTTY to connect to the server. This also allows you to do copy&paste. What's the output of Code: grep amavis /etc/passwd and Code: grep amavis /etc/group ?
Thanks for the tip. Here are the outputs. ls -la /etc/spamassassin/ grep amavis /etc/passwd grep amavis /etc/group
That's strange, permissions seem to be ok. Can you add the amavis user to the spamd group? Maybe that helps.
I gave amavis permission to the folder with these cmd I have an unrelated issue dealing with spam tag. Is it possible to have all emails marked as spam be deleted automatically? Right now I am receiving all marked spam emails sent to inbox. I read we need to edit the amavisd.conf but I don't see it in the amavis dir. Thanks.