I just got this working yesterday with courier-mta. Is your MTA using filesystem quota or maildir quotas? I read that the filesystem quotas are a bit more complicated (I'm using maildirquota). You may want to try setting the quota in the userdb with quota="xS" where x is the max number of bytes and see if that doesn't help.
Also, on the PHP side, you may want to peak at SquirrelMail mail quota plugin as that has all the code you'll need... --Tony On Thu, 2002-01-24 at 06:49, Dziugas Baltrunas wrote: > hallo, > > i'm still having problems with quota. i'm using courier-imap 1.3.12 as pop3/imap and >maildrop as MDA. > maildrop is compiled with quota support, and it works. i'm using userdb >authentification mechanism. > i need to get user's quota from imap. IMP 3.0 states, that: > -- > This works > * with the Cyrus imap server and the Courier imap server > 1.3.12. > -- > where "this" is php function $quota = @imap_get_quota($stream, 'ROOT'); > > does this means, that i should install courier 1.4.1 or 1.4.2 to make this work? >courier is compiled > with --enable-workarounds-for-imap-client-bugs, and as i understood, it's because, >that php > made imap_get_quota function to work mainly with cyrus-imapd. i tried to add QUOTA >string > in my imapd configuration file, CAPABILITY line. but when i log in, nor getquota >neither getquotaroot > works. > > comments and suggestions are welcome. > > regards, > Dziugas -- Tony Bibbs | Life is a moderately good play [EMAIL PROTECTED] | with a bad 3rd act. 515.554.8046 | _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
