search for: showquota

Displaying 2 results from an estimated 2 matches for "showquota".

2017 Mar 06
0
quota-warning: possible to have size also?
...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" [ ! -e $maildir ] && echo "Boite email inexistante. Veuillez v?rifier encore une fois l'orthogrape de $inbox at domain.tld&q...
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