[Dovecot] Dovecot 2.0 (2.0.11) na nfs quota

Bartłomiej Solarz-Niesłuchowski Bartlomiej.Solarz-Niesluchowski at wit.edu.pl
Wed May 18 21:21:43 EEST 2011


W dniu 2011-03-16 12:26, Bartłomiej Solarz-Niesłuchowski pisze:
> W dniu 2011-03-09 14:20, Bartłomiej Solarz-Niesłuchowski pisze:
>> plugin/quota = fs:INBOX:mount=/var/spool/mail
>> plugin/quota2 = fs:Others:user
>
> OK reason founded.
>
> On system where was compiled dovecot was no quota-devel package....
>
> Now dovecot works correctly.
>
> BUT
>
> anybody knows why Mozilla Thunderbird shows quota based only on 
> plugin/quota2 = fs:Others:user even on INBOX
>
OKi
next problem:
after changing dovecot to v. 2.0.12 TB shows quota on INBOX correctly 
but quota on Send and other mailboxes is noquota:
GOOD:
8164[7102b80]: 830c000:imap.wit.edu.pl:A:CreateNewLineFromSocket: 6 OK 
[READ-WRITE] Select completed.

8164[7102b80]: 830c000:imap.wit.edu.pl:S-INBOX:SendData: 7 getquotaroot 
"INBOX"

8164[7102b80]: ReadNextLine [stream=5e82428 nb=29 needmore=0]
8164[7102b80]: 830c000:imap.wit.edu.pl:S-INBOX:CreateNewLineFromSocket: 
* QUOTAROOT "INBOX" "INBOX"

8164[7102b80]: ReadNextLine [stream=5e82428 nb=39 needmore=0]
8164[7102b80]: 830c000:imap.wit.edu.pl:S-INBOX:CreateNewLineFromSocket: 
* QUOTA "INBOX" (STORAGE 3336 200000)

8164[7102b80]: ReadNextLine [stream=5e82428 nb=30 needmore=0]
8164[7102b80]: 830c000:imap.wit.edu.pl:S-INBOX:CreateNewLineFromSocket: 
7 OK Getquotaroot completed.

BAD:
7672[71040c0]: 964b000:imap.wit.edu.pl:A:CreateNewLineFromSocket: 2 OK 
[READ-WRITE] Select completed.

7672[71040c0]: 964b000:imap.wit.edu.pl:S-mail.Sent:SendData: 3 
getquotaroot "mail.Sent"

7672[71040c0]: ReadNextLine [stream=95fbe88 nb=16 needmore=0]
7672[71040c0]: 
964b000:imap.wit.edu.pl:S-mail.Sent:CreateNewLineFromSocket: 3 OK No quota.

7672[71040c0]: 964b000:imap.wit.edu.pl:S-mail.Sent:SendData: 4 UID fetch 
1:* (FLAGS) (CHANGEDSINCE 0)

dovecot.conf
# 2.0.12: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.35.11-83.fc14.x86_64 x86_64 Fedora release 14 (Laughlin)
auth_cache_size = 8 k
mail_fsync = always
mail_location = maildir:~/Maildir:INBOX=/var/spool/mail/%u
mail_nfs_index = yes
mail_nfs_storage = yes
mail_plugins = acl quota zlib trash
mail_privileged_group = mail
mmap_disable = yes
passdb {
   args = cache_key=%u%r%l max_requests=256
   driver = pam
}
plugin {
   quota = fs:INBOX:mount=/var/spool/mail
   quota2 = fs:Others:user
   quota_warning = storage=95%% quota-warning 95 %u
   quota_warning2 = storage=80%% quota-warning 80 %u
}
protocols = imap pop3
service anvil {
   client_limit = 1155
}
service auth {
   client_limit = 5248
   user = root
}
service imap-login {
   client_limit = 256
   inet_listener imap {
     port = 0
   }
   inet_listener imaps {
     address = [::], *
     port = 993
   }
   process_limit = 1024
   service_count = 0
}
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
}
service pop3 {
   process_limit = 2048
}
service quota-warning {
   executable = script /usr/local/bin/quota-warning.sh
   user = dovenull
}
ssl_cert = </etc/pki/tls/certs/ipop3d.pem
ssl_key = </etc/pki/tls/certs/ipop3d.pem
userdb {
   driver = passwd
}
protocol imap {
   mail_plugins = acl quota zlib trash imap_quota
   ssl_cert = </etc/pki/tls/certs/imapd.pem
   ssl_key = </etc/pki/tls/certs/imapd.pem
}
protocol pop3 {
   ssl_cert = </etc/pki/tls/certs/ipop3d.pem
   ssl_key = </etc/pki/tls/certs/ipop3d.pem
}

Tomorrow I will upgrade to dovecot 2.0.13 and check again (lukasz).

Best Regards

-- 
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: 6020 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20110518/f75a22db/attachment-0001.bin>


More information about the dovecot mailing list