Re: aliasing mailing lists
Hi,
* cga2000 [06-05-18 20:18:14 -0400] wrote:
On Thu, May 18, 2006 at 02:58:30AM EDT, Rocco Rutte wrote:
Since I use procmail for local filtering, I put comments in .procmailrc
which are converted via cronjob and shell to a mutt config file and
committed to a git repository.
Sounds like the better approach on the face of it. Could you be a
little more specific?
I have lines like these in .procmailrc:
#subscribe mutt-users@xxxxxxxx
#list mutt-users@xxxxxxxxx
:0
* ^Sender: owner-mutt-users@mutt\.org
IN.mutt-users/
#subscribe mutt-dev@xxxxxxxx
#list mutt-dev@xxxxxxxxx
:0
* ^Sender: owner-mutt-dev@mutt\.org
IN.mutt-dev/
and then do:
$ grep -E '^#(subscribe|list)' ~/.procmailrc | sed 's/^.//' >
/path/to/mutt.lists
in a shell script from cron. My ~/.muttrc contains, of course:
source /path/to/mutt.lists
That way I don't ever forget to update configs for removed/added lists
as it's done all in one place.
bye, Rocco
--
:wq!