[Dovecot] second fs quota root crashes
Juergen Obermann
Juergen.Obermann at hrz.uni-giessen.de
Thu Oct 29 15:21:48 EET 2009
On Tue, Oct 27, 2009 at 07:19:26PM -0400, Timo Sirainen wrote:
> On Tue, 2009-10-20 at 14:52 +0200, Juergen Obermann wrote:
> > Hallo.
> >
> > In our dovecot 1.2.6 server running under Solaris 9 I would like to set up a
> > second quota root because the mail folders are in the users home directories and
> > the inboxes of all users are in /var/mail. As soon as I add
> >
> > quota2 = fs:INBOX:noenforcing:mount=/var/mail
> >
> > the imap client crashes repeatedly as soon as the user tries to open a mail
> > folder.
>
> I guess this helps? http://hg.dovecot.org/dovecot-1.2/rev/439e14ff1467
>
> Or just adding the mount= path to the first quota setting.
>
Hello,
The patch in http://hg.dovecot.org/dovecot-1.2/rev/439e14ff1467 helps with the
crash of the imap client, but the second quota still does not work. The below
log shows, that only the first fs quota is used for the inbox and the mail
folders. Even adding 'mount=/home/hrz' to the first quota setting does not help.
Btw what would be the right mount path setting for an automounter mountpoint
/home for home filesystems?
Thank you,
Jürgen
Oct 28 15:20:49 horus dovecot: [ID 583609 local0.info] Dovecot v1.2.6 starting up
....
Oct 28 15:21:19 horus dovecot: [ID 583609 local0.info] IMAP(g033): Loading modules from directory: /opt/local/lib/dovecot/imap
Oct 28 15:21:19 horus dovecot: [ID 583609 local0.info] IMAP(g033): Module loaded: /opt/local/lib/dovecot/imap/lib10_quota_plugin.so
Oct 28 15:21:19 horus dovecot: [ID 583609 local0.info] IMAP(g033): Module loaded: /opt/local/lib/dovecot/imap/lib11_imap_quota_plugin.so
Oct 28 15:21:19 horus dovecot: [ID 583609 local0.info] IMAP(g033): Effective uid=10033, gid=10010, home=/home/hrz/g033
Oct 28 15:21:19 horus dovecot: [ID 583609 local0.info] IMAP(g033): Quota root: name=Home-Verzeichnis backend=fs args=noenforcing
Oct 28 15:21:19 horus dovecot: [ID 583609 local0.info] IMAP(g033): Quota root: name=INBOX backend=fs args=noenforcing:mount=/var/mail
Oct 28 15:21:19 horus dovecot: [ID 583609 local0.info] IMAP(g033): Namespace: type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes
Oct 28 15:21:19 horus dovecot: [ID 583609 local0.info] IMAP(g033): mbox: data=~/Mail:INBOX=/var/mail/g033
Oct 28 15:21:19 horus dovecot: [ID 583609 local0.info] IMAP(g033): fs: root=/home/hrz/g033/Mail, index=, control=, inbox=/var/mail/g033
Oct 28 15:21:19 horus dovecot: [ID 583609 local0.info] IMAP(g033): fs quota add storage dir = /home/hrz/g033/Mail
Oct 28 15:21:19 horus dovecot: [ID 583609 local0.info] IMAP(g033): fs quota block device = fileserv:/export/home1/hrz
Oct 28 15:21:19 horus dovecot: [ID 583609 local0.info] IMAP(g033): fs quota mount point = /home/hrz
Oct 28 15:21:19 horus dovecot: [ID 583609 local0.info] IMAP(g033): Namespace: type=private, prefix=Mail/, sep=/, inbox=no, hidden=yes, list=no, subscriptions=yes
Oct 28 15:21:19 horus dovecot: [ID 583609 local0.info] IMAP(g033): mbox: data=~/Mail:INBOX=/var/mail/g033
Oct 28 15:21:19 horus dovecot: [ID 583609 local0.info] IMAP(g033): fs: root=/home/hrz/g033/Mail, index=, control=, inbox=/var/mail/g033
Oct 28 15:21:20 horus dovecot: [ID 583609 local0.info] IMAP(g033): quota-fs: host=fileserv, path=/export/home1/hrz, uid=10033, bytes
Oct 28 15:21:20 horus dovecot: [ID 583609 local0.info] IMAP(g033): quota-fs: uid=10033, value=1550740480, limit=2048000000, active=1
Oct 28 15:21:20 horus dovecot: [ID 583609 local0.info] IMAP(g033): box=/var/mail/g033 mount=/var/mail match=yes
Oct 28 15:21:20 horus dovecot: [ID 583609 local0.info] IMAP(g033): quota-fs: host=fileserv, path=/export/home1/hrz, uid=10033, bytes
Oct 28 15:21:20 horus dovecot: [ID 583609 local0.info] IMAP(g033): quota-fs: uid=10033, value=1550740480, limit=2048000000, active=1
Oct 28 15:21:20 horus dovecot: [ID 583609 local0.info] IMAP(g033): box=/var/mail/g033 mount=/var/mail match=yes
....
Oct 28 15:21:29 horus dovecot: [ID 583609 local0.info] IMAP(g033): Loading modules from directory: /opt/local/lib/dovecot/imap
Oct 28 15:21:29 horus dovecot: [ID 583609 local0.info] IMAP(g033): Module loaded: /opt/local/lib/dovecot/imap/lib10_quota_plugin.so
Oct 28 15:21:29 horus dovecot: [ID 583609 local0.info] IMAP(g033): Module loaded: /opt/local/lib/dovecot/imap/lib11_imap_quota_plugin.so
Oct 28 15:21:29 horus dovecot: [ID 583609 local0.info] IMAP(g033): Effective uid=10033, gid=10010, home=/home/hrz/g033
Oct 28 15:21:29 horus dovecot: [ID 583609 local0.info] IMAP(g033): Quota root: name=Home-Verzeichnis backend=fs args=noenforcing
Oct 28 15:21:29 horus dovecot: [ID 583609 local0.info] IMAP(g033): Quota root: name=INBOX backend=fs args=noenforcing:mount=/var/mail
Oct 28 15:21:29 horus dovecot: [ID 583609 local0.info] IMAP(g033): Namespace: type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes
Oct 28 15:21:29 horus dovecot: [ID 583609 local0.info] IMAP(g033): mbox: data=~/Mail:INBOX=/var/mail/g033
Oct 28 15:21:29 horus dovecot: [ID 583609 local0.info] IMAP(g033): fs: root=/home/hrz/g033/Mail, index=, control=, inbox=/var/mail/g033
Oct 28 15:21:29 horus dovecot: [ID 583609 local0.info] IMAP(g033): fs quota add storage dir = /home/hrz/g033/Mail
Oct 28 15:21:29 horus dovecot: [ID 583609 local0.info] IMAP(g033): fs quota block device = fileserv:/export/home1/hrz
Oct 28 15:21:29 horus dovecot: [ID 583609 local0.info] IMAP(g033): fs quota mount point = /home/hrz
Oct 28 15:21:29 horus dovecot: [ID 583609 local0.info] IMAP(g033): Namespace: type=private, prefix=Mail/, sep=/, inbox=no, hidden=yes, list=no, subscriptions=yes
Oct 28 15:21:29 horus dovecot: [ID 583609 local0.info] IMAP(g033): mbox: data=~/Mail:INBOX=/var/mail/g033
Oct 28 15:21:29 horus dovecot: [ID 583609 local0.info] IMAP(g033): fs: root=/home/hrz/g033/Mail, index=, control=, inbox=/var/mail/g033
Oct 28 15:21:29 horus dovecot: [ID 583609 local0.info] IMAP(g033): quota-fs: host=fileserv, path=/export/home1/hrz, uid=10033, bytes
Oct 28 15:21:29 horus dovecot: [ID 583609 local0.info] IMAP(g033): quota-fs: uid=10033, value=1550740480, limit=2048000000, active=1
Oct 28 15:21:29 horus dovecot: [ID 583609 local0.info] IMAP(g033): box=/home/hrz/g033/Mail/dfncert mount=/var/mail match=no
Oct 28 15:21:29 horus dovecot: [ID 583609 local0.info] IMAP(g033): quota-fs: host=fileserv, path=/export/home1/hrz, uid=10033, bytes
Oct 28 15:21:29 horus dovecot: [ID 583609 local0.info] IMAP(g033): quota-fs: uid=10033, value=1550740480, limit=2048000000, active=1
Oct 28 15:21:29 horus dovecot: [ID 583609 local0.info] IMAP(g033): box=/home/hrz/g033/Mail/dfncert mount=/var/mail match=no
--
Hochschulrechenzentrum der | Mail: Juergen.Obermann at hrz.uni-giessen.de
Justus-Liebig-Universitaet | WWW: http://www.uni-giessen.de/~g033
Heinrich-Buff-Ring 44 | Tel: 0641-99-13054 (0641-99-13001)
D-35392 Giessen, Germany | Fax: 0641-99-13009
More information about the dovecot
mailing list