Kopano-Spamd failure "permission denied"



  • Hello,

    i have installed and configured amavis-new, spamassasin and Clamav-Daemon as the following tutorial:
    https://wiki.ubuntuusers.de/Amavis-Spam-Virenfilter/

    after this i configured kopano-spamd like the following tutorial:
    https://kb.kopano.io/display/WIKI/Kopano-spamd

    i also added the line kopano ALL=(amavis) NOPASSWD: /usr/bin/sa-learn --spam to the /etc/sudoers.

    but now when i drag an spam-mail to the folder junk there comes the output:

    config: path "/root/.spamassassin" is inaccessible: Permission denied
    config: path "/root/.spamassassin/user_prefs" is inaccessible: Permission denied
    config: path "/root/.spamassassin" is inaccessible: Permission denied
    config: path "/root/.spamassassin" is inaccessible: Permission denied
    bayes: expire_old_tokens: locker: safe_lock: cannot create tmp lockfile /root/.spamassassin/bayes.lock.host.domain.de.10935 for /root/.spamassassin/bayes.lock: Permission denied
    plugin: eval failed: bayes: (in learn) locker: safe_lock: cannot create tmp lockfile /root/.spamassassin/bayes.lock.host.domain.de.10935 for /root/.spamassassin/bayes.lock: Permission denied
    ERROR: the Bayes learn function returned an error, please re-run with -D for more information at /usr/bin/sa-learn line 501.```

Log in to reply
 

Looks like your connection to Kopano Community Forum was lost, please wait while we try to reconnect.