Add 'config/dovecot/quota-warning.sh'
This commit is contained in:
1 parent
112da142d1
commit
1e0458e343
1 file changed
+9
@@ -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