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@kurkku] ~/cvs/dovecot-2.0/src/lda% echo hello|./dovecot-lda -d $USER -o "plugin/quota=maildir:User quota:noenforcing"
[tss@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..