Add 'config/dovecot/quota-warning.sh'
This commit is contained in:
9
config/dovecot/quota-warning.sh
Normal file
9
config/dovecot/quota-warning.sh
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
PERCENT=$1
|
||||||
|
USER=$2
|
||||||
|
cat << EOF | /usr/lib/dovecot/dovecot-lda -d $USER -o "plugin/quota=dict:User quota::noenforcing:proxy::sqlquota"
|
||||||
|
From: postmaster@linuxize.com
|
||||||
|
Subject: Quota warning
|
||||||
|
|
||||||
|
Your mailbox is now $PERCENT% full.
|
||||||
|
EOF
|
||||||
Reference in New Issue
Block a user