Setting subscribe/list within muttrc (using IMAP)
Perhaps I'm looking for a feature that doesn't exist, and I'm almost
certainly missing something simple, but here's the background:
I currently use a script to connect to my IMAP server, and get a list of
all mail folders. I then parse that list to get the mailing list
folders (all named list.mailing-list-name), and use that to generate the
necessary rc commands (subscribe and from). I would like to remove that
extra connection to the server, and just use rc commands plus a little
shell scripting to do the same thing.
I've searched TFM, and the mailing list via marc.info, but haven't been
able to find anything useful. I believe I should be able to do what I
need to do if I can figure out how to pass the value of ^ to the shell.
So, is there a way to pass the value of ^ to the shell? If so, would
someone mind showing me an example?
If there is something about this in the manual/man pages/wiki/mailing
list, a simple scoff and pointer will be sufficient. ;]
Oh, and if there's an easier/better way to do this, please let me know.
Regards,
--
dave [ please don't CC me ]