It looks like you included the output of df but could you try running the quota command when signed in as a user who has a quota on the NFS server, or running "quota thatuser" as root?
If you don't get anything, then fetching of a user's quota isn't working over NFS and you probably need to look at your NFS server. If you do get the user's quota, then it's time to look closer at Dovecot.
Are you using the atrpms RPM? That does not have NFS quota (rquota) support compiled in. If you rebuild the SRPM with quota-devel installed you will have rquota support in the resulting RPM. I've emailed the package maintainer and asked him to include quota-devel as an optional (but default enabled) build-requires.
Once you've got the quota command working, could you try telnetting to port 143 or openssl s_client -connect yourserver:sslport, logging in and doing getquotaroot inbox? If you haven't done this before, the following page may help you:
http://bobpeers.com/technical/telnet_imap.php
Hope this helps, David Warden
On Feb 27, 2011, at 5:36 AM, Il Neofita wrote:
You are right, here a merge everything
Hi I am not able to get the quota out from dovecot I have tried with thunderbird and roundcube without luck this is my conf
# 2.0.9: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-71.14.1.el6.x86_64 x86_64 Red Hat Enterprise Linux Server release 6.0 (Santiago) mail_debug = yes mail_location = mbox:~/mail:INBOX=/mail/spool/%u:INDEX=/mail/indexes/%u mail_nfs_storage = yes mbox_write_locks = fcntl passdb { driver = pam } plugin { mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename imap_quota quota mail_log_fields = uid box msgid size quota = fs:bigfat:mount=/home quota2 = fs:INBOX:mount=/mail } ssl_cert = </etc/pki/dovecot/certs/dovecot.pem ssl_key = </etc/pki/dovecot/private/dovecot.pem userdb { driver = passwd } protocol imap { mail_plugins = quota imap_quota }
DF /dev/mapper/mail_group-mail 780152128 202024 740320692 1% /mail bigfat.localserver:/export/home0/centos 198381216 64283072 123858336 35% /home/centos
and this is the log
Feb 27 05:30:35 mailerweb dovecot: auth: Debug: Loading modules from directory: /usr/lib64/dovecot/auth Feb 27 05:30:35 mailerweb dovecot: auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libauthdb_ldap.so Feb 27 05:30:35 mailerweb dovecot: auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_sqlite.so Feb 27 05:30:35 mailerweb dovecot: auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libmech_gssapi.so Feb 27 05:30:35 mailerweb dovecot: auth: Debug: new auth connection: pid=10514 Feb 27 05:30:36 mailerweb dovecot: auth: Debug: client in: AUTH#0111#011PLAIN#011service=imap#011secured#011lip=SERVERIP#011rip=CLIENTIP#011lport=993#011rport=49186 Feb 27 05:30:36 mailerweb dovecot: auth: Debug: client out: CONT#0111#011 Feb 27 05:30:36 mailerweb dovecot: auth: Debug: client in: CONT<hidden> Feb 27 05:30:36 mailerweb dovecot: auth: Debug: Loading modules from directory: /usr/lib64/dovecot/auth Feb 27 05:30:36 mailerweb dovecot: auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libauthdb_ldap.so Feb 27 05:30:36 mailerweb dovecot: auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_sqlite.so Feb 27 05:30:36 mailerweb dovecot: auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libmech_gssapi.so Feb 27 05:30:36 mailerweb dovecot: auth: Debug: pam(centos,CLIENTIP): lookup service=dovecot Feb 27 05:30:36 mailerweb dovecot: auth: Debug: pam(centos,CLIENTIP): #1/1 style=1 msg=Password: Feb 27 05:30:36 mailerweb dovecot: auth: Debug: client out: OK#0111#011user=centos Feb 27 05:30:36 mailerweb dovecot: auth: Debug: master in: REQUEST#0111#01110514#0111#0113e6c35de88f54672e76f353542acc8a4 Feb 27 05:30:36 mailerweb dovecot: auth: Debug: passwd(centos,CLIENTIP): lookup Feb 27 05:30:36 mailerweb dovecot: auth: Debug: master out: USER#0111#011centos#011system_groups_user=centos#011uid=6277#011gid=600#011home=/home/centos Feb 27 05:30:36 mailerweb dovecot: imap-login: Login: user=<centos>, method=PLAIN, rip=CLIENTIP, lip=SERVERIP, mpid=10519, TLS Feb 27 05:30:36 mailerweb dovecot: imap: Debug: Loading modules from directory: /usr/lib64/dovecot Feb 27 05:30:36 mailerweb dovecot: imap: Debug: Module loaded: /usr/lib64/dovecot/lib10_quota_plugin.so Feb 27 05:30:36 mailerweb dovecot: imap: Debug: Module loaded: /usr/lib64/dovecot/lib11_imap_quota_plugin.so Feb 27 05:30:36 mailerweb dovecot: imap(centos): Debug: Effective uid=6277, gid=600, home=/home/centos Feb 27 05:30:36 mailerweb dovecot: imap(centos): Debug: Quota root: name=INBOX backend=fs args=mount=/mail Feb 27 05:30:36 mailerweb dovecot: imap(centos): Debug: Quota root: name=Others backend=fs args=mount=/home Feb 27 05:30:36 mailerweb dovecot: imap(centos): Debug: fs: root=/home/centos/mail, index=/mail/indexes/centos, control=, inbox=/mail/spool/centos Feb 27 05:30:36 mailerweb dovecot: imap(centos): Debug: fs quota add mailbox dir = /home/centos/mail Feb 27 05:30:36 mailerweb dovecot: imap(centos): Debug: fs quota block device = bigfat.localserver:/export/home0/centos Feb 27 05:30:36 mailerweb dovecot: imap(centos): Debug: fs quota mount point = /home/centos Feb 27 05:30:36 mailerweb dovecot: imap(centos): Debug: fs quota mount type = nfs Feb 27 05:30:37 mailerweb dovecot: imap(centos): Debug: box=/mail/spool/centos mount=/mail match=yes Feb 27 05:30:37 mailerweb dovecot: imap(centos): Debug: box=/mail/spool/centos mount=/home match=no Feb 27 05:30:52 mailerweb dovecot: imap(centos): Debug: box=/mail/spool/centos mount=/mail match=yes Feb 27 05:30:52 mailerweb dovecot: imap(centos): Debug: box=/mail/spool/centos mount=/home match=no
On Sat, Feb 26, 2011 at 7:43 PM, Charles Marcus <CMarcus@media-brokers.com> wrote:
Logs?
Basic troubleshooting techniques...
When asking for help with a problem, state the problem succintly, then provide relevant config details, *and* logs exhibiting the problem.
I don't do NFS or Quotas, so may not be able to help once there is enough info to do so, I'm just trying to help you get the info here so someone who can help will be able to.
Also - please provide all of the relevant details in the same message, don't make people go back and read the entire thread (yes, that would mean reposting doveconf -n output)...
On 2/25/2011 3:27 PM, Il Neofita wrote:
Ok same problem # 2.0.9: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-71.14.1.el6.x86_64 x86_64 Red Hat Enterprise Linux Server release 6.0 (Santiago) mail_debug = yes mail_location = mbox:~/mail:INBOX=/mail/spool/%u:INDEX=/mail/indexes/%u mail_nfs_storage = yes mbox_write_locks = fcntl passdb { driver = pam } plugin { mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename imap_quota quota mail_log_fields = uid box msgid size quota = fs:fraser:mount=/home quota2 = fs:INBOX:mount=/mail } ssl_cert = </etc/pki/dovecot/certs/dovecot.pem ssl_key = </etc/pki/dovecot/private/dovecot.pem userdb { driver = passwd } protocol imap { mail_plugins = quota imap_quota }
DF /dev/mapper/mail_group-mail 780152128 202024 740320692 1% /mail bigfat.localserver:/export/home0/centos 198381216 64283072 123858336 35% /home/centos
On Fri, Feb 25, 2011 at 2:50 PM, Charles Marcus <CMarcus@media-brokers.com> wrote:
On 2011-02-25 1:58 PM, Il Neofita wrote:
I am not able to get the quota out from dovecot I have tried with thunderbird and roundcube without luck this is my conf
# 2.0.beta6
Upgrade first, them come back with question.
Too many fixes since beta6...