Displaying 3 results from an estimated 3 matches for "perec".
Did you mean:
perez
2017 Mar 05
3
quota-warning: possible to have size also?
Hello Community,
My dovecot setup works fine with quotas and quota-warning.
I have a questions though: when running the warning script, the example
foundis it possible to pass the *quota size *as argument also? This
would be useful with per-user quota.
e.g. /some/script xx% username *xxxbytes* (order is not relevant of course)
Thank you for your help.
Cheers
2017 Mar 06
0
quota-warning: possible to have size also?
...d argument, you can deduce it's current quota size and restriction by reading the maildirsize file (if you have it). I think you can do the same if your quota is in the database (querying).
This a piece of script I wrote once that shows the value of quota used and quota max (both in megas and perecent) that might help you if you know your way through bash scripting :
root at messagerie[10.10.10.19] ~/SCRIPTS/MAIL # cat showquota.single
mega=$((1024*1024))
inbox="${1%@*}"
maildir="/var/vmail/domain.tld/$inbox"
backup="/var/vmail/backup.domain.tld/$inbox"
[ ! -...
2017 Mar 06
1
quota-warning: possible to have size also?
...ou can deduce it's current quota size and restriction by reading the maildirsize file (if you have it). I think you can do the same if your quota is in the database (querying).
>
>
> This a piece of script I wrote once that shows the value of quota used and quota max (both in megas and perecent) that might help you if you know your way through bash scripting :
I might be missing something but what's the advantage over doveadm?
doveadm quota get -A
--
Alex JOST