[Dovecot] Quota & expire problem
Kari Suomela (DC)
dovecot at karico.ca
Mon Dec 1 00:58:28 EET 2008
I have managed to get the master quota working, but cannot get individual user quota to do anything.
Here is a line from /etc/dovecot/passwd:
_kari at karico.ca:XXXXXXXXX:502:502::/var/mail/vhosts/karico.ca/kari::userdb_quota_rule=*:bytes=600M_
Also, based on this, the expire cron job says: Unknown dict module: db
# 1.1.6: /etc/dovecot.conf
# OS: Linux 2.6.18-92.1.18.el5.centos.plusxen i686 CentOS release 5.2 (Final)
log_path: /var/log/dovecot/dovecot.log
info_log_path: /var/log/dovecot/dovecot.log
protocols: imap pop3 imaps pop3s
listen: 209.222.57.19
ssl_listen: 209.222.57.19
verbose_ssl: yes
login_dir: /var/run/dovecot/login
login_executable(default): /usr/libexec/dovecot/imap-login
login_executable(imap): /usr/libexec/dovecot/imap-login
login_executable(pop3): /usr/libexec/dovecot/pop3-login
login_greeting: mail.karico.ca ready.
login_greeting_capability: yes
verbose_proctitle: yes
mail_access_groups: virtual
mail_location: maildir:~/Maildir
mail_debug: yes
mail_executable(default): /usr/libexec/dovecot/imap
mail_executable(imap): /usr/libexec/dovecot/imap
mail_executable(pop3): /usr/libexec/dovecot/pop3
mail_plugins(default): quota imap_quota
mail_plugins(imap): quota imap_quota
mail_plugins(pop3): quota
mail_plugin_dir(default): /usr/lib/dovecot/imap
mail_plugin_dir(imap): /usr/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/pop3
auth external:
verbose: yes
debug: yes
debug_passwords: yes
socket:
type: connect
master:
path: /var/run/dovecot/auth-master
mode: 384
auth default:
verbose: yes
debug: yes
debug_passwords: yes
passdb:
driver: passwd-file
args: /etc/dovecot/passwd
userdb:
driver: static
args: uid=virtual gid=virtual home=/var/mail/vhosts/%d/%n
socket:
type: listen
client:
path: /var/run/dovecot/auth-client
mode: 432
master:
path: /var/run/dovecot/auth-master
mode: 384
plugin:
quota: maildir:User quota
quota_rule: *:storage=1G
quota_rule2: Trash:storage=20%%
quota_rule3: Spam:storage=30%%
quota_warning: storage=95%% /usr/local/bin/quota-warning.sh 95
quota_warning2: storage=70%% /usr/local/bin/quota-warning.sh 70
expire: Trash 7 Spam 30
expire_dict: db:/var/lib/dovecot/expire.db
dict:
expire: db:/var/lib/dovecot/expire.db
More information about the dovecot
mailing list