Dovecot and custom login -> false quota exceeding

Discussion in 'Developers' Forum' started by platan, Apr 7, 2016.

  1. platan

    platan New Member

    • Centos 7.x
    • Dovecot
    • ISPConfig (clean perfect server...)
    I get two diferent .quotausage files
    • Every sieve action (new incoming e-mail) - creates or updates /var/vmail/ file with positive values increasing to infinity.
    • Every dovecot action (mail retriving) - creates /var/vmail/ folder and/or updates /var/vmail/ file with negative valuse (after some number of retrievings) decreasing to minus-infinity.
    This results in false mail quota exceeding.
    • cron.hourly
    • rm -f /var/vmail/*/*/.quotausage
    Possible cause
    I thing this is problem in the Dovecot quota plugin.
    In /etc/dovecot/dovecot.conf file:
    • plugin { quota = dict:user::file:/var/vmail/%d/%n/.quotausage ...; what mechanism regenerates (from db) %d and %n parts corresponding to custom username and passes it to the quota plugin?
    • protocol imap { mail_plugins = quota imap_quota ...; what is imap_quota mail_plugin?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

Share This Page