quota-status returns quota_status_success when email would put user over quota

Kristian Pedersen kp at asom-net.dk
Thu Feb 2 13:23:48 UTC 2017


Hi Christian,

On 2017-01-31 23:20, Christian Kivalo wrote:
>> dovecot -n:
>> # 2.2.13: /etc/dovecot/dovecot.conf
>> # OS: Linux 3.16.0-4-amd64 x86_64 Debian 8.6 ext4
>> auth_default_realm = vejen-net.dk
>> auth_mechanisms = plain login
>> auth_verbose = yes
>> disable_plaintext_auth = no
>> first_valid_uid = 110
>> log_timestamp = "%Y-%m-%d %H:%M:%S "
>> mail_debug = yes
>> mail_location = maildir:/data/vmail/%d/%n/
> The one line i'm missing here from your doveconf -n output is mail_plugins = " quota" set in conf.d/10-mail.conf
>
> Have you added quota to the global mail plugins setting? http://wiki2.dovecot.org/Quota

That did it, now it seems to work!

I thought the global mail_plugins was only a variable not a config 
option. But it seems it must be set.

So this works:

mail_plugins = $mail_plugins quota
protocol imap {
   mail_plugins = $mail_plugins imap_quota
}
protocol pop3 {
   mail_plugins = $mail_plugins
}

But this does not:
protocol imap {
   mail_plugins = quota imap_quota
}
protocol pop3 {
   mail_plugins = quota
}

Thank you very much for helping me along.
Also thanks to Aki Tuomi who pointed out the same issue.

Regards,

-- 
Kristian Pedersen
ASOM-Net
Systemadministrator
www.asom-net.dk
Telefon: 44 400 970



More information about the dovecot mailing list