Debian Bug report logs - #478545
[alpine] alpine does not support large (>2 GiB) mbox's

Package: alpine; Maintainer for alpine is Asheesh Laroia <asheesh@asheesh.org>; Source for alpine is src:alpine (PTS, buildd, popcon).

Reported by: Mike Dresser <mdresser_l@windsormachine.com>

Date: Tue, 29 Apr 2008 18:03:02 UTC

Severity: normal

Tags: bookworm, bullseye, buster, jessie, lfs, sid, squeeze, stretch, trixie, wheezy

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Asheesh Laroia <asheesh@asheesh.org>:
Bug#478545; Package alpine. (full text, mbox, link).


Acknowledgement sent to Mike Dresser <mdresser_l@windsormachine.com>:
New Bug report received and forwarded. Copy sent to Asheesh Laroia <asheesh@asheesh.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Mike Dresser <mdresser_l@windsormachine.com>
To: submit@bugs.debian.org
Subject: [alpine] alpine does not support large (>2 GiB) mbox's
Date: Tue, 29 Apr 2008 13:59:19 -0400
Package: alpine
Severity: normal
Tags: lfs

--- Please enter the report below this line. ---

If you attempt to open a mailbox that is over 2 GiB in size, alpine will 
refuse to open it, stating 'Folder "INBOX" opened with 0 messages'  Pine 
4.64 had the same behaviour previously.

--- System information. ---
Architecture: i386
Kernel: Linux 2.6.25

Debian Release: lenny/sid
500 unstable www.debian-multimedia.org
500 unstable mirrors.kernel.org
500 unstable http.us.debian.org

--- Package information. ---
Depends (Version) | Installed
=====================================-+-====================
libc6 (>= 2.7-1) | 2.7-10
libkrb53 (>= 1.6.dfsg.2) | 1.6.dfsg.3~beta1-4
libldap-2.4-2 (>= 2.4.7) | 2.4.7-6.2
libncurses5 (>= 5.6+20071006-3) | 5.6+20080419-2
libpam0g (>= 0.99.7.1) | 0.99.7.1-6
libssl0.9.8 (>= 0.9.8f-5) | 0.9.8g-8






Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#478545; Package alpine. (full text, mbox, link).


Acknowledgement sent to Asheesh Laroia <asheesh@asheesh.org>:
Extra info received and forwarded to list. (full text, mbox, link).


Message #10 received at 478545@bugs.debian.org (full text, mbox, reply):

From: Asheesh Laroia <asheesh@asheesh.org>
To: alpine-info@u.washington.edu
Cc: 478545@bugs.debian.org
Subject: Bug#478545: [alpine] alpine does not support large (>2 GiB) mbox's (fwd)
Date: Tue, 29 Apr 2008 13:21:35 -0700 (PDT)
I'm forwarding this Debian user's bug report to the alpine-info list.

Is this a known issue in Alpine?  I imagine it is a c-client issue; is it 
a known issue there?

The "LFS" tag in the Debian bug means that this issue relates to large 
file support.

If possible, please reply to all so that the Debian bug can pick up on 
any conversation here.

-- Asheesh.

---------- Forwarded message ----------
Date: Tue, 29 Apr 2008 13:59:19 -0400
From: Mike Dresser <mdresser_l@windsormachine.com>
Resent-From: Mike Dresser <mdresser_l@windsormachine.com>
To: submit@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-cc: Asheesh Laroia <asheesh@asheesh.org>
Resent-Date: Tue, 29 Apr 2008 18:03:02 +0000
Resent-Date: Tue, 29 Apr 2008 18:03:06 +0000
Subject: Bug#478545: [alpine] alpine does not support large (>2 GiB) mbox's

Package: alpine
Severity: normal
Tags: lfs

--- Please enter the report below this line. ---

If you attempt to open a mailbox that is over 2 GiB in size, alpine will refuse 
to open it, stating 'Folder "INBOX" opened with 0 messages'  Pine 4.64 had the 
same behaviour previously.

--- System information. ---
Architecture: i386
Kernel: Linux 2.6.25

Debian Release: lenny/sid
500 unstable www.debian-multimedia.org
500 unstable mirrors.kernel.org
500 unstable http.us.debian.org

--- Package information. ---
Depends (Version) | Installed
=====================================-+-====================
libc6 (>= 2.7-1) | 2.7-10
libkrb53 (>= 1.6.dfsg.2) | 1.6.dfsg.3~beta1-4
libldap-2.4-2 (>= 2.4.7) | 2.4.7-6.2
libncurses5 (>= 5.6+20071006-3) | 5.6+20080419-2
libpam0g (>= 0.99.7.1) | 0.99.7.1-6
libssl0.9.8 (>= 0.9.8f-5) | 0.9.8g-8








