[Dovecot] imap fs quota (rpc) won't work?

Adam McDougall mcdouga9 at egr.msu.edu
Wed Feb 6 04:59:07 EET 2008


In the past I dabbled with the imap quota plugin with the fs backend 
because I wanted
to report usage to my users (not limit them).  At the time, the quota 
plugin would make
dovecot crash when trying to write to a folder (I can bring up this 
report if needed).
However, in a later beta of dovecot 1.1 I tried quota again but I cannot 
get it to report
any results.  I've been wanting to use fs:noenforcing but also tried 
just quota = fs to simplify.
When I right click a folder stored in my homedir, thunderbird tells me 
'the server does not support
quotas' in the folder properties.  What else can I do?  Thanks!

IModule loaded: /usr/local/lib/dovecot/imap/lib10_quota_plugin.so
IModule loaded: /usr/local/lib/dovecot/imap/lib11_imap_quota_plugin.so
Feb  5 21:53:16 gribble dovecot: IMAP(mcdouga9): fs quota add storage 
dir = /home/mcdouga9/Maildir
Feb  5 21:53:16 gribble dovecot: IMAP(mcdouga9): fs quota block device = 
cypher:/vol/mail/home
Feb  5 21:53:16 gribble dovecot: IMAP(mcdouga9): fs quota mount point = 
/home

gribble# quota -v mcdouga9 | grep home
/home 10766672  20480000 20480000          963778  4294967295 4294967295

# 1.1.beta14: /usr/local/etc/dovecot.conf
ssl_cert_file: /usr/local/etc/apache2/ssl/mail.pem
ssl_key_file: /usr/local/etc/apache2/ssl/mail.pem
login_dir: /var/run/dovecot/login
login_executable: /usr/local/libexec/dovecot/imap-login
mail_max_userip_connections: 25
verbose_proctitle: yes
first_valid_uid: 1000
first_valid_gid: 1000
mail_extra_groups: postlocal
mail_location: 
maildir:%h/Maildir:CONTROL=%h/Maildir/dovecot/private/control:INDEX=%h/Maildir/dovecot/private/indexes
mail_debug: yes
mmap_disable: yes
mail_nfs_storage: yes
mail_nfs_index: yes
mail_plugins: acl fts fts_squat quota imap_quota
mail_log_max_lines_per_sec: 0
imap_client_workarounds: delay-newmail netscape-eoh tb-extra-mailbox-sep
namespace:
  type: private
  separator: /
  inbox: yes
  list: yes
  subscriptions: yes
namespace:
  type: private
  separator: /
  prefix: mail/
  hidden: yes
  subscriptions: yes
namespace:
  type: private
  separator: /
  prefix: Mail/
  hidden: yes
  subscriptions: yes
namespace:
  type: public
  separator: /
  prefix: #shared/decs/
  location: 
maildir:/egr/mail/shared/decs:CONTROL=%h/Maildir/dovecot/public/control/decs:INDEX=%h/Maildir/dovecot/public/indexes/de
  list: yes
  subscriptions: yes
auth default:
  passdb:
    driver: pam
  userdb:
    driver: passwd
    args: system_user=
  socket:
    type: listen
    client:
      path: /var/spool/postfix/private/auth
      mode: 384
      user: postfix
      group: postfix
plugin:
  quota: fs
  acl: vfile:/usr/local/etc/dovecot-acls:cache_secs=10
  fts: squat



More information about the dovecot mailing list