<<< Date Index >>>     <<< Thread Index >>>

Re: aliasing mailing lists



On 19May2006 19:53, cga2000 <cga2000@xxxxxxxxxxxxx> wrote:
| On Fri, May 19, 2006 at 07:36:11AM 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.

I go the other way; I have a file like this:

    mutt        Mutt-Users      sender:owner-mutt-users@xxxxxxxx

and generate the .procmailrc from that. Column 1 is the folder name,
column 2 gets inserted as an X-Label header (I mix several lists in one
folder sometimes) and column 3 generates a procmail condition.

It makes maintaining a large .procmailrc much easier.
This is the converter:

  http://freshmeat.net/projects/cats2procmailrc/

[...]
| I don't know if it's possible in a reliable manner but I was thinking
| of maintaining a separate file that lists the addresses of all the
| mailing lists to which I am currently subscribed and having procmail:
| 
| 1. Add an entry to the list whenever it encounters a message that
|    confirms subscription to a mailing list 
| 
| 2. Delete entries upon receiving messages that confirm un-subscription
|    from mailing lists.
| 
| .. and naturally use this external file to generate the targets of the
| subscribe/mailboxes/alias commands in .muttrc.

It feels like a setup where someone could damage your mutt config just
be sending you email:-)

Personally I rarely both with step 2.

Cheers,
-- 
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

We Americans *pretend* 55 is the speed limit, ... but it clearly isn't the
real speed limit, since nobody, including the police, actually drives that
slowly, except people wearing hats in the left lane.    - Dave Barry