[Dovecot] fs quota check with server does not support rquotad
Grandy Fu
cswfu at comp.polyu.edu.hk
Mon Jul 14 07:00:45 EEST 2008
Both Test 1 and Test 2 disconnected me immediately after login with error:
---------------------
dovecot: Jul 14 11:39:19 Info: IMAP(01234567g): Quota root: name=INBOX
backend=fs args=noenforcing:mount=/var/mail
dovecot: Jul 14 11:39:19 Info: IMAP(01234567g): mbox:
data=/home/h1/sc/01234567g/mail:INBOX=/var/mail/01234567g:INDEX=/localdisk/dovecot.cache/cache/01234567g
dovecot: Jul 14 11:39:19 Info: IMAP(01234567g): fs:
root=/home/h1/sc/01234567g/mail,
index=/localdisk/dovecot.cache/cache/01234567g, control=,
inbox=/var/mail/01234567g
dovecot: Jul 14 11:39:19 Info: IMAP(01234567g): fs quota add storage dir
= /home/h1/sc/01234567g/mail
dovecot: Jul 14 11:39:19 Info: IMAP(01234567g): fs quota block device =
homesvr:/h1
dovecot: Jul 14 11:39:19 Info: IMAP(01234567g): fs quota mount point =
/home/h1
dovecot: Jul 14 11:39:19 Error: IMAP(01234567g): fcntl(0, F_GETFL)
failed: Bad file number
dovecot: Jul 14 11:39:19 Fatal: IMAP(01234567g): fd_set_nonblock(0)
failed: Bad file number
dovecot: Jul 14 11:43:27 Warning: Killed with signal 15
-------------------------------------------
Test 3:
Command and output
-----------------
getquotaroot "Trash"
* QUOTAROOT "Trash" "INBOX"
* QUOTA "INBOX" (STORAGE 10 1000)
OK Getquotaroot completed.
---------------------
At the same time log shows:
------------------------
dovecot: Jul 14 11:52:51 Info: IMAP(01234567g): quota-fs: host=mailsvr,
path=/var/mail, uid=3475
dovecot: Jul 14 11:52:51 Info: IMAP(01234567g): quota-fs: uid=3475,
value=10240, limit=1024000, active=1
dovecot: Jul 14 11:52:51 Info: IMAP(01234567g): quota-fs: host=homesvr,
path=/h1, uid=3475
dovecot: Jul 14 11:52:51 Error: IMAP(01234567g): quota-fs: could not
contact RPC service on homesvr
dovecot: Jul 14 11:52:51 Info: IMAP(01234567g): quota-fs: host=mailsvr,
path=/var/mail, uid=3475
dovecot: Jul 14 11:52:51 Info: IMAP(01234567g): quota-fs: uid=3475,
value=10240, limit=1024000, active=1
dovecot: Jul 14 11:52:51 Info: IMAP(01234567g): quota-fs: host=mailsvr,
path=/var/mail, uid=3475
dovecot: Jul 14 11:52:51 Info: IMAP(01234567g): quota-fs: uid=3475,
value=10240, limit=1024000, active=1
dovecot: Jul 14 11:52:51 Info: IMAP(01234567g): quota-fs: host=homesvr,
path=/h1, uid=3475
dovecot: Jul 14 11:52:51 Error: IMAP(01234567g): quota-fs: could not
contact RPC service on homesvr
--------------------------------
Grandy
> mmmh...
>
> so you are using:
>
> plugin {
> quota = fs:INBOX:mount=/var/mail
> quota2 = fs:home:noenforcing:mount=/home/h1
> }
>
> but "fs:home:noenforcing:mount=/home/h1" will not work and you just
> added it do make "fs:INBOX:mount=/var/mail" work? Maybe it's worth to
> have a closer look to this first:
>
> Test 1)
>
> Use:
>
> plugin {
> quota = fs:INBOX:mount=/var/mail
> #quota2 = fs:home:noenforcing:mount=/home/h1
> }
>
> What output generates:
>
> telnet <your-imp-server> 143
> - login <your-login-name> <your-password>
> - getguotaroot "INBOX"
> - getquotaroot "Trash"
> . logout
>
> Test 2)
>
> Use:
>
> plugin {
> quota = fs:INBOX:mount=/var/mail
> #quota2 = fs:home:noenforcing:mount=/home/h1
> }
>
> What output generates:
>
> telnet <your-imp-server> 143
> - login <your-login-name> <your-password>
> - getguotaroot "INBOX"
> - getquotaroot "Trash"
> . logout
>
>
> Test 3)
> Use:
>
> plugin {
> quota = fs:INBOX:mount=/var/mail
> quota2 = fs:home:noenforcing:mount=/home/h1
> }
>
> What output generates:
>
> telnet <your-imp-server> 143
> - login <your-login-name> <your-password>
> - getguotaroot "INBOX"
> - getquotaroot "Trash"
> . logout
>
>
> BTW: I've you don't like to send your password unencrypted use this
> instead of 'telnet <your-imp-server> 143':
>
> openssl s_client -connect <your-imp-server>:993
>
>
> Regards, Ralf
>
More information about the dovecot
mailing list