Jeremy Martin wrote:

Hi everyone,

Apologies if this is a FAQ, I've searched all over Google but can't seem to
find a solution to this.

Running vpopmail 5.4.10 (latest stable) we are having a problem with quotas
usage being inaccurate. For example one account was using 100 kilobytes of disk
space, but vuserinfo was showing they were using 50 megabytes instead.

Until we could get to the bottom of this problem I was going to increase
their quota to 60 mb so they would quit getting the 'warning, almost over
quota' emails... As soon as I adjusted their quota with vsetuserquota,
vuserinfo realized they were not using much space at all, now it's showing
0% quota usage.

I thought I had found something saying this was fixed in the devel version
5.4.12 but after installing that I just get errors about "can't find
table vpopmail.vpopmail" despite using the same ./configure options (and
despite vpopmail.mysql still being in /home/vpopmail/etc)

./configure --enable-roaming-users --enable-clear-passwd \
--enable-logging=p --disable-ip-alias-domains --disable-passwd \
--enable-domain-quotas --enable-auth-module=mysql --disable-many-domains \
--enable-auth-logging --enable-sql-logging --disable-mysql-limits \
--enable-relay-clear-minutes=60 --enable-tcpserver-file=/etc/tcp.smtp

This is running on a CentOS 4 server with SELinux disabled completely.

Any help would be much appreciated.

Hi,

There are at least 2 problems with quota in Vpopmail/Qmail that I'm trying to track down.

One is with qmail-pop3d, it doesn't seem to be updating the maildirsize file even with Bill's maildir++ patch applied and the other one(s) apply to the vdelivermail program.

The problems with the vdelivermail program seem to have been fixed by Tom in the 5.4.12 release, and I am running it here in production with almost the exact same configure setup as you.

One thing you should note though, --enable-domain-quotas is horribly broken and may cause errors, slow deliveries and other unpredictable problems. I'd disable that right away.

I'll keep working on the qmail-pop3d problem, but 5.4.12 should fix most of your problems. I'm not sure why you are getting vpopmail.vpopmail table error but if you could strace the calling program that gives the error, we can probably track it down easily enough.

Regards,

Rick

Reply via email to