Great, that did it. I could not find any relevant documentation for the maildirsize file in the man pages, but it was clear in "README.maildirquota.html", which was with the courier-imap distribution. First line of the marildirsize file should be, e.g.
1000000S,1000C
for 1Megabye size quota and a 1000 count number-of-messages quota.


The freeBSD qmail-toaster package sets up quotas thru Qmailadmin using the vpopmail "vlimits.default" file to provide "default_quota" and "default_maxmsgount" to vadduser (I think). The default vlimits file provided in vpopmail used the old-style quota syntax (integer number of bytes or messages). Adding "S" and "C" to the appropriate integer values for those values in the vlimits.default file made the default values work for account setup in Qmailadmin (and vadduser). Your pointer got me reoriented in the multi-package documentation maze. Thanks.

--Grant

Sam Varshavchik wrote:
Grant Basham writes:

The "maildirsize" is updated on delivery, and Qmailadmin shows an accurate and updated space-used value. It's just that the value in my test account is well over quota and I keep being able to deliver mail. If I test delivering mail by hand (above command), it delivers mail, returns code "0" (and updates "maildirsize").

   > cat $VDHOME/Maildir/maildirsize
   10485760


This is not a valid quota setting for the maildirsize file.

See the maildirquota man page for more information.



--

  Grant Basham       (305)361-4026       University of Miami
  [EMAIL PROTECTED]      RSMAS Computer Facility/Systems


------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to