Displaying 2 results from an estimated 2 matches for "mail_quota_perc".
2012 Feb 28
1
quota warning script not working after upgrade to 2.1.1
...8 19:40:13 postamt dovecot: quota-warning: Fatal: master: service(quota-warning): child 3318 returned error 1
What is failing here?
#!/bin/sh
#
# Should be run by the Local Delivery Agent
#
#set -x
SCRIPT_NAME="quota-warning2"
MAIL_TO=$2
MAIL_FROM="postmaster at charite.de"
MAIL_QUOTA_PERCENT=$1
MAIL_SUBJECT="Ihre Mailbox ist zu "$1"% voll!"
BIN_CAT="/bin/cat"
BIN_DATE="/bin/date"
BIN_HOSTNAME="/bin/hostname"
BIN_LOGGER="/usr/bin/logger"
BIN_MV="/bin/mv"
BIN_STAT="/usr/bin/stat"
#set -x
# set misc val...
2009 Nov 26
2
quote warning not being triggered (yet again)
...ieve
sieve_dir: ~/sieve
-------------- next part --------------
#!/bin/sh
#
# Should be run by the Local Delivery Agent
# Expects USER and HOME to be set as an environment variable
#
SCRIPT_NAME="quota-warning"
MAIL_TO="${USER}"
MAIL_FROM="postmaster at charite.de"
MAIL_QUOTA_PERCENT=$1
MAIL_SUBJECT="Ihre Mailbox ist zu "$1"% voll!"
DIR_MAILDIR_NEW="${HOME}/Maildir/new"
DIR_MAILDIR_TMP="${HOME}/Maildir/tmp"
BIN_CAT="/bin/cat"
BIN_DATE="/bin/date"
BIN_HOSTNAME="/bin/hostname"
BIN_LOGGER="/usr/bin/log...