Timo Sirainen schrieb:
On Sep 23, 2008, at 1:07 PM, Jonas Christian wrote:
quota_rule=*:bytes:<bytes> ..
Sep 15 00:24:52 mailserver dovecot: auth(default): master out: USER 380864 spam@xxx.com uid=100 5 gid=1005 home=/var/vmail/mailboxes/xxx.com/spam
quota=maildir:bytes=20480000Says quota=maildir:bytes=20480000 here, no quota_rule..
I'm sorry about that. I was sending the logs from last week when I was messing around with the configs quite a bit. This is the actual config from now:
spam@xxx.com:{PLAIN}<password>:1005:1005::/var/vmail/mailboxes/xxx.com/spam::quota_rule=*:bytes=20971520
There is no file named "maildirsize" in the mail directory. Now, logging in by IMAP I get:
Sep 23 12:18:24 mailserver dovecot: auth(default): client in: AUTH 1 CRAM-MD5 service=imap lip=<private ip> rip=<public ip> lport=143 rport=34763 Sep 23 12:18:24 mailserver dovecot: auth(default): client out: CONT 1 PDYzOTE1OTM5OTczNDY4NjAuMTIyMjE 2NTEwNEB0ZG8tbWFpbDAyLmRtejExLmlzYy50b2RvLmRlPg== Sep 23 12:18:25 mailserver dovecot: auth(default): client in: CONT<hidden> Sep 23 12:18:25 mailserver dovecot: auth(default): passwd-file(spam@xxx.com,<public ip>): lookup: user=spam@xxx.com file=/var/vmail/config/passdb Sep 23 12:18:25 mailserver dovecot: auth(default): client out: OK 1 user=spam@xxx.com quota_rule=*:bytes=20971520 Sep 23 12:18:25 mailserver dovecot: auth(default): master in: REQUEST 29 8740 1 Sep 23 12:18:25 mailserver dovecot: auth(default): passwd-file(spam@xxx.com,<public ip>): lookup: user=spam@xxx.com file=/var/vmail/config/passdb Sep 23 12:18:25 mailserver dovecot: auth(default): master out: USER 29 spam@xxx.com uid=1005 gid=1005 home=/var/vmail/mailboxes/xxx.com/spam Sep 23 12:18:25 mailserver dovecot: imap-login: Login: user=spam@xxx.com, method=CRAM-MD5, rip=<public ip>, lip=<private ip> Sep 23 12:18:25 mailserver dovecot: IMAP(spam@xxx.com): Loading modules from directory: /usr/local/lib/dovecot/imap Sep 23 12:18:25 mailserver dovecot: IMAP(spam@xxx.com): Module loaded: /usr/local/lib/dovecot/imap/lib10_quota_plugin.so Sep 23 12:18:25 mailserver dovecot: IMAP(spam@xxx.com): Module loaded: /usr/local/lib/dovecot/imap/lib11_imap_quota_plugin.so Sep 23 12:18:25 mailserver dovecot: IMAP(spam@xxx.com): Effective uid=1005, gid=1005, home=/var/vmail/mailboxes/xxx.com/spam Sep 23 12:18:25 mailserver dovecot: IMAP(spam@xxx.com): Quota root: name= backend=maildir args= Sep 23 12:18:25 mailserver dovecot: IMAP(spam@xxx.com): Namespace: type=private, prefix=INBOX., sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes Sep 23 12:18:25 mailserver dovecot: IMAP(spam@xxx.com): maildir: data=/var/vmail/mailboxes/xxx.com/spam Sep 23 12:18:25 mailserver dovecot: IMAP(spam@xxx.com): maildir++: root=/var/vmail/mailboxes/xxx.com/spam, index=, control=, inbox=/var/vmail/mailboxes/xxx.com/spam
-------- delivering a mail results in this ---------------- Sep 23 12:21:28 mailserver deliver(spam@xxx.com): Loading modules from directory: /usr/local/lib/dovecot/lda Sep 23 12:21:28 mailserver deliver(spam@xxx.com): Module loaded: /usr/local/lib/dovecot/lda/lib10_quota_plugin.so Sep 23 12:21:28 mailserver deliver(spam@xxx.com): Module loaded: /usr/local/lib/dovecot/lda/lib90_cmusieve_plugin.so Sep 23 12:21:28 mailserver dovecot: auth(default): master in: USER 1 spam@xxx.com service=deliver Sep 23 12:21:28 mailserver dovecot: auth(default): passwd-file(spam@xxx.com): lookup: user=spam@xxx.com file=/var/vmail/config/passdb Sep 23 12:21:28 mailserver deliver(spam@xxx.com): auth input: spam@xxx.com Sep 23 12:21:28 mailserver dovecot: auth(default): master out: USER 1 spam@xxx.com uid=1005 gid=1005 home=/var/vmail/mailboxes/xxx.com/spam Sep 23 12:21:28 mailserver deliver(spam@xxx.com): auth input: uid=1005 Sep 23 12:21:28 mailserver deliver(spam@xxx.com): auth input: gid=1005 Sep 23 12:21:28 mailserver deliver(spam@xxx.com): auth input: home=/var/vmail/mailboxes/xxx.com/spam Sep 23 12:21:28 mailserver deliver(spam@xxx.com): Quota root: name= backend=maildir args= Sep 23 12:21:28 mailserver deliver(spam@xxx.com): Namespace: type=private, prefix=INBOX., sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes Sep 23 12:21:28 mailserver deliver(spam@xxx.com): maildir: data=/var/vmail/mailboxes/xxx.com/spam Sep 23 12:21:28 mailserver deliver(spam@xxx.com): maildir++: root=/var/vmail/mailboxes/xxx.com/spam, index=, control=, inbox=/var/vmail/mailboxes/xxx.com/spam Sep 23 12:21:28 mailserver deliver(spam@xxx.com): cmusieve: /var/vmail/mailboxes/xxx.com/spam/.dovecot.sieve doesn't exist Sep 23 12:21:28 mailserver deliver(spam@xxx.com): msgid=20080923102128.1CC91A70FB@mailserver.isc.todo.de: saved mail to INBOX
Interestingly, I can see nothing about the quota rule in the deliver log although it appears in the IMAP log. I haven't the slightest idea why not.
Jonas