3 messages in net.sourceforge.lists.courier-users[courier-users] Re: general courier i...
FromSent OnAttachments
Jesse GuardianiSep 27, 2004 7:54 am 
Jesse GuardianiSep 27, 2004 9:18 am 
Sam VarshavchikSep 27, 2004 4:14 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Re: general courier imap 3.0.8 problems?Actions...
From:Jesse Guardiani (jes@wingnet.net)
Date:Sep 27, 2004 9:18:47 am
List:net.sourceforge.lists.courier-users

Jesse Guardiani wrote:

Hello,

Is courier imap 3.0.8 giving anyone else general difficulty as opposed to 1.7.x?

When I check my mail from KMail, with IMAP_USELOCKS=1, I get STATUS errors, but with IMAP_USELOCKS=0, it downloads a few headers and then says the connection is broken. If I try to check just one folder (as opposed to my entire mailbox) then it works fine, but that's not as useful as checking the entire mailbox for new mail...

OK. Looks like I've determined the cuase of the IMAP problem. The following dir structure must have been supported (or at least tolerated) in previous courier-imap releases, but now it causes errors:

[11:39]jesse@chortos:[/usr/local/vpopmail/domains/wingnet.net/jesse/.maildir]#
ls -al .Personal.Mailing\ Lists.squirrelmail total 192 drwx------ 3 vpopmail vpopmail 4096 Jun 2 2003 . drwx------ 201 vpopmail vpopmail 12288 Sep 26 22:49 .. -rw------- 1 vpopmail vpopmail 159747 Oct 4 2002 .squirrelmail-users.index -rw-r--r-- 1 vpopmail vpopmail 1677 Oct 4 2002
.squirrelmail-users.index.ids -rw-r--r-- 1 vpopmail vpopmail 15 Oct 5 2002 courierimapuiddb -rw------- 1 vpopmail vpopmail 0 Jun 2 2003 maildirfolder drwx------ 5 vpopmail vpopmail 4096 Oct 5 2002 squirrelmail [12:09]jesse@chortos:[/usr/local/vpopmail/domains/wingnet.net/jesse/.maildir]#
ls -al .Personal.Mailing\ Lists.squirrelmail/squirrelmail/ total 20 drwx------ 5 vpopmail vpopmail 4096 Oct 5 2002 . drwx------ 3 vpopmail vpopmail 4096 Jun 2 2003 .. drwx------ 2 vpopmail vpopmail 4096 Oct 4 2002 cur drwx------ 2 vpopmail vpopmail 4096 Oct 4 2002 new drwx------ 2 vpopmail vpopmail 4096 Oct 4 2002 tmp

The fix is to do this:

[12:11]jesse@chortos:[/usr/local/vpopmail/domains/wingnet.net/jesse/.maildir]#
mv .Personal.Mailing\ Lists.squirrelmail/squirrelmail/* .Personal.Mailing\
Lists.squirrelmail [12:12]jesse@chortos:[/usr/local/vpopmail/domains/wingnet.net/jesse/.maildir]#
rmdir .Personal.Mailing\ Lists.squirrelmail/squirrelmail

Does anyone have a script that will do this for me?