Mail quota not working

Discussion in 'General' started by ttvilaplana, Feb 9, 2013.

  1. ttvilaplana

    ttvilaplana New Member

    Hello,

    I've installed Ispconfig 3.0.4.6 in Debian Squeeze

    I'm working on a new server rsynced from old one.

    In ispconfig interface I can see a lot of mailbox accounts with 0 kb of "Mailbox Quota".
    squirrel works fine and I can see the real usage of the maibox hard disk.

    Is strange because not all the mailboxes shows 0Kb in the ispconfig "Mailbox quota".

    Looking the ispconfig cron.log I can see a lot of entries like this

    du: cannot access `/var/vmail/xxxxxx.com/xxxxxxx': No such file or directory

    How can I debug this behavior?

    Thanks.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Ensure that all files and folders in /var/vmail/ are owned by user and group vmail.
     
  3. ttvilaplana

    ttvilaplana New Member


    Thanks Till,
    All files and folders are:
    drwx------ vmail vmail
    except:
    drwxr-xr-x 51 root root 4096 Jan 31 18:27 mailfilters
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok, so thats ok.

    Does the path mentioned in the error message "/var/vmail/xxxxxx.com/xxxxxxx" exists? Or did you move the mailboxes to a different path and the old path is still in the mail_user database table for some mailboxes?
     
  5. ttvilaplana

    ttvilaplana New Member

    Yes.

    The path exists for every error message in the cron.log
    There are also several errors like this: find: `./system': Permission denied

    ┬┐Which script executes 'du' command to count the disk occupation of mailboxes? maybe I could follow it to find the error.

    Thanks.
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    /usr/local/ispconfig/server/server.sh

    This script runs as root user, run "crontab -l" as root user to see the cronjob entry.
     
  7. ttvilaplana

    ttvilaplana New Member

    Hello Till

    We can't find the problem for wich the mail quote is 0 on isp control panel.

    We can see in the cron.log file the following errors when we execute manually the script: /usr/local/ispconfig/server/cron_daily.sh

    find: `./bin': Permission denied
    find: `./lib': Permission denied
    find: `./dev': Permission denied
    find: `./system': Permission denied
    find: `./home': Permission denied
    find: `./usr': Permission denied
    find: `./var': Permission denied
    find: `./etc': Permission denied

    The script you comment /usr/local/ispconfig/server/server.sh don't show any errors.

    Thanks
     
  8. scarleo

    scarleo New Member

    Mail quota doesn't work for me either, all mail boxes show something like 104 kb even though I know that some of them contains a lot more. Nonw of the mentioned scripts gives any errors.
     

Share This Page