Funny,

    I just helped a guy with similar problems on the Courier-Imap list
this morning, only difference was he was using IMP.  But here's what I
wrote:

--- 1st Email

First we need to determine whether Courier or IMP's config is the problem:

telnet imap.server.com 143

Server should say something similar to:

* OK [CAPABILITY IMAP4rev1 NAMESPACE CHILDREN IDLE QUOTA SORT
THREAD=ORDEREDSUBJECT THREAD=REFERENCES UIDPLUS STARTTLS] Courier-IMAP
ready. Copyright 1998-2003 Double Precision, Inc.  See COPYING for
distribution information.

The QUOTA capability is important as it's telling the client that the
server supports quotas, if it's not there then you need to tweak your
Courier config.

Now type:

a01 login quotauser userpassword

where quotauser and userpassword are the username/pass of a user with a
set quota.

select INBOX
getquota ROOT

if this doesn't work (i.e. print some quota information, more than just
OK) the problem is with your IMAP config.  You didn't include any details
on how your doing quota's though, are you using Filesystem quota's or
maildir style quota's?  If the telnet session works then the problem is
with IMP.

--- 2nd Email

It sounds like Courier IMAP is working just fine but as far as it can tell
there is no quota set on the mailbox.  This may be because the quota was
not set properly or the IMAP process may not have read-write access rights
to the maildirsize file to determine quota settings.  In the latter case,
Courier will simply assume there is no quota.  Go into a user's
$HOME/Maildir directory and do a "ls -l".  Mine looks like this:

total 27
drwx------    2 vmail    vmail          72 Mar 10 08:57 courierimapkeywords
-rw-r--r--    1 vmail    vmail         926 Mar  3 21:30 courierimapsubscribed
-rw-r--r--    1 vmail    vmail        1064 Mar 10 08:57 courierimapuiddb
drwx------    2 vmail    vmail        1304 Mar 10 08:57 cur
-rw-r-----    1 vmail    vmail        5012 Mar 10 08:57 maildirsize
drwx------    2 vmail    vmail          48 Mar 10 04:14 new
-rw-------    1 vmail    vmail           4 Jan 11 19:51 sqwebmail-curcnt
-rw-------    1 vmail    vmail           1 Jan 11 20:06 sqwebmail-timestamp
drwx------    2 vmail    vmail          48 Mar 10 09:04 tmp

Notice the maildirsize file is owned by vmail as are other files.  If your
file exists but is owned by root or some other user, there's your problem.
 All of my Maildirs are owned by vmail because we use LDAP for virtual
user's rather than creating real system accounts for each user.  In your
case though, you should determine who should own the files then do a:

chown -R vmail.vmail $HOME/Maildir/maildirsize
chmod 0640 $HOME/Maildir/maildirsize

Somebody correct me if those permissions aren't secure but that should work.

~~~~~~~~~~~~~~~~~~~~~~~~~
Jay Lee
Network / Systems Administrator
Information Technology Dept.
Philadelphia Biblical University
Langhorne, PA
~~~~~~~~~~~~~~~~~~~~~~~~~~

[EMAIL PROTECTED] said:
> Here are my system specs:  SquirrelMail 1.4.2 on Solaris Intel, Apache2,
> PHP
> 4.3.4, vpopmail 5.4.0, courier imap 2.2.1, Qmail 1.03.  I have the Quota
> Usage plugin installed, but it is not reporting any quota usage in the
> left
> pane at the top.  I searched the archives and didn't find anything that
> helped.  People had problems, but it didn't mention my situation.
>
> There are plenty of email in this email account.  I am not using MySQL,
> just
> Maildir.  Any ideas?



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to