Add 'config/dovecot/quota-warning.sh'

This commit is contained in:
b.waal
2019-08-31 10:26:27 +02:00
parent 112da142d1
commit 1e0458e343

View 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