Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    Kopano-Spamd failure "permission denied"

    Kopano Groupware Core
    1
    1
    798
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • nils50122
      nils50122 last edited by

      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.```
      1 Reply Last reply Reply Quote 0
      • First post
        Last post