On 02Nov2016 08:08, Mihail Konev <k....@ya.ru> wrote:
What is the supposed way of keeping messages from a mailing list in a
dedicated folder?

Right now I'm using

 folder-hook +INBOX 'macro index \Cw "T~h \"To: 
mailing-list\"<return>;s\Cu=mailing-list<return><return>$<return>"'

i.e. tag everything "To: mailing-list", then move all tagged messages to 
"=mailing-list" folder.

Which works for a single list.

But this looks improper, unreliable,
and unefficient (has to purge messages for every list; requires to press
Ctrl-W).

I tried appending a second "T~h...$<return>" for a different list,
but this shuffled message destinations (were it typos, bugs, or whatever).

This just seems not to be the intended way.

I've got a python program that watches my (Maildir) inbox, where the mail system deposits my messages. I files them according to rules from a config file. I just use mutt to visit the places the messages have been filed.
-- Cameron Simpson <c...@zip.com.au>

Reply via email to