Initial commit.
This commit is contained in:
11
dovecot/quota-warning.sh
Executable file
11
dovecot/quota-warning.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
PERCENT=$1
|
||||
USER=$2
|
||||
|
||||
cat << EOF | /usr/libexec/dovecot/dovecot-lda -d $USER -o "plugin/quota=dict:User quota::noenforcing:proxy::sqlquota"
|
||||
From: postmaster@898.ro
|
||||
Subject: Mailbox quota warning
|
||||
|
||||
Your mailbox is now $PERCENT% full.
|
||||
EOF
|
||||
Reference in New Issue
Block a user