Displaying 4 results from an estimated 4 matches for "get_quota".
Did you mean:
get_quote
2017 Mar 06
0
quota-warning: possible to have size also?
...ox="${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" && exit 1
function get_quota {
mailfolder="$1"
maildirsize="$mailfolder/maildirsize"
fields=$(echo $(head -2 $maildirsize))
max="${fields%%S*}"
cur="$(echo $fields | cut -f2 -d ' ')"
ratio=$(echo "scale=2; $cur * 100 / $max" | bc)
cur=$(echo "scale=2; $cur / $mega...
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 Jun 22
0
Samba 4.6.5 and quota
...ombination of type and uid/gidnumber: It combines the
user/group quota type (1 and 3) with uid/gidnumbers of -1 which is not
helpful since there is obviously no way to figure out the quota for user
X without knowing who user X is... Is this a bug or a feature that I
just don't understand ?
get_quota: Running command /usr/local/bin/getsambaquota.pl . 1 -1
get_quota: Running command /usr/local/bin/getsambaquota.pl . 3 -1
Regards,
Stephan
2006 Sep 19
1
Problem with large files
Hi
we have samba 3.0.14a on FreeBSD 5.4.
We tried with different kind of locking and oplocks (both enabled and
disabled).
If we try to copy from a Windows XP client a file larger than 3g, we get
these error:
Cannot copy XXX. The specified network name is no longer available.
We traced this problem in the logs (log level 10) and we got this error
------------
[2006/09/19 10:29:41, 5]