Maildir size and quota

Discussion in 'Installation/Configuration' started by scandal32, Mar 6, 2012.

  1. scandal32

    scandal32 New Member

    Hi. I'd like to know two thngs:

    1. What table in ispc3 keeps mail dir usage info (shown in Statististics Mailbox Quota)?

    2. If I change mail quota for user (up or down either from 0 to any value) ISPC removes ALL emails form mailbox. Why? I have to copy cur and new to eparate folder and bring it back after I set new quota.

    Thanks in advance
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    1) monitor_data
    2) No emails get removed when I change quota on my servers. Maybe you have a wrong lda setting in System > Server config or a similar problem on your server or you use a old or manually modified ispconfig version. The current version is
  3. scandal32

    scandal32 New Member

    Quota &

    Thanks for reply. Still I dunno how to read monitor_data content. disk usage has such content a:4:{i:1;a:7:{s:2:"fs";s:10:"/..... - how to read this? Since there's no way to filter and sort disk_usae data in ISPC I'd like to do it separately.

    About deleting mail when quota changes... can You precise what setting in server settings can be responsibile for such behavior?
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The data is a serialized php array. You can unpack it with the php unserialize function.

    For example if you have set a wrong imap server or lda under System > Server Config > Mail then the maildir structure that exists on the server does not match the requirements of the lda so that the maildir has to be recreated on next maildir update (which can be a quota change or any other update like a password change). Or that the maildir paths and placeholders on this settings page does not match your current maildir structure. See ispconfig faq on how to debug the ispconfig server process:

Share This Page