Sha256: 5f452a5e501e6c01a29f21b6197b332c8193faafccb33312c070aa42f3aad1b4

Contents?: true

Size: 671 Bytes

Versions: 1

Compression:

Stored size: 671 Bytes

Contents

#!/bin/sh
PERCENT=$1
USER=$2
cat << EOF | /usr/lib/dovecot/dovecot-lda -d $USER -o "plugin/quota=maildir:User quota:noenforcing"
From: Email Postmaster <postmaster@%<mailname>s>
Subject: Your mailbox is $PERCENT% full.

Hello there,

Your mailbox can store a limited amount of emails. Currently it is $PERCENT% full. New emails will not be stored if you reach 100%.

To get more space in your mailbox you can:
1. Contact your email provider and upgrade your plan.
2. Delete emails from your mailbox.

If using option 2, please ensure you have emptied your Trash folder to free up the space.

Thanks for reading. Hope this was helpful.

Regards,
Your Email Postmaster
EOF

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
smartmachine-1.3.0 lib/smart_machine/templates/dotsmartmachine/config/emailer/usr/local/bin/quota-warning.sh