Hi,

There should be an empty line between 'Subject' and mail body, otherwise
mail body won't be included.
----<----
An alternative script using deliver would be:

#!/bin/bash
PERCENT=$1
cat << EOF | /usr/local/libexec/dovecot/deliver -d $USER -c /usr/local/etc/dovecot-nowarning.conf
From: [EMAIL PROTECTED]
Subject: quota warning
Your mailbox is now $PERCENT% full.
EOF
----<----

Like this:
----<----
[...skip...]
Subject: quota warning

Your mailbox is now $PERCENT% full.
[...skip...]
----<----

Thanks.

--
Best regards.

- Open Source Mail Server Solution for RHEL/CentOS 5.x:
 http://code.google.com/p/iredmail/

Reply via email to