Hello,
I sent this message out last night, but never got it back from the
mailing list; and, since it isn't in the archive but the one I sent
after it concerning binding ^c is, I am assuming it got last somewhere
and am resending it. I apologize if anyone is getting it a second time.
I subscribe to several mailing lists and attempted to develop a
keyboard macro to automatically save all messages to their appropriate
folders. I am using Mutt v 1.1.11i . Here are the relevant sections of
my .muttrc file:
--------
macro index <f3> "T~l\n;s" "save mailing lists"
subscribe [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] \
[EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] \
[EMAIL PROTECTED]
fcc-save-hook "~C [EMAIL PROTECTED]" ~/Mail/Computer/KDE/kde-general
fcc-save-hook "~C [EMAIL PROTECTED]" ~/Mail/trash
fcc-save-hook "~C [EMAIL PROTECTED]" ~/Mail/Computer/KDE/kde-user
fcc-save-hook "~C [EMAIL PROTECTED]" ~/Mail/Computer/Zope/zope-general
fcc-save-hook "~C [EMAIL PROTECTED]" ~/Mail/Computer/Zope/Zope-Dev
fcc-save-hook "~C [EMAIL PROTECTED]" ~/Mail/Computer/Linux/lout
fcc-save-hook "~C [EMAIL PROTECTED]" ~/Mail/Computer/Linux/delug
--------
When I tried it out it asked me to confirm where I wanted to save to,
and displayed "~/Mail/Computer/Zope/zope-general" as the default (a
mail from that list was first). I said yes and found that all of my
mailing list mail was moved to the Zope folder. Is there any way I can
configure Mutt to save to the correct mailboxes automatically? I
thought about making a macro such as
"T~C [EMAIL PROTECTED];s\n\nT~C [EMAIL PROTECTED];s\n\n
(etc.)"
but I realized that any mailing lists that did not have any mail would
result in the first message being saved whether it was in a mailing
list or not. I could make a separate macro for each list, but I don't
want to have to keep track of which macro goes to which list. Can
anyone help me with this problem? Are there any external commands I
could run from a macro that would sort the mail for me (I don't want
it presorted as fetchmail gets it, I want it sorted only when I ask it
to be sorted.)
--
Harry Henry Gebel, Senior Developer, Landon House SBS
West Dover Hundred, Delaware
PyNcurses: python binding for ncurses http://pyncurses.sourceforge.net
PGP signature