Bug 756739

Summary: Still "OK No quota." reported, even if there are quotas for user.
Product: [Fedora] Fedora Reporter: Jan ONDREJ <ondrejj>
Component: dovecotAssignee: Michal Hlavinka <mhlavink>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: mhlavink
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-24 18:59:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jan ONDREJ 2011-11-24 12:15:28 UTC
Description of problem:
Unable to configure filesystem quotas in dovecot.

Version-Release number of selected component (if applicable):
dovecot-2.0.16-1.fc16.x86_64
dovecot-2.0.15-1.fc16.x86_64

How reproducible:
always

Steps to Reproduce:
1. configure filesystem quotas
2. nc localhost 143 # and type:
   1 login LOGIN PASSWORD
   1 GETQUOTAROOT "INBOX"

Actual results:
2 OK No quota.

Expected results:
* QUOTAROOT "INBOX" "User quota"
* QUOTA "User quota" (STORAGE 216 204800)
0 OK Getquotaroot completed.

Additional info:
Configuration:
plugin {
  quota = fs:User quota
}
protocol imap {
  mail_plugins = quota imap_quota
}

Maillog output:
Nov 24 11:30:07 mail dovecot: imap(test.test): Debug: Effective uid=1190, gid=1002, home=/home/sukromne/test.test
Nov 24 11:30:07 mail dovecot: imap(test.test): Debug: Quota root: name=User quota backend=fs args=
Nov 24 11:30:07 mail dovecot: imap(test.test): Debug: maildir++: root=/home/sukromne/test.test/Maildir, index=/var/spool/dovecot/test.test, control=/var/spool/dovecot/test.test, inbox=/home/sukromne/test.test/Maildir, alt=
Nov 24 11:30:07 mail dovecot: imap(test.test): Debug: fs quota add mailbox dir = /home/sukromne/test.test/Maildir
Nov 24 11:30:07 mail dovecot: imap(test.test): Debug: fs quota block device = /dev/mapper/vg_mail-home
Nov 24 11:30:07 mail dovecot: imap(test.test): Debug: fs quota mount point = /home
Nov 24 11:30:07 mail dovecot: imap(test.test): Debug: fs quota mount type = ext4
Nov 24 11:30:07 mail dovecot: imap(test.test): Disconnected: Logged out bytes=54/702

Comment 1 Jan ONDREJ 2011-11-24 18:59:54 UTC
Problem fixed by running: quotaon -a
Looks like for some reason quotas are not activated.