Re: iPhone Mbox Corruption

Bob Atkins <[email protected]> Thu, 29 Jul 2010 13:30:03 -0700
Newsgroups gmane.mail.imap.uw.c-client
Organization DigiLink, Inc.
Message-ID <[email protected]>
Neal,

The best advice I can offer you is to switch to mix mailbox format. It 
is /_*way*_/ better than mbx and the Dovecot maildir format from a 
system i/o performance and cpu load standpoint. It also fully supports 
multiple simultaneous mailbox access. We build our own version of 
uw-imap and the only mod that we made to the mix format was to increase 
the size of the mix files from 1MB to 10MB because given today's 
multi-megabyte emails 1MB size mix files are far too small from an 
efficiency standpoint. Everything has been working flawlessly for us.

An important note - make sure that you only allow imap service from the 
machine with the directly attached mail storage. You cannot allow access 
the mix mail store over nfs - corruption will always occur. In addition 
you should change the local mail delivery agent to use the uw-imap tmail 
for even greater performance and efficiency. Again, make sure that the 
local mail delivery happens on the same machine as the mail store and 
not over nfs.

-- 
*Bob Atkins * 
/President/CEO/

*DigiLink, Inc. <http://www.digilink.net>*
Business Inter-net-working
*/The Cure for the Common ISP!/*

	

Phone: (310) 577-9450
Fax: (310) 577-3360
eMail: [email protected]

 




Chuck Swiger wrote:
> On Jul 29, 2010, at 9:16 AM, Neal Morgan wrote:
>   
>> I saw a similar thread in the archive a few years back - but didn't see a post indicating the resolution.
>>     
>
> If it was Solaris + imapd-2007 + mbox, that was me.  :-)  The issue was never entirely resolved, although the patch Mark suggested seemed to help somewhat, which was something like (modulo line # fuzz):
>
> --- imapd.c~	2010-07-29 10:55:17.000000000 -0700
> +++ imapd.c	2010-07-29 10:55:49.000000000 -0700
> @@ -100,8 +100,5 @@
>   if (setjmp (jmpenv)) {	/* die if a signal handler say so */
>  				/* in case we get borked now */
>     if (setjmp (jmpenv)) _exit (1);
> -				/* need to close stream gracefully? */
> -   if (stream && !stream->lock && (stream->dtb->flags & DR_XPOINT))
> -     stream = mail_close (stream);
>     ret = 1;			/* set exit status */
>   }
>
> Over the longer term we ended up switching over to Dovecot + Maildir, but I'd still buy MRC a $BEVERAGE for UW-IMAP...
>
> Regards,
>

_______________________________________________
Imap-uw mailing list
[email protected]
http://mailman2.u.washington.edu/mailman/listinfo/imap-uw