[Dovecot] Type error in wiki page: /Quota/1.1

Zhang Huangbin zhbmaillistonly at gmail.com
Tue Oct 28 05:09:21 EET 2008


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: postmaster at domain.com
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/



More information about the dovecot mailing list