-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I've spent the past couple of hours trying to figure this out by checking the wiki and googling, but haven't come up with anything that works yet.
I just installed dovecot 1.0.14 with the quota-rewrite (1.09) patch and i'm trying to get the quota overridden via a passwd-file type userdb.
I had 1.0.13 without the new quota style patched in working but having trouble figuring this out. any help would be appreciated.
prior to the quota-rewrite patch (which i installed with the hopes of using quota_warn feature) i was able to put the following line into my passwd-file userdb and it was working:
alan:*:1000:1000::/home/alan::userdb_quota=maildir:storeage=2048000:ignore=Sent
(which is what I wanted) but now with the new quota definition style, I'm not sure what I need to define the extra fields as.
here is dovecot -n:
# 1.0.14: /usr/local/etc/dovecot.conf log_path: /var/log/dovecot.log protocols: imap imaps managesieve ssl_cert_file: /etc/pki/tls/certs/dovecot.pem ssl_key_file: /etc/pki/tls/private/dovecot.pem disable_plaintext_auth: no login_dir: /usr/local/var/run/dovecot/login login_executable(default): /usr/local/libexec/dovecot/imap-login login_executable(imap): /usr/local/libexec/dovecot/imap-login login_executable(managesieve): /usr/local/libexec/dovecot/managesieve-login login_greeting_capability(default): yes login_greeting_capability(imap): yes login_greeting_capability(managesieve): no verbose_proctitle: yes mail_location: maildir:~/Maildir mail_debug: yes maildir_copy_with_hardlinks: yes mail_executable(default): /usr/local/libexec/dovecot/imap mail_executable(imap): /usr/local/libexec/dovecot/imap mail_executable(managesieve): /usr/local/libexec/dovecot/managesieve mail_plugins(default): quota imap_quota mail_plugins(imap): quota imap_quota mail_plugins(managesieve): mail_plugin_dir(default): /usr/local/lib/dovecot/imap mail_plugin_dir(imap): /usr/local/lib/dovecot/imap mail_plugin_dir(managesieve): /usr/local/lib/dovecot/managesieve sieve_storage(default): sieve_storage(imap): sieve_storage(managesieve): ~/sieve sieve(default): sieve(imap): sieve(managesieve): ~/.dovecot.sieve auth default: ~ passdb: ~ driver: pam ~ userdb: ~ driver: passwd-file ~ args: /usr/local/etc/dovecot.passwd ~ userdb: ~ driver: passwd ~ socket: ~ type: listen ~ master: ~ path: /var/run/dovecot/auth-master ~ mode: 384 ~ user: dovecot ~ group: dovecot plugin: ~ quota_rule: *:storage=1G ~ quota_rule2: Trash:storage=100M
thanks,
alan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkhPd+cACgkQE2gsBSKjZHQNMACghSk7awVX1Aj5HVeo0KjRxyZc lT0AoLJA00SiYiefi2wNrAOt7L6N5eg4 =mA8L -----END PGP SIGNATURE-----