[Dovecot] Dovecot 2.0 (2.0.11) na nfs quota
Bartłomiej Solarz-Niesłuchowski
Bartlomiej.Solarz-Niesluchowski at wit.edu.pl
Wed Mar 9 10:53:22 EET 2011
Good Morning!
I have problems with setup imap quota with mailboxes on nfs
I use dovecot 2.0.11, below dovecot.conf + extract from log:
# 2.0.9: /etc/dovecot.conf.rpmsave
# OS: Linux 2.6.35.11-83.fc14.x86_64 x86_64 Fedora release 14 (Laughlin)
mail_plugins = acl quota zlib trash
auth_cache_size = 8 k
dotlock_use_excl = yes
mail_location = maildir:~/Maildir:INBOX=/var/spool/mail/%u
mail_nfs_index = yes
mail_fsync=always
mail_nfs_storage = yes
mail_privileged_group = mail
mmap_disable = yes
ssl_cert = </etc/pki/tls/certs/ipop3d.pem
ssl_key = </etc/pki/tls/certs/ipop3d.pem
passdb {
args = cache_key=%u%r%l max_requests=256
driver = pam
}
protocols = imap pop3
service auth {
client_limit = 5248
user = root
}
service anvil {
client_limit=1155
}
service imap-login {
client_limit = 256
inet_listener imap {
port = 0
}
inet_listener imaps {
address = [::], *
port = 993
}
process_limit = 1024
service_count = 0
}
protocol imap {
ssl_cert = </etc/pki/tls/certs/imapd.pem
ssl_key = </etc/pki/tls/certs/imapd.pem
mail_plugins = $mail_plugins imap_quota
mail_debug=yes
}
service imap {
process_limit = 2048
}
service pop3-login {
client_limit = 256
inet_listener pop3 {
port = 0
}
inet_listener pop3s {
address = [::], *
port = 995
}
process_limit = 128
service_count = 0
}
protocol pop3 {
ssl_cert = </etc/pki/tls/certs/ipop3d.pem
ssl_key = </etc/pki/tls/certs/ipop3d.pem
}
service pop3 {
process_limit = 2048
}
userdb {
driver = passwd
}
plugin {
quota = fs:Disk quota:user
quota_warning = storage=95%% quota-warning 95 %u
quota_warning2 = storage=80%% quota-warning 80 %u
}
service quota-warning {
executable = script /usr/local/bin/quota-warning.sh
# use some unprivileged user for executing the quota warnings
user = dovenull
unix_listener quota-warning {
}
}
Mar 9 09:36:06 dervish dovecot: imap-login: Login: user=<solarz>,
method=PLAIN, rip=213.135.34.118, lip=213.135.44.54, mpid=4264, TLS
Mar 9 09:36:06 dervish dovecot: imap(solarz): Debug: Effective
uid=1761, gid=101, home=/home/staff/solarz
Mar 9 09:36:06 dervish dovecot: imap(solarz): Debug: acl: No acl
setting - ACLs are disabled
Mar 9 09:36:06 dervish dovecot: imap(solarz): Debug: Quota root:
name=Disk quota backend=fs args=user
Mar 9 09:36:06 dervish dovecot: imap(solarz): Debug: Quota warning:
bytes=0 (95%) messages=0 reverse=no command=quota-warning 95 solarz
Mar 9 09:36:06 dervish dovecot: imap(solarz): Debug: Quota warning:
bytes=0 (80%) messages=0 reverse=no command=quota-warning 80 solarz
Mar 9 09:36:06 dervish dovecot: imap(solarz): Debug: maildir++:
root=/home/staff/solarz/Maildir, index=, control=,
inbox=/var/spool/mail/solarz
Mar 9 09:36:06 dervish dovecot: imap(solarz): Debug: fs quota add
mailbox dir = /home/staff/solarz/Maildir
Mar 9 09:36:06 dervish dovecot: imap(solarz): Debug: fs quota block
device = oceanic:/home7
Mar 9 09:36:06 dervish dovecot: imap(solarz): Debug: fs quota mount
point = /home7
Mar 9 09:36:06 dervish dovecot: imap(solarz): Debug: fs quota mount
type = nfs
Mar 9 09:36:06 dervish dovecot: imap(solarz): Debug: trash: No trash
setting - plugin disabled
Mar 9 09:36:06 dervish dovecot: imap(solarz): Error:
quotactl(Q_GETQUOTA, oceanic:/home7) failed: No such file or directory
Mar 9 09:36:06 dervish dovecot: imap(solarz): Error:
quotactl(Q_GETQUOTA, oceanic:/home7) failed: No such file or directory
Mar 9 09:36:06 dervish dovecot: imap(solarz): Error:
quotactl(Q_GETQUOTA, oceanic:/home7) failed: No such file or directory
Mar 9 09:36:08 dervish dovecot: imap(solarz): Error:
quotactl(Q_GETQUOTA, oceanic:/home7) failed: No such file or directory
Mar 9 09:36:14 dervish dovecot: imap(solarz): Error:
quotactl(Q_GETQUOTA, oceanic:/home7) failed: No such file or directory
Mar 9 09:36:14 dervish dovecot: imap(solarz): Error:
quotactl(Q_GETQUOTA, oceanic:/home7) failed: No such file or directory
[root at dervish dovecot]# quota solarz
Ograniczenia dyskowe user solarz (uid 1761):
System plików bloki miękki twardy pobł. pliki miękki twardy pobł.
/dev/mapper/vg01-lvol00
256572 7120150 8000150 1373 140010 510010
ftp:/home/ftp/pub
163490624 180000000 280000000 221472
0 0
oceanic:/home1 162643 13756030 14888830 697 190000 650000
oceanic:/home7 12298720 13756030 14888830 144846 190000 650000
oceanic:/homed 3022789 13756030 14888830 15122 190000 650000
What I doing wrong?
Best Regards
PS-Inbox is mounted locally rest of the mailboxes are via nfs
--
Bartłomiej Solarz-Niesłuchowski, Administrator WSISiZ
e-mail: Bartlomiej.Solarz-Niesluchowski at wit.edu.pl
tel. 223486547, fax 223486501
JID: solarz at jabber.wit.edu.pl
01-447 Warszawa, ul. Newelska 6, pokój 404, pon.-pt. 8-16
Motto - Jak sobie pościelisz tak sie wyśpisz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5212 bytes
Desc: S/MIME Cryptographic Signature
Url : http://dovecot.org/pipermail/dovecot/attachments/20110309/85ad7bf4/attachment.bin
More information about the dovecot
mailing list