Hey,

I've been strugling to get quota working on my enviroment.

I have one storage server that exports the 'home' dir.
My mail server mounts the exported 'home' server at '/home'

# dovecot --version
> 1.1.14


I'm also running Postfix and using Dovecot/LDA as MDA so that we can use the
Dovecot's Quota plugin.

The thing is that if the user has exceeded it's quota the LDA detects it and
I get a response from postmaster warning me that the INBOX is full.
But through IMAP, if I issue :

> C: 1 GETQUOTAROOT INBOX
> S: * QUOTAROOT INBOX ""
> S: 1 OK Getquota complete
>
> There's no:

> * QUOTA "" (STORAGE 10 512)
>
> I've tried using this plugin for Thunderbird:
https://addons.mozilla.org/pt-BR/thunderbird/addon/881
And also tested issuing commands by hand.

Running 'quota' on the console works just fine, that means that rpc.rquotad
is running smoothly.

# quota USER
> Disk quotas for user coutinho (uid 1191):
>      Filesystem  blocks   quota   limit   grace   files   quota   limit
> grace
> home.mail:/home
>                  166264* 102400  153600            3013       0
> 0
>

Thanks in advance for you help.

-- 
Flávio Coutinho da Costa
May  6 13:06:45 SERVER_NAME dovecot: auth(default): client in: AUTH	1	PLAIN	service=imap	secured	lip=X.X.X.X	rip=X.X.X.X	lport=993	rport=36863	resp=AGNvdXRpbmhvAGtleHZ2c3Fy
May  6 13:06:45 SERVER_NAME dovecot: auth-worker(default): pam(USER_LOGGED,X.X.X.X): lookup service=dovecot
May  6 13:06:45 SERVER_NAME dovecot: auth-worker(default): pam(USER_LOGGED,X.X.X.X): #1/1 style=1 msg=Password: 
May  6 13:06:45 SERVER_NAME dovecot: auth(default): client out: OK	1	user=USER_LOGGED
May  6 13:06:45 SERVER_NAME dovecot: auth(default): master in: REQUEST	592	10233	1
May  6 13:06:45 SERVER_NAME dovecot: auth(default): master out: USER	592	USER_LOGGED	system_user=USER_LOGGED	uid=1191	gid=100	home=/home/USER_LOGGED
May  6 13:06:45 SERVER_NAME dovecot: IMAP(USER_LOGGED): Loading modules from directory: /usr/lib/dovecot/imap
May  6 13:06:45 SERVER_NAME dovecot: IMAP(USER_LOGGED): Module loaded: /usr/lib/dovecot/imap/lib10_quota_plugin.so
May  6 13:06:45 SERVER_NAME dovecot: IMAP(USER_LOGGED): Module loaded: /usr/lib/dovecot/imap/lib11_imap_quota_plugin.so
May  6 13:06:45 SERVER_NAME dovecot: imap-login: Login: user=<USER_LOGGED>, method=PLAIN, rip=X.X.X.X, lip=X.X.X.X, TLS
May  6 13:06:45 SERVER_NAME dovecot: IMAP(USER_LOGGED): Effective uid=1191, gid=100, home=/home/USER_LOGGED
May  6 13:06:45 SERVER_NAME dovecot: IMAP(USER_LOGGED): Quota root: name=user backend=fs args=
May  6 13:06:45 SERVER_NAME dovecot: IMAP(USER_LOGGED): Quota rule: root=user mailbox=* bytes=1073741824 messages=0
May  6 13:06:45 SERVER_NAME dovecot: IMAP(USER_LOGGED): maildir: data=~/Maildir:INDEX=/var/dovecot/index/USER_LOGGED:CONTROL=/var/dovecot/control/USER_LOGGED
May  6 13:06:45 SERVER_NAME dovecot: IMAP(USER_LOGGED): maildir++: root=/home/USER_LOGGED/Maildir, index=/var/dovecot/index/USER_LOGGED, control=/var/dovecot/control/USER_LOGGED, inbox=/home/USER_LOGGED/Maildir
May  6 13:06:45 SERVER_NAME dovecot: IMAP(USER_LOGGED): fs quota add storage dir = /home/USER_LOGGED/Maildir
May  6 13:06:45 SERVER_NAME dovecot: IMAP(USER_LOGGED): fs quota block device = home.domain:/home
May  6 13:06:45 SERVER_NAME dovecot: IMAP(USER_LOGGED): fs quota mount point = /home
May  6 13:06:46 SERVER_NAME dovecot: IMAP(USER_LOGGED): quota-fs: host=home.domain, path=/home, uid=1191
May  6 13:06:46 SERVER_NAME dovecot: IMAP(USER_LOGGED): quota-fs: uid=1191, value=0, limit=0, active=0
May  6 13:06:46 SERVER_NAME dovecot: IMAP(USER_LOGGED): quota-fs: host=home.domain, path=/home, uid=1191
May  6 13:06:46 SERVER_NAME dovecot: IMAP(USER_LOGGED): quota-fs: uid=1191, value=0, limit=0, active=0
May  6 13:06:46 SERVER_NAME dovecot: IMAP(USER_LOGGED): quota-fs: host=home.domain, path=/home, uid=1191
May  6 13:06:46 SERVER_NAME dovecot: IMAP(USER_LOGGED): quota-fs: uid=1191, value=0, limit=0, active=0
May  6 13:06:46 SERVER_NAME dovecot: IMAP(USER_LOGGED): quota-fs: host=home.domain, path=/home, uid=1191
May  6 13:06:46 SERVER_NAME dovecot: IMAP(USER_LOGGED): quota-fs: uid=1191, value=0, limit=0, active=0