Information forwarded to debian-bugs-dist@lists.debian.org, Asheesh Laroia <asheesh@asheesh.org>:
Bug#478545; Package alpine. (full text, mbox, link).


Acknowledgement sent to Mark Crispin <MRC@Washington.EDU>:
Extra info received and forwarded to list. Copy sent to Asheesh Laroia <asheesh@asheesh.org>. (full text, mbox, link).


Message #15 received at 478545@bugs.debian.org (full text, mbox, reply):

From: Mark Crispin <MRC@Washington.EDU>
To: Asheesh Laroia <asheesh@asheesh.org>
Cc: alpine-info@u.washington.edu, 478545@bugs.debian.org
Subject: Re: [Alpine-info] Bug#478545: [alpine] alpine does not support large (>2 GiB) mbox's (fwd)
Date: Tue, 29 Apr 2008 13:36:58 -0700 (Pacific Daylight Time)
The report is correct.  The c-client library makes no attempt to use the 
64bit system calls; and thus flat files are limited to 2GB.

The recommended solution for mailboxes with aggregate size greater than 
2GB is to use mix format instead of a flat file format.  Even if c-client 
were updated to use the 64bit system calls, flat files (especially in 
traditional UNIX format) do not perform well at multi-GB sizes.

If there is some compelling reason offered, I will consider 64bit support. 
However, as of right now, I am highly skeptical that the benefit would be 
worth the effort, especially since there is a superior solution for large 
mailboxes available now ("superior" since it will always work better than 
a large flat file).

On Tue, 29 Apr 2008, Asheesh Laroia wrote:
> I'm forwarding this Debian user's bug report to the alpine-info list.
>
> Is this a known issue in Alpine?  I imagine it is a c-client issue; is it a 
> known issue there?
>
> The "LFS" tag in the Debian bug means that this issue relates to large file 
> support.
>
> If possible, please reply to all so that the Debian bug can pick up on any 
> conversation here.
>
> -- Asheesh.
>
> ---------- Forwarded message ----------
> Date: Tue, 29 Apr 2008 13:59:19 -0400
> From: Mike Dresser <mdresser_l@windsormachine.com>
> Resent-From: Mike Dresser <mdresser_l@windsormachine.com>
> To: submit@bugs.debian.org
> Resent-To: debian-bugs-dist@lists.debian.org
> Resent-cc: Asheesh Laroia <asheesh@asheesh.org>
> Resent-Date: Tue, 29 Apr 2008 18:03:02 +0000
> Resent-Date: Tue, 29 Apr 2008 18:03:06 +0000
> Subject: Bug#478545: [alpine] alpine does not support large (>2 GiB) mbox's
>
> Package: alpine
> Severity: normal
> Tags: lfs
>
> --- Please enter the report below this line. ---
>
> If you attempt to open a mailbox that is over 2 GiB in size, alpine will 
> refuse to open it, stating 'Folder "INBOX" opened with 0 messages'  Pine 4.64 
> had the same behaviour previously.
>
> --- System information. ---
> Architecture: i386
> Kernel: Linux 2.6.25
>
> Debian Release: lenny/sid
> 500 unstable www.debian-multimedia.org
> 500 unstable mirrors.kernel.org
> 500 unstable http.us.debian.org
>
> --- Package information. ---
> Depends (Version) | Installed
> =====================================-+-====================
> libc6 (>= 2.7-1) | 2.7-10
> libkrb53 (>= 1.6.dfsg.2) | 1.6.dfsg.3~beta1-4
> libldap-2.4-2 (>= 2.4.7) | 2.4.7-6.2
> libncurses5 (>= 5.6+20071006-3) | 5.6+20080419-2
> libpam0g (>= 0.99.7.1) | 0.99.7.1-6
> libssl0.9.8 (>= 0.9.8f-5) | 0.9.8g-8
>
>
>
>
> _______________________________________________
> Alpine-info mailing list
> Alpine-info@u.washington.edu
> https://mailman1.u.washington.edu/mailman/listinfo/alpine-info
>

-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.




Information forwarded to debian-bugs-dist@lists.debian.org, Asheesh Laroia <asheesh@asheesh.org>:
Bug#478545; Package alpine. (full text, mbox, link).


Acknowledgement sent to Mike Dresser <mdresser_l@router.windsormachine.com>:
Extra info received and forwarded to list. Copy sent to Asheesh Laroia <asheesh@asheesh.org>. (full text, mbox, link).


Message #20 received at 478545@bugs.debian.org (full text, mbox, reply):

