mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-30 06:40:10 +02:00
refactoring: split helper functions into smaller scripts (#2420)
This commit is contained in:
parent
2927cc47c7
commit
b61dfe1e24
41 changed files with 389 additions and 396 deletions
|
@ -1,14 +0,0 @@
|
|||
#! /bin/bash
|
||||
|
||||
# Report a quota usage warning to an user
|
||||
|
||||
PERCENT="${1}"
|
||||
USER="${2}"
|
||||
DOMAIN="${3}"
|
||||
|
||||
cat << EOF | /usr/lib/dovecot/dovecot-lda -d "${USER}" -o "plugin/quota=maildir:User quota:noenforcing"
|
||||
From: postmaster@${DOMAIN}
|
||||
Subject: quota warning
|
||||
|
||||
Your mailbox is now ${PERCENT}% full.
|
||||
EOF
|
Loading…
Add table
Add a link
Reference in a new issue