On Wed, Jan 20, 2010 at 01:05:27AM -0500, Tim Gray wrote:
> On Tue 19, Jan'10 at 9:41 PM -0800, Freeman wrote:
> >Then "mutt users" is a subscribed lists *and* a known list.
> >
> >Should not I therefore be able to type a distinct part of the mailing list
> >in a To field?
>
> I think it affects the status display of a message in the index AND
> lets you type 'L' to respond to the list.
>
> As far as calling up a list's address while composing from scratch,
> I don't know how to do that. I query lbdb which is set up to add
> any address which I've sent mail to, so most of my mailing list
> address are already there.
You need to set up an alias for the list in order to be able to use a
shorted name for it when composing new mail.
I have a simple text file where I keep a list of all the mailing lists
I'm subscribed to. Each mailing list has an alias which becomes the
mutt alias for sending *and* the destination mailbox for mail from the
list. A couple of scripts use the contents of the text file to
actually provide what mutt needs in .muttrc and to do the sorting of
incoming mail. So the section of the file with the mutt list in it is:-
leafnode Li [email protected]
linux-usb Li [email protected]
mutt Li [email protected]
palm Li [email protected] Palm
Column 1 is the alias and the destination mailbox, column 2 is a
destination directory, column 3 is the mailing list address and column
4 is an otional string to be removed from the Subject:.
In my muttrc I have:-
source getAliases.py|
lists `getLists.py`
subscribe `getLists.py`
Where getAliases.py and getLists.py are simple python scripts for
extracting the required information from the text file. There is a
third (more complex) python script called from my .forward which
routes incoming mail to the appropriate places.
All this means that when I subscribe to a new mailing list I just add
it to the text file rather than having to edit three or four different
places.
--
Chris Green