[Dovecot] fs quota check with server does not support rquotad
Hi,
Last time, I have got no reply, hope this time is better.
OS: Solaris 10 Dovecot version : 1.1.1 file system of /var/mail : NFS from Solaris file system of /home : other NFS server that not support rquotad.
Here is my setting that works:
plugin { quota = fs:INBOX:mount=/var/mail quota2 = fs:home:noenforcing:mount=/home/h1 }
The above settings works. Dovecot able to report the quota information on /var/mail. However, when I try to append some mail to mail folders on my home drive, dovecot will produce following errors. The mail will be appended multiple times until I kill my mail client.
-----------------dovecot log--------------
dovecot: Jul 02 09:44:23 Info: IMAP(01234567g): quota-fs: host=mailsvr, path=/var/mail, uid=3475 dovecot: Jul 02 09:44:23 Info: IMAP(01234567g): quota-fs: uid=3475, value=10240, limit=1024000, active=1 dovecot: Jul 02 09:44:23 Info: IMAP(01234567g): quota-fs: host=homesvr, path=/home, uid=3475 dovecot: Jul 02 09:44:23 Error: IMAP(01234567g): quota-fs: could not contact RPC service on homesvr dovecot: Jul 02 09:44:30 Warning: Killed with signal 15
-- Regards, Grandy (CNE, MCSE, CCNA, SCSA,SCNA, CISSP)
Technical Support Team
Dept. of Computing, HKPU
- e-mail: cswfu@comp.polyu.edu.hk
- ROOM: QT403, HKPU
- TEL: (852)2766-7306
- FAX: (852)2170-0145
It seems that a RPC call fails because rquotas are not supported on 'homesvr'. But dovecots quota-fs requires them for remote storage.
You may verify this also using perl:
perl -e 'use Quota; print Quota::rpcquery("homesvr", "/home"),"\n";'
To test if perl-Qouta will report any quotas for '/home/h1' at all you may use:
perl -e 'use Quota; print join(",",Quota::query(Quota::getqcarg("/home/h1"))),"\n";'
Regards, Ralf
Grandy Fu schrieb am 10.07.2008 09:28:
Hi,
Last time, I have got no reply, hope this time is better.
OS: Solaris 10 Dovecot version : 1.1.1 file system of /var/mail : NFS from Solaris file system of /home : other NFS server that not support rquotad.
Here is my setting that works:
plugin { quota = fs:INBOX:mount=/var/mail quota2 = fs:home:noenforcing:mount=/home/h1 }
The above settings works. Dovecot able to report the quota information on /var/mail. However, when I try to append some mail to mail folders on my home drive, dovecot will produce following errors. The mail will be appended multiple times until I kill my mail client.
-----------------dovecot log--------------
dovecot: Jul 02 09:44:23 Info: IMAP(01234567g): quota-fs: host=mailsvr, path=/var/mail, uid=3475 dovecot: Jul 02 09:44:23 Info: IMAP(01234567g): quota-fs: uid=3475, value=10240, limit=1024000, active=1 dovecot: Jul 02 09:44:23 Info: IMAP(01234567g): quota-fs: host=homesvr, path=/home, uid=3475 dovecot: Jul 02 09:44:23 Error: IMAP(01234567g): quota-fs: could not contact RPC service on homesvr dovecot: Jul 02 09:44:30 Warning: Killed with signal 15
--
Dipl.-Inform. (FH) Ralf Becker Rechenzentrum (r/ft) der FH Trier (Network|Mail|Web|Firewall) University of applied sciences Administrator Schneidershof, D-54293 Trier
Mail: beckerr@fh-trier.de Fon: +49 651 8103 499
Web: http://www.fh-trier.de/~beckerr Fax: +49 651 8103 214
PubKey: http://www.fh-trier.de/~beckerr Crypto: GnuPG, S/MIME
Wenn Gott gewollt haette, dass E-Mail in HTML geschrieben wuerden, endeten Gebete traditionell mit </amen>. (Tom Listen)
participants (2)
-
Grandy Fu
-
Ralf Becker