[Dovecot] Quota fs (ignore mount)
Peter Ignatov
pit11 at ukr.net
Tue Sep 6 15:11:53 EEST 2011
Hi,
I set "quota: fs:INBOX:noenforcing:mount=/var/spool/mail", but receive: "fs quota add storage dir = /home/pit/mail"...
Why ?
In fstab:
/dev/mapper/mpath1p1 /var/spool/mail ext2 usrquota 0 0
In dovecot.log:
Sep 06 15:02:00 pop3-login: Info: Login: user=<pit>, method=PLAIN, rip=192.168.3.10, lip=192.168.6.3, TLS
Sep 06 15:02:00 POP3(pit): Info: Loading modules from directory: /usr/lib64/dovecot/pop3
Sep 06 15:02:00 POP3(pit): Info: Module loaded: /usr/lib64/dovecot/pop3/lib10_quota_plugin.so
Sep 06 15:02:00 POP3(pit): Info: Effective uid=500, gid=500, home=/home/pit
Sep 06 15:02:00 POP3(pit): Info: Quota root: name=INBOX backend=fs args=noenforcing:mount=/var/spool/mail
Sep 06 15:02:00 POP3(pit): Info: Quota rule: root=INBOX mailbox=* bytes=10485760 messages=0
Sep 06 15:02:00 POP3(pit): Info: Quota warning: bytes=9961472 (95%) messages=0 command=/usr/local/bin/quota-warning.sh 95
Sep 06 15:02:00 POP3(pit): Info: mbox: data=~/mail:INBOX=/var/spool/mail/pit
Sep 06 15:02:00 POP3(pit): Info: fs: root=/home/pit/mail, index=, control=, inbox=/var/spool/mail/pit
Sep 06 15:02:00 POP3(pit): Info: fs quota add storage dir = /home/pit/mail
Sep 06 15:02:00 POP3(pit): Info: fs quota block device = /dev/cciss/c0d0p3
Sep 06 15:02:00 POP3(pit): Info: fs quota mount point = /
Sep 06 15:02:00 POP3(pit): Info: fs quota mount type = ext3
Sep 06 15:02:01 POP3(pit): Info: Disconnected: Logged out top=0/0, retr=0/0, del=0/2, size=1249
dovecot --version
1.2.17
dovecot -n
# 1.2.17: /etc/dovecot.conf
# OS: Linux 2.6.18-274.el5.asp121 x86_64 Red Hat Enterprise Linux Server release 5.6 (Tikanga)
log_path: /var/log/dovecot.log
protocols: pop3 pop3s
listen: *
login_dir: /var/run/dovecot/login
login_executable: /usr/libexec/dovecot/pop3-login
verbose_proctitle: yes
mail_location: mbox:~/mail:INBOX=/var/spool/mail/%u
mail_debug: yes
mail_executable: /usr/libexec/dovecot/pop3
mail_plugins: quota
mail_plugin_dir: /usr/lib64/dovecot/pop3
auth default:
passdb:
driver: pam
userdb:
driver: passwd
plugin:
quota: fs:INBOX:noenforcing:mount=/var/spool/mail
quota_rule: *:storage=10240
quota_warning: storage=95%% /usr/local/bin/quota-warning.sh 95
More information about the dovecot
mailing list