[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 15:20:19 EET 2011


W dniu 2011-03-09 13:56, Charles Marcus pisze:
> On 2011-03-09 7:34 AM, Bartłomiej Solarz-Niesłuchowski wrote:
>> W dniu 2011-03-09 12:42, Charles Marcus pisze:
>>> On 2011-03-09 3:53 AM, Bartłomiej Solarz-Niesłuchowski wrote:
>>>> I use dovecot 2.0.11,
>>> Ummm...
>>>> below dovecot.conf + extract from log:
>>>> # 2.0.9: /etc/dovecot.conf.rpmsave
>>> This says you're using 2.0.9... ?
>> that said that config was generated on 2.0.9
> Incorrect... it (is supposed to) show(s) the current running dovecot
> version.
>
> I know because I'm the one that asked Timo if it could be added to the
> output...
>
> It's purpose is to help discover if you are using the version/config you
> think you are using...
>
OK

Current status is that quota based on ext3 works BUT quota based on nfs 
dont.

below updated config:
# 2.0.11: /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
plugin/quota2 = fs:Others:user
plugin/quota_warning = storage=95%% quota-warning 95 %u
plugin/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_debug = yes
   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
}

Current log:
Mar  9 13:58:29 dervish dovecot: imap(solarz): Debug: 
box=/home/staff/solarz/Maildir/.mail.Dovecot mount=/var/spool/mail match=no
Mar  9 13:58:29 dervish dovecot: imap-login: Login: user=<solarz>, 
method=PLAIN, rip=213.135.34.118, lip=213.135.44.54, mpid=7230, TLS
Mar  9 13:58:29 dervish dovecot: imap(solarz): Debug: Effective 
uid=1761, gid=101, home=/home/staff/solarz
Mar  9 13:58:29 dervish dovecot: imap(solarz): Debug: acl: No acl 
setting - ACLs are disabled
Mar  9 13:58:29 dervish dovecot: imap(solarz): Debug: Quota root: 
name=INBOX backend=fs args=mount=/var/spool/mail
Mar  9 13:58:29 dervish dovecot: imap(solarz): Debug: Quota warning: 
bytes=0 (95%) messages=0 reverse=no command=quota-warning 95 solarz
Mar  9 13:58:29 dervish dovecot: imap(solarz): Debug: Quota warning: 
bytes=0 (80%) messages=0 reverse=no command=quota-warning 80 solarz
Mar  9 13:58:29 dervish dovecot: imap(solarz): Debug: Quota root: 
name=Others backend=fs args=user
Mar  9 13:58:29 dervish dovecot: imap(solarz): Debug: maildir++: 
root=/home/staff/solarz/Maildir, index=, control=, 
inbox=/var/spool/mail/solarz
Mar  9 13:58:29 dervish dovecot: imap(solarz): Debug: fs quota add 
mailbox dir = /home/staff/solarz/Maildir
Mar  9 13:58:29 dervish dovecot: imap(solarz): Debug: fs quota block 
device = oceanic:/home7
Mar  9 13:58:29 dervish dovecot: imap(solarz): Debug: fs quota mount 
point = /home7
Mar  9 13:58:29 dervish dovecot: imap(solarz): Debug: fs quota mount 
type = nfs
Mar  9 13:58:29 dervish dovecot: imap(solarz): Debug: fs quota add 
mailbox dir = /var/spool/mail
Mar  9 13:58:29 dervish dovecot: imap(solarz): Debug: fs quota block 
device = /dev/mapper/vg01-lvol00
Mar  9 13:58:29 dervish dovecot: imap(solarz): Debug: fs quota mount 
point = /var/spool
Mar  9 13:58:29 dervish dovecot: imap(solarz): Debug: fs quota mount 
type = ext3
Mar  9 13:58:29 dervish dovecot: imap(solarz): Debug: trash: No trash 
setting - plugin disabled
Mar  9 13:58:29 dervish dovecot: imap(solarz): Debug: 
box=/home/staff/solarz/Maildir/.mail.Dovecot mount=/var/spool/mail match=no
Mar  9 13:58:29 dervish dovecot: imap(solarz): Debug: 
box=/home/staff/solarz/Maildir/.mail.wsisiz-net mount=/var/spool/mail 
match=no
Mar  9 13:58:29 dervish dovecot: imap(solarz): Error: 
quotactl(Q_GETQUOTA, oceanic:/home7) failed: No such file or directory

[root at dervish quota]# dovecot --version
2.0.11



-- 
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/dc8f0819/attachment-0001.bin 


More information about the dovecot mailing list