I have a setup that is a holdover from my MH days whereby I use procmail
to sort my mail into different "incoming" folders, and then I invoke an
external command to put mail from these inboxes into the mailbox
I actually read out of when I am ready for that set of mail (at which point
it may get stored in various other folders or left in my "inbox").
To facilitate this, i have the following macros ("minc" is the
script I run to put the mail from a folder into my real inbox):
macro index "i" "! /home/spg/sysatc/bin/minc
"
macro index ".j" "! /home/spg/sysatc/bin/minc junk
"
macro index ".r" "! /home/spg/sysatc/bin/minc root
"
macro index ".g" "! /home/spg/sysatc/bin/minc gal
"
macro index ".b" "! /home/spg/sysatc/bin/minc bt
"
macro index ".n" "! /home/spg/sysatc/bin/minc news
"
macro index ".p" "! /home/spg/sysatc/bin/minc bp
"
What I would prefer to would be something similar to what I did when
I used MH-E (an Emacs package that used MH as the backend); "i" by itself
imported mail into the mailbox you read from, and ^Ui would prompt for an
incoming folder name, and import from that instead of /var/mail/whatever.
However, there doesn't seem to be an obvious way to pass arguments to
macros in such a way.
Is there a way to do something similar in mutt (prompt for a filename,
and then run a script with that filename as the argument) ?
Or is the way I do it now (with the above macros) the best I can do
at the time...
thanks
toby
--
Toby Chappell Georgia State Univ.
Lead Software System Engineer Atlanta, Georgia
[EMAIL PROTECTED] (404) 651-2639