From: Mike Dresser <mdresser_l@router.windsormachine.com>
To: 478545@bugs.debian.org
Subject: Bug#478545: [alpine] alpine does not support large (>2 GiB) mbox's
Date: Tue, 29 Apr 2008 17:08:00 -0400 (EDT)
That would explain why ipopd has the same issue (reported that as well 
today, #478549)

Fixing that would enable large mailbox downloads though, and would fix 
alpine at the same time.  This bug report and #478549 should probably be 
merged and moved to a c-client issue then as they both use c-client?

I think the large file support would be a good idea, since clients such as 
Icedove usually work just fine with very large mailboxes.  If someone were 
to use fetchmail or something similar to grab their >2gb Gmail/whatever 
account all at once to a local mbox, they would be unable to download it 
to another mail client via pop3.

Mike





Information forwarded to debian-bugs-dist@lists.debian.org, Asheesh Laroia <asheesh@asheesh.org>:
Bug#478545; Package alpine. (full text, mbox, link).


Acknowledgement sent to Mark Crispin <MRC@Washington.EDU>:
Extra info received and forwarded to list. Copy sent to Asheesh Laroia <asheesh@asheesh.org>. (full text, mbox, link).


Message #25 received at 478545@bugs.debian.org (full text, mbox, reply):

From: Mark Crispin <MRC@Washington.EDU>
To: Asheesh Laroia <asheesh@asheesh.org>
Cc: 478545@bugs.debian.org, alpine-info@u.washington.edu
Subject: Re: Bug#478545: [Alpine-info] Bug#478545: [alpine] alpine does not support large (>2 GiB) mbox's (fwd)
Date: Tue, 29 Apr 2008 15:15:56 -0700 (Pacific Daylight Time)
On Tue, 29 Apr 2008, Asheesh Laroia wrote:
> Thanks for the confirmation.

You're welcome.

>> The recommended solution for mailboxes with aggregate size greater than 2GB 
>> is to use mix format instead of a flat file format.  Even if c-client were 
>> updated to use the 64bit system calls, flat files (especially in 
>> traditional UNIX format) do not perform well at multi-GB sizes.
> That's true.

I'm glad that we are in agreement on this point.

>> If there is some compelling reason offered, I will consider 64bit support. 
>> However, as of right now, I am highly skeptical that the benefit would be 
>> worth the effort, especially since there is a superior solution for large 
>> mailboxes available now ("superior" since it will always work better than a 
>> large flat file).
> Well, on a system where the mail setup is configured by the sysadmin, one's 
> only way to read mail might be an enormous /var/mail/$USER that has exceeded 
> two gigabytes.

Fortunately, this isn't true!

Nothing prevents the user from creating an alternative-format INBOX.  The 
simplest way to create a mix-format INBOX in Alpine is to save a message 
to #driver.mix/INBOX and then exit Alpine.  When Alpine is restarted, it 
will see the mix-format INBOX and then automatically start transferring 
messages there from the spool directory.

-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.




Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#478545; Package alpine. (full text, mbox, link).


Acknowledgement sent to Asheesh Laroia <asheesh@asheesh.org>:
Extra info received and forwarded to list. (full text, mbox, link).


Message #30 received at 478545@bugs.debian.org (full text, mbox, reply):

From: Asheesh Laroia <asheesh@asheesh.org>
To: Mark Crispin <MRC@Washington.EDU>, 478545@bugs.debian.org
Cc: alpine-info@u.washington.edu
Subject: Re: Bug#478545: [Alpine-info] Bug#478545: [alpine] alpine does not support large (>2 GiB) mbox's (fwd)
Date: Tue, 29 Apr 2008 15:11:50 -0700 (PDT)
On Tue, 29 Apr 2008, Mark Crispin wrote:

> The report is correct.  The c-client library makes no attempt to use the 
> 64bit system calls; and thus flat files are limited to 2GB.

Thanks for the confirmation.

> The recommended solution for mailboxes with aggregate size greater than 2GB 
> is to use mix format instead of a flat file format.  Even if c-client were 
> updated to use the 64bit system calls, flat files (especially in traditional 
> UNIX format) do not perform well at multi-GB sizes.

That's true.

> If there is some compelling reason offered, I will consider 64bit support. 
> However, as of right now, I am highly skeptical that the benefit would be 
> worth the effort, especially since there is a superior solution for large 
> mailboxes available now ("superior" since it will always work better than a 
> large flat file).

Well, on a system where the mail setup is configured by the sysadmin, 
one's only way to read mail might be an enormous /var/mail/$USER that has 
exceeded two gigabytes.

-- Asheesh.

-- 
Questionable day.

Ask somebody something.




Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#478545; Package alpine. (full text, mbox, link).


Acknowledgement sent to Asheesh Laroia <asheesh@asheesh.org>:
Extra info received and forwarded to list. (full text, mbox, link).


Message #35 received at 478545@bugs.debian.org (full text, mbox, reply):

From: Asheesh Laroia <asheesh@asheesh.org>
To: Mark Crispin <MRC@Washington.EDU>
Cc: 478545@bugs.debian.org, alpine-info@u.washington.edu
Subject: Re: Bug#478545: [Alpine-info] Bug#478545: [alpine] alpine does not support large (>2 GiB) mbox's (fwd)
Date: Tue, 29 Apr 2008 15:24:02 -0700 (PDT)
On Tue, 29 Apr 2008, Mark Crispin wrote:

> Nothing prevents the user from creating an alternative-format INBOX.  The 
> simplest way to create a mix-format INBOX in Alpine is to save a message to 
> #driver.mix/INBOX and then exit Alpine.  When Alpine is restarted, it will 
> see the mix-format INBOX and then automatically start transferring messages 
> there from the spool directory.

But what if the spool is already >2GB?

-- Asheesh.

-- 
He draweth out the thread of his verbosity finer than the staple of his
argument.
		-- William Shakespeare, "Love's Labour's Lost"




Information forwarded to debian-bugs-dist@lists.debian.org, Asheesh Laroia <asheesh@asheesh.org>:
Bug#478545; Package alpine. (full text, mbox, link).


Acknowledgement sent to Mark Crispin <MRC@Washington.EDU>:
Extra info received and forwarded to list. Copy sent to Asheesh Laroia <asheesh@asheesh.org>. (full text, mbox, link).


Message #40 received at 478545@bugs.debian.org (full text, mbox, reply):

From: Mark Crispin <MRC@Washington.EDU>
To: Asheesh Laroia <asheesh@asheesh.org>
Cc: 478545@bugs.debian.org, alpine-info@u.washington.edu
Subject: Re: Bug#478545: [Alpine-info] Bug#478545: [alpine] alpine does not support large (>2 GiB) mbox's (fwd)
Date: Tue, 29 Apr 2008 15:30:01 -0700 (Pacific Daylight Time)
On Tue, 29 Apr 2008, Asheesh Laroia wrote:
> But what if the spool is already >2GB?

Yes, in that case, you have to do some external recovery to break the file 
into smaller chunks.  The split program is useful for this purpose.

By the way, I recommend that mixcvt be used instead of mailutil or 
Alpine's snarfing for converting a mailbox.  This is because mailutil and 
Alpine will do an atomic move of the messages from the spool file, thus 
putting them all into one mix data file.  mixcvt will divide the messages 
into multiple files.

-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.




Severity set to 'serious' from 'normal' Request was from Clint Adams <schizo@debian.org> to control@bugs.debian.org. (Tue, 23 Mar 2010 01:06:05 GMT) (full text, mbox, link).


Added tag(s) sid and squeeze. Request was from Gerfried Fuchs <rhonda@debian.at> to control@bugs.debian.org. (Tue, 23 Mar 2010 07:51:11 GMT) (full text, mbox, link).


Severity set to 'normal' from 'serious' Request was from Gerfried Fuchs <rhonda@deb.at> to control@bugs.debian.org. (Tue, 23 Mar 2010 08:42:13 GMT) (full text, mbox, link).


Added tag(s) wheezy. Request was from Kurt Roeckx <kurt@roeckx.be> to control@bugs.debian.org. (Wed, 16 Feb 2011 19:03:15 GMT) (full text, mbox, link).


Added tag(s) jessie. Request was from Julien Cristau <jcristau@debian.org> to control@bugs.debian.org. (Thu, 18 Apr 2013 17:40:35 GMT) (full text, mbox, link).


Added tag(s) stretch. Request was from Ivo De Decker <ivodd@debian.org> to control@bugs.debian.org. (Tue, 28 Apr 2015 17:09:52 GMT) (full text, mbox, link).


Added tag(s) buster. Request was from ivodd@debian.org to control@bugs.debian.org. (Sun, 18 Jun 2017 09:51:29 GMT) (full text, mbox, link).


Added tag(s) bullseye. Request was from ivodd@debian.org to control@bugs.debian.org. (Mon, 08 Jul 2019 08:27:36 GMT) (full text, mbox, link).


Added tag(s) bookworm. Request was from Sebastian Ramacher <sramacher@debian.org> to control@bugs.debian.org. (Mon, 16 Aug 2021 07:03:12 GMT) (full text, mbox, link).


Added tag(s) trixie. Request was from Sebastian Ramacher <sramacher@debian.org> to control@bugs.debian.org. (Sun, 11 Jun 2023 15:39:13 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 25 06:46:02 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.