[Dovecot] 1.1b3 and Maildir quota
I upgraded a 1.0 install to 1.1b3. Almost everything is working peachy-keen :) It seems faster to me, Offline Folders and 'new mail' options for Thunderbird are now working, and Mail.App doesn't seem to need the extra namespace. Unfortunately it doesn't seem to read my quotas any longer.
I went through the docs, and I see the quota plugin has changed, but there doesn't seem to be a needed configuration change. Did I miss something?
I used my same dovecot.conf as 1.0: I also wiped clean my /usr/local/lib/dovecot directory and reinstalled, just to be sure, but it still doesn't work :/
Is it because I use checkpassword for my auth?
# 1.1.beta3: /usr/local/etc/dovecot.conf base_dir: /var/run/dovecot/ log_path: /var/log/dovecot/dovecot.log info_log_path: /var/log/dovecot/dovecot_info.log disable_plaintext_auth: no shutdown_clients: no login_dir: /var/run/dovecot/login login_executable: /usr/local/libexec/dovecot/imap-login login_user: nobody login_process_per_connection: no login_greeting_capability: yes login_process_size: 64 login_processes_count: 15 login_max_processes_count: 512 verbose_proctitle: yes first_valid_uid: 89 mail_executable: /usr/local/libexec/dovecot/rawlog /usr/local/libexec/dovecot/imap mail_plugins: quota imap_quota imap_client_workarounds: delay-newmail outlook-idle netscape-eoh tb-extra-mailbox-sep namespace: type: private separator: . prefix: INBOX. inbox: yes list: yes auth default: user: vpopmail passdb: driver: checkpassword args: /usr/local/vpopmail/bin/vchkpw userdb: driver: prefetch plugin: quota: maildir dell#
On Sun, 2007-10-21 at 12:33 -0500, Rick Romero wrote:
I upgraded a 1.0 install to 1.1b3. Almost everything is working peachy-keen :) It seems faster to me, Offline Folders and 'new mail' options for Thunderbird are now working, and Mail.App doesn't seem to need the extra namespace. Unfortunately it doesn't seem to read my quotas any longer.
I went through the docs, and I see the quota plugin has changed, but there doesn't seem to be a needed configuration change. Did I miss something?
The configuration is completely different now. See http://wiki.dovecot.org/Quota/New
Timo Sirainen wrote:
On Sun, 2007-10-21 at 12:33 -0500, Rick Romero wrote:
I upgraded a 1.0 install to 1.1b3. Almost everything is working peachy-keen :) It seems faster to me, Offline Folders and 'new mail' options for Thunderbird are now working, and Mail.App doesn't seem to need the extra namespace. Unfortunately it doesn't seem to read my quotas any longer.
I went through the docs, and I see the quota plugin has changed, but there doesn't seem to be a needed configuration change. Did I miss something?
The configuration is completely different now. See http://wiki.dovecot.org/Quota/New
Ok, so looking a little deeper it would probably be best for me to change from passdb checkpassword to vpopmail, so I remove: passdb checkpassword { args = /usr/local/vpopmail/bin/vchkpw } userdb prefetch { }
and add:
passdb vpopmail { # [cache_key=<key>] - See cache_key in PAM for explanation. # [quota_template=<template>] - %q expands to Maildir++ quota # (eg. quota_template=quota_rule=*:backend=%q) #args = quota_template=quota_rule=*:backend=%q
} userdb vpopmail { }
And dovecot -n says: Error: Error in configuration file /usr/local/etc/dovecot.conf line 871: Unknown setting: quota_template Fatal: Invalid configuration in /usr/local/etc/dovecot.conf
I've tried putting quota_template outside the brackets, I've tried putting just: quota_rule=*:backend=%q in the plugin section to no avail :(
I also can't get vpopmail auth to work at all - but I consider that a config error on my end at this point ;)
On Sun, 2007-10-21 at 13:55 -0500, Rick Romero wrote:
passdb vpopmail { # [cache_key=<key>] - See cache_key in PAM for explanation. # [quota_template=<template>] - %q expands to Maildir++ quota # (eg. quota_template=quota_rule=*:backend=%q) #args = quota_template=quota_rule=*:backend=%q
It needs to be in args:
args = quota_template=..
v2.0 hopefully gets rid of this "args" and makes it work the way you expected.
participants (2)
-
Rick Romero
-
Timo Sirainen