On Sat, May 17, 2025 at 12:49:16PM +0200, Sébastien Hinderer wrote: > For instance here is the configuration I have for this list: > > subscribe [email protected] > fcc-hook '~t [email protected]|~c [email protected]' '=list/mutt-users/' > save-hook '~t [email protected]|~c [email protected]' '=list/mutt-users/' > > It's definitely not unbearable, but each time I add a mailing list and > duplicate such lines I feel a bit sad about the redundancy, to the point > that I regularly find myself thinking that one day I will write a > generator to generate my Mutt configuration from a less verbose format. > Yes. What I do is have a configuration file in which I have all my lists and this is used to autogenerate the required subscribe and other mutt configuration. The same file is used by a Python script that routes incoming list mail to separate mailboxes.
Thus adding a new list all I have to do is add a line to my configuration file. -- Chris Green
