[Dovecot] 2.0.5: quota warning failing

Timo Sirainen tss at iki.fi
Wed Oct 6 18:27:03 EEST 2010


On Wed, 2010-10-06 at 17:14 +0200, Ralf Hildebrandt wrote:

> Oct  6 17:06:24 postamt dovecot: quota-warning: Error: lda: Fatal: Unknown argument: plugin/quota=maildir:User quota:noenforcing

This looks as if it's missing -o parameter..

> The actual dovecot-lda invocation is:
> ${BIN_CAT} << EOF | /usr/dovecot-2/libexec/dovecot/dovecot-lda -d $USER -o "plugin/quota=maildir:User quota:noenforcing"
> some text
> EOF

Looks right. Works with me:

[tss at kurkku] ~/cvs/dovecot-2.0/src/lda% echo hello|./dovecot-lda -d $USER -o "plugin/quota=maildir:User quota:noenforcing"  
[tss at kurkku] ~/cvs/dovecot-2.0/src/lda% echo $?
0

> dovecot.conf says:
> quota = maildir
> so should I just use "plugin/quota=maildir:noenforcing"?

plugin/quota=maildir::noenforcing

The second parameter between ':' is quota root name (default is empty).

> # /usr/dovecot-2/libexec/dovecot/dovecot-lda -?
> /usr/dovecot-2/libexec/dovecot/dovecot-lda: invalid option -- '?'
> Usage: dovecot-lda [-c <config file>] [-a <address>] [-d <username>] [-p <path>]
>                    [-f <envelope sender>] [-m <mailbox>] [-e] [-k]
> 
> "-o" is not being mentioned anywhere. WTF?

Yeah, the parameters that work with all Dovecot binaries aren't shown in
help currently..



More information about the dovecot mailing list