[Dovecot] AIX mail quota plugin problems + dotlock problem resolved

Timo Sirainen tss at iki.fi
Tue Jun 5 21:06:32 EEST 2007


On Tue, 2007-06-05 at 12:30 -0400, Stewart Dean wrote:
> quotactl(Q_GETQUOTA, /) failed: Invalid argument

So apparently this quotactl() call is wrong with AIX:

	if (quotactl(root->mount->mount_path, QCMD(Q_GETQUOTA, USRQUOTA),
		     root->uid, (void *)&dqblk) < 0) {

I don't know why though. You could try changing root->mount->mount_path
to some actual mbox file path to see if it returns errors then.

Except weren't your mailboxes NFS mounted? quotactl() doesn't work for
NFS mounts at all. For NFS you could try this instead
http://dovecot.org/patches/quota-rquotad.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070605/58364f91/attachment.bin 


More information about the dovecot mailing list