Re: broken inbox in Pine
On Fri, 3 Apr 1998, Dale Scheetz wrote:
> I just had a very strange experience with pine. I started it up after
> poping down a chunk of mail, and it got past the Friday problem
> report, reports a mailbox error and closes the inbox!
>
> Is there a limit to how big an inbox can be? Mine is currently just
> under 10 meg, and I'm sure that I have had larger in the past.
how do you stand it? i find pine gets so slow as to be unusable when the
mailbox gets to 4 or 5 MB. even 2MB is slow enough to be annoying.
(this is on a 686-166 with 96MB ram and a new quantum SE 4.3Gb IDE
drive....it has got a lot faster since i swapped my ancient WD Caviar
1.6gb drive for the quantum a few weeks ago but it's still slow when the
mailbox files are too big - mostly debian-user and debian-devel).
> Any ideas on how to recover it? I guess it's time to learn procmail or
> some such, and sort it out into seperate mail folders.
try loading it in to mutt or elm. or use formail (part of procmail) to
filter each message in the spool file into a separate folder....see 'man
formail' for details.
if that fails, try loading it into vi or some other editor and deleting
the offending message. editing a 10mb file may be real slow :(
> Any ideas on what went wrong?
no, but here's an example procmailrc to get you started. you'll need to
adapt it for your own system.
once you've got a working ~/.procmailrc you can run formail to process
your existing mail spool file and sort it out into multiple folders.
---cut here---
#VERBOSE=on
PATH=$HOME/bin:/usr/bin:/bin:/usr/local/bin:.
MAILDIR=$HOME/Mail
#DEFAULT=/var/spool/mail/cas
DEFAULT=$HOME/mail/potential-junkmail
LOGFILE=$MAILDIR/from
LOCKFILE=$HOME/.lockmail
:0 E
* ^(TO|FROM|FROM_DAEMON).*squid-users
Lists/squid/incoming
:0 E
* ^X-Mailing-List: <debian-admintool@lists.debian.org>
Lists/debian/admintool/incoming
:0 E
* ^X-Mailing-List: <debian-bugs-dist@lists.debian.org>
Lists/debian/bugs/incoming
:0 E
* ^X-Mailing-List: <debian-private@lists.debian.org>
Lists/debian/private/incoming
# catch all non-intel devel changes messages
#
# the two regexps in this one are ANDED. if you want OR you need to
# construct a more complicated regexp. e.g. the (TO|FROM|FROM_DAEMON)
# stuff in some other rules.
#
:0 E
* ^X-Mailing-List: <debian-devel-changes@lists.debian.org>
* ^Subject:.*\((m68k|alpha|sparc|powerpc)\)
Lists/debian/devel/changes.incoming.non-i386
# and now the remainder of the changes messages.
#
:0 E
* ^X-Mailing-List: <debian-devel-changes@lists.debian.org>
Lists/debian/devel/changes.incoming
:0 E
* ^X-Mailing-List: <debian-devel@lists.debian.org>
Lists/debian/devel/incoming
:0 E
* ^X-Mailing-List: <debian-user@lists.debian.org>
Lists/debian/user/incoming
:0 E
* ^X-Mailing-List: <debian-announce@lists.debian.org>
Lists/debian/announce/incoming
:0 E
* ^X-Mailing-List: <debian-changes@lists.debian.org>
Lists/debian/changes/incoming
:0 E
* ^(TO|FROM|FROM_DAEMON).*melblinux
Lists/melblinux/incoming
:0 E
* ^(TO|FROM|FROM_DAEMON).*aussie-isp@aussie.net
Lists/aussie-isp/incoming
# split up postgresql digest
:0:E
* ^Subject:.*questions-digest
| formail +1 -ds >>$HOME/Mail/Lists/postgresql/questions/incoming
# anything sent (To: or CC:) directly to any of my addresses is probably
# not spam.
:0 E
* ^TO(cas@.*taz.net.au|cas@.*pronet.com|cas@.*vicnet.net.au)
/var/spool/mail/cas
# Anything that has not been delivered by now will go to $DEFAULT
# ($DEFAULT is HOME/mail/potential-junkmail)
#
# i.e. stuff BCC-ed to me, new mailing lists not yet handled by this
# ~/.procmailrc file, and spam which makes it past my system-wide
# spam filters.
---cut here---
for the procmail rules above, you would need to make these directories:
mkdir -p ~/Mail/Lists/squid
mkdir -p ~/Mail/Lists/debian/admintool
mkdir -p ~/Mail/Lists/debian/bugs
mkdir -p ~/Mail/Lists/debian/private
mkdir -p ~/Mail/Lists/debian/devel
mkdir -p ~/Mail/Lists/debian/user
mkdir -p ~/Mail/Lists/debian/announce
mkdir -p ~/Mail/Lists/debian/changes
mkdir -p ~/Mail/Lists/melblinux
mkdir -p ~/Mail/Lists/aussie-isp
and here's an extract of the relevant parts of my ~/.pinerc which uses
these dirs:
---cut here---
incoming-folders=potential_junkmail mail/potential-junkmail,
melb-linux Mail/Lists/melblinux/incoming,
aussie-isp Mail/Lists/aussie-isp/incoming,
debian-admintool Mail/Lists/debian/admintool/incoming,
debian-private Mail/Lists/debian/private/incoming,
debian-user Mail/Lists/debian/user/incoming,
debian-changes Mail/Lists/debian/changes/incoming,
debian-announce Mail/Lists/debian/announce/incoming,
debian-devel Mail/Lists/debian/devel/incoming,
debian-devel-changes Mail/Lists/debian/devel/changes.incoming,
debian-bugs-dist Mail/Lists/debian/bugs/incoming,
postgresql-q Mail/Lists/postgresql/questions/incoming,
squid-user Mail/Lists/squid/incoming,
folder-collections=Saved-Email mail/[],
me Mail/cas/[],
people Mail/people/[],
melblinux Mail/Lists/melblinux/[],
aussie-isp Mail/Lists/aussie-isp/[],
debian-private Mail/Lists/debian/private/[],
debian-admintool Mail/Lists/debian/admintool/[],
debian-user Mail/Lists/debian/user/[],
debian-changes Mail/Lists/debian/changes/[],
debian-announce Mail/Lists/debian/announce/[],
debian-devel Mail/Lists/debian/devel/[],
debian-bugs-dist Mail/Lists/debian/bugs/[],
postgresql-q Mail/Lists/postgresql/questions/[],
squid-user Mail/Lists/squid/[],
# only enable-incoming-folders in the feature list is relevant here.
# the other features make pine MUCH more usable.
feature-list=preserve-start-stop,
delete-skips-deleted,
enable-incoming-folders,
preserve-start-stop-characters,
enable-mail-check-cue,
save-will-advance,
show-selected-in-boldface,
enable-aggregate-command-set,
enable-alternate-editor-cmd,
enable-bounce-cmd,
enable-flag-cmd,
enable-full-header-cmd,
enable-tab-completion,
enable-unix-pipe-cmd,
expanded-view-of-folders,
include-header-in-reply,
enable-jump-shortcut,
enable-8bit-esmtp-negotiation,
enable-dot-files,
enable-dot-folders,
enable-goto-in-file-browser,
enable-newmail-in-xterm-icon,
enable-suspend,
fcc-on-bounce,
include-attachments-in-reply,
include-text-in-reply,
print-offers-custom-cmd-prompt,
print-includes-from-line,
print-index-enabled,
print-formfeed-between-messages,
show-cursor,
use-sender-not-x-sender,
use-subshell-for-suspend,
enable-verbose-smtp-posting,
signature-at-bottom
---cut here---
--
craig sanders
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: