quota-warning: possible to have size also?
chaouche yacine
yacinechaouche at yahoo.com
Mon Mar 6 11:50:17 UTC 2017
Good point Alex, there's no real advantage that script was there from courier's time and I still use it but doveadm quota command does the trick just as well.
Actual quota :
root at messagerie[10.10.10.19] ~ # doveadm quota get -u sec-drh at domain.tld 2>/dev/null | sed -n 1p | awk '{print $4}'
559728
root at messagerie[10.10.10.19] ~ #
Max quota :
root at messagerie[10.10.10.19] ~ # doveadm quota get -u sec-drh at domain.tld 2>/dev/null | sed -n 1p | awk '{print $5}'
1048576
root at messagerie[10.10.10.19] ~ #
-- Yassine.
More information about the dovecot
mailing list