qmail-iquota: a patch for qmail-ldap

Paul Dwerryhouse, paul@dwerryhouse.com.au, March 10th, 2003

This patch changes the operation of the quota code, so that it interprets the mailquota LDAP field in the same way that Iplanet Messaging Server does. That is, a single number given by itself (without an 'S' or a 'C') is the mailquota in bytes, not kilobytes.

The patch: is here Current version is qmail-iquota-1.03-20030301-20030310. It is to be patched against qmail 1.03 and qmail-ldap 20030301

Previous versions:

1.0320030301 20030310
1.0320020901 20020909
1.0320020701 20020724

Brief instructions:

  • Unpack qmail
  • Patch qmail with qmail-ldap using: patch -p0 < qmail-ldap-1.03-20030301.patch.
  • Patch qmail with qmail-iquota using: patch -p0 < qmail-iquota-1.03-20030301-20030310.patch
  • In maildir++.h, adjust the DEFAULT_COUNT value to set the default quota for the number of messages a user may have in their mailbox.
  • Follow the instructions of qmail & qmail-ldap to install.