The patch seems to work. Dovecot now displays the correct quota.
Also the command doveadm quota get -u user shows correct values.
What I'm unable to verify is the quota-status-service for postfix.
I have it configured in dovecot.conf as follows:
plugin {
quota_grace = 10%%
# 10% is the default
quota_status_success = DUNNO
quota_status_nouser = DUNNO
quota_status_overquota = "552 5.2.2 Mailbox is full"
}
service quota-status {
executable = quota-status -p postfix
inet_listener {
port = 8881
}
client_limit = 1
}
When I test it, while being clearly over quota, I get the following:
$doveadm quota get -u user
Quota name Type Value Limit %
User quota STORAGE 3901636 3300000 118
The patch seems to work. Dovecot now displays the correct quota. service for postfix.
Also the command doveadm quota get -u user shows correct values.
What I'm unable to verify is the quota-status-
I have it configured in dovecot.conf as follows: status_ success = DUNNO status_ nouser = DUNNO status_ overquota = "552 5.2.2 Mailbox is full"
plugin {
quota_grace = 10%%
# 10% is the default
quota_
quota_
quota_
}
service quota-status {
executable = quota-status -p postfix
inet_listener {
port = 8881
}
client_limit = 1
}
When I test it, while being clearly over quota, I get the following:
$doveadm quota get -u user
Quota name Type Value Limit %
User quota STORAGE 3901636 3300000 118
$printf "recipient= user\nsize= 1230444\ n\n" | nc -q1 localhost 8881
action=DUNNO
In my opinion it should return "552 5.2.2 Mailbox is full" instead of DUNNO.
Maybe somebody is able to test this?