Migrating from MH to mutt (helpful muttrc)

2002-08-26 Thread Adam Fields

I've posted my .muttrc, which has a bunch of MH-like keybindings (the
ones I use most). If you're switching over from MH, you might find
that this helps ease the transition.

Enjoy!

http://www.aquick.org/adam_muttrc.txt


-- 
- Adam

-
Adam Fields, Managing Partner, [EMAIL PROTECTED]
Surgam, Inc. is a technology consulting firm with strong background in
delivering scalable and robust enterprise web and IT applications.
Ask about Vignette maximization: http://www.surgam.net/vignette.html



Re: Two questions

2002-06-05 Thread Adam Fields

On Mon, Jun 03, 2002 at 04:36:35PM -0500, David T-G wrote:
 % 2) What's the right way to do batch refiling, particularly of mailing
 %lists? Is there a way to specify a save-hook based on To: rather
 %than From:?
 
 The actual best way is the same as when it is delivered: run it through
 procmail or another MDA.  Otherwise you should probably tag a pattern and
 then save that bunch to wherever and go on to the next pattern.

Actually, I've discovered that it is possible to set up a save-hook
with a To: (or any header) match, using a pattern. Something like:

save-hook ~h mutt-users@\\.mutt\\.org =mutt-users

This works great! Combined with tagging threads, it makes it very fast
to refile incoming messages.



-- 
- Adam

-
Surgam, Inc. is a technology consulting firm with strong background in
delivering scalable and robust enterprise web and IT applications.
http://www.surgam.net




Re: Two questions

2002-06-03 Thread Adam Fields

On Mon, Jun 03, 2002 at 04:36:35PM -0500, David T-G wrote:
 Welcome!

Thanks!

 % I can't find the answers in the docs.
 % 
 % 1) Is there a way to open part of a folder? Say I have a folder with
 %2000 messages, and I want to only look at, say, 190-200?
 
 You can limit your view to just about any slice that you want, but you'll
 still be opening the whole folder (mbox, Maildir/, mh, MMDF) and so
 processing time can be tough.  Fortunately, mutt is light and lean and
 fast, and lots of folks have *huge* folders (my mutt-users folder has
 just topped 10k messages! and is still quite responsive) without
 problems.

I don't see immediately how to do that. Can you elaborate about the
possibilities here?

I have noticed that it's pretty fast. I'm using my existing mh folders
as-is; is there any info available on whether other folder types are
faster?

 % 
 % 2) What's the right way to do batch refiling, particularly of mailing
 %lists? Is there a way to specify a save-hook based on To: rather
 %than From:?
 
 The actual best way is the same as when it is delivered: run it through
 procmail or another MDA.  Otherwise you should probably tag a pattern and
 then save that bunch to wherever and go on to the next pattern.

My normal usage pattern is to look at all of the messages that come
in, then file them. What I'm looking for is the Pegasus Mail concept
of rules-based filing on main folder close. It seems I might be able
to sort of replicate this with procmail by having the mail filtered
and then picked up from the existing folder, but I'm a little fuzzy on
that.

I'm a little confused about reading new mail - from what I read, I
thought that mutt would pick up my new mail from the spool file and
put it in the mbox folder (+inbox), but it seems that when I open it,
I'm working with the spool file directly, and then I can move read
messages to the inbox on changing to another folder. Can you offer
more explanation of what's going on here? How does this mesh with
having procmail do the filtering?

This reminds me of another question - is there an easy way to rescan
the spoolfile for new mail (I have fetchmail running in daemon mode to
pick it up off the pop server)?


-- 
- Adam

-
Surgam, Inc. is a technology consulting firm with strong background in
delivering scalable and robust enterprise web and IT applications.
http://www.surgam.net