Hello folks ^^)

I've installed the latest spamassassin version on a new Debian 11 server and configured it to work with Postfix, amavis-new, and clamav.

spamassassin got a user named 'spamd' and is run under it.


sa-update is set on a cron job to automate the update but that fails  :(

each day I get that report from cron :


/etc/cron.daily/spamassassin:
mkdir /var/lib/spamassassin/3.004006: Permission denied at /usr/bin/sa-update 
line 488.
sa-update failed for unknown reasons.


First, I've thinked that it was a permissions problem for 'spamd' user to 
access the '/var/lib/spamassassin' directory, so I've
'chown -r spamd:spamd /var/lib/spamassassin'

but even with permissions set to 775 on that directory the update still fail 
with the same message.

I just can't set permissions to 777 on that kind of directory (I'm not mad), so 
what is the real problem with sa-update not working under spamassassin's own 
user when on a cron job on debian 11 ?


Thanks,

Jeff

Reply via email to