Hey all. I was just wondering if there was some way that I could get
mutt to automatically set up my mbox hooks for every folder in my ~/mail
directory, so that way I can subscribe to a new mailing list without
having to edit my .muttrc.

Right now I've got this set up:

mbox-hook =spam "=archives/`date +%Y-%m`-spam"
mbox-hook =inbox "=archives/`date +%Y-%m`-inbox"
...

(and so on for all of my mboxes). I want to automate this so I don't
have to write a new one for all future mailing lists that I might decide
to subscribe to :)

I'm pretty sure I've seen this done somewhere, but I can't find it.

Thanks :)

-- 
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
"The Irish gave the bagpipes to the Scots as a joke, but the Scots
haven't seen the joke yet."
                -- Oliver Herford

Reply via email to