[Dovecot] Quota warnings and LMTP
tss at iki.fi
Sat Feb 18 18:51:33 EET 2012
On 17.2.2012, at 15.40, joshua at hybrid.pl wrote:
> I have dovecot 2.0 configured with virtual users in MySQL, SMTP is
> handled by exim which uses dovecot LMTP transport.
> I'd like to test quota warning messages, but in wiki2 there is only
> an example for delivering it with dovecot-lda. I tried several ways
> of using lmtp binary, but without success.
> How to replace this:
> cat << EOF | /usr/local/libexec/dovecot/dovecot-lda -d $USER -o "plugin/quota=maildir:User quota:noenforcing"
> From: postmaster at domain.com
> Subject: quota warning
> Your mailbox is now $PERCENT% full.
> with lmtp?
This command is only about adding the warning mail to user's mailbox, bypassing any quota. Just because you deliver mails normally via LMTP doesn't mean that you have to do it for warning mails. This same dovecot-lda command should work just fine.
More information about the dovecot