Dovecot quota warnings errors

Discussion in 'Installation/Configuration' started by oufcomm, May 15, 2014.

  1. oufcomm

    oufcomm New Member


    I have ISPConfig3 on Wheezy, with dovecot

    I want warnings for mail quota and followed the howto of Marius Cramer (end of page)

    But there is an error :
    dovecot: lda([email protected]): Error: quota: net_connect_unix(/usr/bin/ failed: Connection refused
    I don't understand why. Any idea ?
  2. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    The howto has been for dovecot 1 not for dovecot 2.
    It works different in dovecot 2:

    plugin {
      quota = dict:user::file:/var/vmail/%d/%n/.quotausage
      quota_rule2 = Trash:storage=+20480
      quota_warning = storage=95%% quota-warning 95 %u
      quota_warning2 = storage=90%% quota-warning 90 %u
      quota_warning3 = storage=80%% quota-warning 80 %u
      sieve = /var/vmail/%d/%n/.sieve
    service quota-warning {
      executable = script /usr/bin/
      # use some unprivileged user for executing the quota warnings
      user = vmail
      unix_listener quota-warning {
            user = vmail
  3. oufcomm

    oufcomm New Member

    Many thanks, it works.

Share This Page