get error mails to user amavis in /var/mail

Discussion in 'ISPConfig 3 Priority Support' started by chico11mbit, Jun 7, 2015.

  1. chico11mbit

    chico11mbit Member

    Ever three hours i get error mails in /var/mail to user amavis:

    Does anyone knows how to deal with this errormessage?

    Code:
    ...
    From: [email protected] (Cron Daemon)
    To: [email protected]
    Subject: Cron <amavis@server3> test -e /usr/sbin/amavisd-new-cronjob && /usr/sbin/amavisd-new-cronjob sa-sync
    Content-Type: text/plain; charset=ANSI_X3.4-1968
    X-Cron-Env: <SHELL=/bin/sh>
    X-Cron-Env: <HOME=/var/lib/amavis>
    X-Cron-Env: <PATH=/usr/bin:/bin>
    X-Cron-Env: <LOGNAME=amavis>
    Message-Id: ...
    
    Date: Sun,  7 Jun 2015 21:18:03 +0200 (CEST)
    
    bayes: cannot open bayes databases /var/lib/amavis/.spamassassin/bayes_* R/O: tie failed: Keine Berechtigung
    bayes: cannot open bayes databases /var/lib/amavis/.spamassassin/bayes_* R/O: tie failed: Keine Berechtigung
    bayes: cannot open bayes databases /var/lib/amavis/.spamassassin/bayes_* R/O: tie failed: Keine Berechtigung
    bayes: cannot open bayes databases /var/lib/amavis/.spamassassin/bayes_* R/W: tie failed: Keine Berechtigung
    here is the ls -al from the directory whicht throws the errors:
    Code:
    root@server3:/var/mail# cd /var/lib/amavis/.spamassassin/
    root@server3:/var/lib/amavis/.spamassassin# ls -al
    insgesamt 6260
    drwx------ 2 amavis amavis    4096 Jun  7 23:00 .
    drwxr-x--- 7 amavis amavis    4096 Jun  3 13:17 ..
    -rw------- 1 amavis amavis 2621440 Jun  7 22:00 bayes_seen
    -rw------- 1 root   root   5210112 Jun  7 23:00 bayes_toks
    -rw-r--r-- 1 amavis amavis    1869 Sep 21  2014 user_prefs
    
     
  2. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    Try
    it should not be owned by root.
     
  3. chico11mbit

    chico11mbit Member

    owned by amavis:amavis?
     
  4. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    You posted:
    but it should be
     
  5. chico11mbit

    chico11mbit Member

    Thanks a lot :)
     

Share This Page