List reply in mutt |
September 12th, 2009 |
email, tech |
Mutt has a nice feature where when you have set it up properly, you
can press 'L' for 'reply to list'. I use this a lot, but I'm on a
good number of mailing lists and don't like that each time I need
to go and add "
subscribe listname@host.tld
" to my
~/.muttrc
. This is annoying. If you invoke 'reply to
list' on a mailing list message that you've not marked in the
~/.muttrc
, you get the error "no mailing lists found".
So, given that such a high percentage of lists are listid setting
gnu mailman lists, what if we replace that error logic with:
- if would raise 'no mailing lists found error' and
- if the message has a list id header and
- if the list id header contains an email address and
- if the email address is in the to, cc, reply-to, or from field then
- reply to list with that address otherwise
- raise the error as we were going to
Comment via: facebook