5 Jun
2007
5 Jun
'07
9:06 p.m.
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