Tomas Kuliavas wrote: >> Paul Lesniewski wrote: >> >>> On 1/16/07, Jay Chandler <chandler@xxxxxxxxxxx> wrote: >>> >>> >>>> One user attempts to log in, and gets the following after 30 seconds or >>>> so: >>>> * >>>> ERROR: Connection dropped by IMAP server. >>>> *Query: STATUS "INBOX" (MESSAGES UNSEEN RECENT) >>>> >>>> This is under UW-IMAP, and the user's inbox in question is 112 >>>> megabytes-- not sure how that stacks up for Squirrelmail. >>>> >>>> Any thoughts or pointers as to what could be causing this? >>>> >>>> >>> Didn't Jon just answer this a couple days ago? >>> >>> >>> >> Nah, different error entirely. >> >>> 1) Don't use UW-IMAP, it's about the worst IMAP solution you could >>> ever choose, especially for a corporate or university environment >>> >>> >> *grumbles* Tell me about it... PHBs at it again... >> >>> 2) >>> http://thread.gmane.org/gmane.mail.squirrelmail.user/30906/focus=30912 >>> >>> >> Our setup features all the mailbox files just dumped in the user's home >> directory (which is NFS mounted, and mbox, just to pour some salt into >> the gaping wound). This... isn't going to be pretty, no matter how I >> slice it. >> >>> 3) Try the SquirrelMail DEVEL branch, which has much faster mailbox >>> parsing, but is not generally suitable for production (although I >>> think some people use 1.5.1 in production) >>> >>> >>> >> Hmm. I'd have interest in trying that, though I'd have to do some magic >> with the aforementioned PHBs... >> > > Upgrade to 1.5.1 won't help. Connection is dropped by PHP because UW does > not respond to SELECT INBOX command fast enough. SquirrelMail haven't > started mailbox parsing. > > mbox format is not suitable for large mailboxes and uw does not support > any indexed mailbox format suitable for NFS. Maybe mix format works with > NFS better, but it is not listed in uw driver comparison. mix is supported > only in uw 2006 and SquirrelMail has some known issues in that uw version. > change your server or use some other imap client to clean that mailbox. > > Yeah, in the process of starting the migration to dovecot. Posted to the list there, but if anyone's done this before, I'd appreciate a bit of guidance. Begin Crosspost: I've got a poorly conceived and implemented system I'm trying to migrate off of. Right now we've got 20K accounts or so, in mbox form, under UW-IMAP. Eventually we're going to move to Maildir format, but the first step is to move to Dovecot on one of our imap servers as a proof of concept. In other words, all config changes have to take place on the dovecot side, until I get PHB approval to proceed further. Right now, the inboxes are the user's username, located in /var/mail (an NFS mounted volume). So my inbox would be at /var/mail/chandler. The sub-mailboxes are in the user home directories, just scattered around-- no /mail subdirectory or anything close. So there's a folder called ~chandler/INBOX.Sent, ~chandler/INBOX.Trash, and a ~chandler/Dovecot (for this list). The list of these files is kept in ~chandler/.mailboxlist. I attempted to follow the instructions at http://wiki.dovecot.org/Migration about: You can either rename your .mailboxlist file to .subscriptions for all your users using uw2dovecot.sh <http://wiki.dovecot.org/uw2dovecot.sh>, or change the definition of SUBSCRIPTION_FILE_NAME in /src/lib-storage/subscription-file/subscription-file.c/. In 1.0-test, this value is defined in /src/lib-storage/subscription-fileindex/maildir/maildir-storage.h/ and /src/lib-storage/subscription-fileindex/mbox/maildir-storage.h/. .subscriptions is located inside of the mail directory, whereas it is possible .mailboxlist was outside of it (in user's home directory). However, I built dovecot from ports on FreeBSD 6.2, and the only files that approach this are: wurfel# ls -al total 58 drwxr-xr-x 3 root wheel 512 Jan 16 20:48 . drwxr-xr-x 6 root wheel 1024 Jan 16 20:48 .. drwxr-xr-x 2 root wheel 512 Jan 16 20:48 .deps -rw-r--r-- 1 root wheel 14662 Jan 16 20:48 Makefile -rw-r--r-- 1 root wheel 266 Oct 20 2004 Makefile.am -rw-r--r-- 1 root wheel 14009 Jan 6 23:26 Makefile.in -rw-r--r-- 1 root wheel 4374 Jan 16 20:48 libstorage_subscription_file.a -rw-r--r-- 1 root wheel 6935 Jan 3 15:19 subscription-file.c -rw-r--r-- 1 root wheel 703 Jan 13 2006 subscription-file.h -rw-r--r-- 1 root wheel 4060 Jan 16 20:48 subscription-file.o wurfel# pwd /usr/ports/mail/dovecot/work/dovecot-1.0.rc17/src/lib-storage/subscription-file I took a look at subscription-file.c, but didn't notice where I should change the definition of the file itself-- my code-fu is weak. If someone could lend a hand, I'd be deeply appreciative. -- Jay Chandler Network Administrator, Chapman University 714.628.7249 / chandler@xxxxxxxxxxx Today's Excuse: Internet exceeded Luser level, please wait until a luser logs off before attempting to log back on. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users