Attachment: dovecot-n.output
Description: Binary data

May  6 13:15:35 SERVER_NAME postfix/qmgr[2697]: 999BD2548F2: from=<f...@server.com>, size=2086, nrcpt=1 (queue active)
May  6 13:15:35 SERVER_NAME deliver(USER_TO): Loading modules from directory: /usr/lib/dovecot/lda
May  6 13:15:35 SERVER_NAME deliver(USER_TO): Module loaded: /usr/lib/dovecot/lda/lib10_quota_plugin.so
May  6 13:15:35 SERVER_NAME deliver(USER_TO): Quota root: name=user backend=fs args=
May  6 13:15:35 SERVER_NAME deliver(USER_TO): Quota rule: root=user mailbox=* bytes=1073741824 messages=0
May  6 13:15:35 SERVER_NAME deliver(USER_TO): maildir: data=/home/USER_TO/Maildir:INDEX=/var/dovecot/index/USER_TO:CONTROL=/var/dovecot/control/USER_TO
May  6 13:15:35 SERVER_NAME deliver(USER_TO): maildir++: root=/home/USER_TO/Maildir, index=/var/dovecot/index/USER_TO, control=/var/dovecot/control/USER_TO, inbox=/home/USER_TO/Maildir
May  6 13:15:35 SERVER_NAME deliver(USER_TO): fs quota add storage dir = /home/USER_TO/Maildir
May  6 13:15:35 SERVER_NAME deliver(USER_TO): fs quota block device = home.domain:/home
May  6 13:15:35 SERVER_NAME deliver(USER_TO): fs quota mount point = /home
May  6 13:15:35 SERVER_NAME deliver(USER_TO): quota-fs: host=home.c, path=/home, uid=1191
May  6 13:15:35 SERVER_NAME deliver(USER_TO): quota-fs: uid=1191, value=0, limit=0, active=0
May  6 13:15:35 SERVER_NAME deliver(USER_TO): quota-fs: host=home.domain, path=/home, uid=1191
May  6 13:15:35 SERVER_NAME deliver(USER_TO): quota-fs: uid=1191, value=0, limit=0, active=0
May  6 13:15:35 SERVER_NAME deliver(USER_TO): msgid=<eb4d7eac0905060915y130b9af6i93567e198659d...@mail.gmail.com>: save failed to INBOX: Not enough disk space
May  6 13:15:35 SERVER_NAME deliver(USER_TO): msgid=<eb4d7eac0905060915y130b9af6i93567e198659d...@mail.gmail.com>: rejected: Not enough disk space
May  6 13:15:35 SERVER_NAME deliver(USER_TO): Sending a rejection to USER_TO: Not enough disk space

Reply via email to