X-Git-Url: https://git.hcoop.net/hcoop/scripts.git/blobdiff_plain/0cf246e4e421a86a54bf3fa9ada1b3cf73be462b..b7f2a6bb672f16862e7612946eab9c307b5cb8c0:/quotacheck diff --git a/quotacheck b/quotacheck index fdf9c2c..70306a9 100755 --- a/quotacheck +++ b/quotacheck @@ -237,7 +237,7 @@ sub email_notify { $_ =~ s/\$CRIT{(\w+)}/$warn{$user}{$1} ? " (APPROACHING QUOTA)" : ""/mge; } #print join('', @msg); - open(MAIL, "| mail -s 'Approaching quota limit at HCoop' -a 'From: admins\@hcoop.net' -b 'docelic' '$user\@hcoop.net'"); + open(MAIL, "| mail -s 'Approaching quota limit at HCoop' -a 'From: admins\@hcoop.net' -b 'admins\@hcoop.net' '$user\@hcoop.net'"); { no warnings; print main::MAIL join('', @msg); } close MAIL; } @@ -302,12 +302,6 @@ Mail: threshold=$threshold{mail} use=$warn{mail} $CRIT{mail} -Databases: - size=$vol{db}{diskused} KB - quota=$vol{db}{maxquota} KB - threshold=$threshold{db} - use=$warn{db} $CRIT{db} - Please submit your disk quota increase request in a timely manner at: