LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 11-15-2006, 05:41 PM   #1
dunric
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 387

Rep: Reputation: 32
Unhappy UW IMAP 2GB file size limit


Until today imap server distributed in Slackware did served well but unfortunately I've suddenly encountered mbx file corruption. After a bit of searching I've finally discovered it's due to unhandled and undocumented >2GB file size limit. It's not a problem of used filesystem (ext3) but of uw-imap server itself.
Is there some fix or workaround about this serious limitation ? Besides of manual splitting, of course.

Last edited by dunric; 11-15-2006 at 05:52 PM.
 
Old 11-16-2006, 01:16 AM   #2
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Rep: Reputation: 33
Your mailbox is a single file, so this looks like a 32 bit limit
I use courier-imap, which uses maildir structure instead, so my limit will be the number of files in a folder directory imposed by the file system
 
Old 11-16-2006, 04:11 AM   #3
dunric
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 387

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by davidsrsb
Your mailbox is a single file, so this looks like a 32 bit limit
I use courier-imap, which uses maildir structure instead, so my limit will be the number of files in a folder directory imposed by the file system
Yep, exactly. It's due to signed 32bit integer used for next message offset and file corruption is caused by its "overflow".
Unfortunately I didn't find a patch fixing this problem. I'm not sure I can hack the sources by myself so if I'd decide to switch to Courier is there some reliable tool for mbx -> maildir conversion ? Or at least mbox -> maildir ?

Last edited by dunric; 11-16-2006 at 04:33 AM.
 
Old 11-16-2006, 04:47 AM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 4,031

Rep: Reputation: Disabled
I used imapsync to migrate IMAP mail from one IMAP server to another several times. The README file states that both UW-imap and Courier-imap are supported servers.

Eric
 
Old 11-16-2006, 05:40 AM   #5
dunric
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 387

Original Poster
Rep: Reputation: 32
Thanks Eric. Imapsync looks handy.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Very confused about 2GB file size limit! nkendrick Linux - General 6 09-29-2005 07:14 PM
2GB File Limit AS2.1 jbovaird Red Hat 19 11-14-2003 11:29 AM
mencoder file size limit 2GB chii-chan Linux - Software 3 10-22-2003 04:27 AM
2.4.20 Kernel has file size limit=2GB?? How can this be! digizer0 Linux - General 7 01-14-2003 10:00 PM
Is there a way round the 2gb File size Limit smurf Linux - General 2 07-10-2002 02:57 PM


All times are GMT -5. The time now is 05:05 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration