[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mutt setup help, please



On Sat, Feb 02, 2002 at 09:25:16PM -0500, dman wrote:
> On Sat, Feb 02, 2002 at 06:02:27PM -0500, Stan Brown wrote:
> | 
> | I'm making progress on this mutt setup, but I have a few questiosn, if you
> | have time.
> | 
> | 1. Can you send me an example alieas entry? It looks like I will have to
> | create that file by hand from my existing elm aliases file, and I can't
> | seem to find it's format documented.
> 
> alias <string> <rfc822 address>
> 
> For example :
> 
> alias stan1 Stan Brown <stanb@awod.com>
> alias stan2 "Stan Brown" <stanb@awod.com>
> alias stan3 stanb@awod.com (Stan Brown)
> 
> 
> I just glanced at the list and I agree with Stig that using vim is
> probably the easiest solution.  I'm not familiar with the record and
> playback mechanism so I would use the "substitute" command
> ( :s/regex/text/ ).  The same could be done with sed.  I can't help
> with a pattern to use because I don't remember elm's format.
> 
> | 2. Do I really have to enter each mailing list by hand into the mutrc file
> | to get it to work corectly with mailing lists? I sort each of the lists
> | that I am subscribed to inot seperate mialbox files, so I can't figure out
> | how else to do this.
> 
> You do need to add each address with the "list" or "subscribe" tag.
> Perhaps my address file will help: 

Umm, I;m still doing something wrong here.

Here is the appropriate section from ~/.mutt/muttrc:



# show the name in my address book if no name given
set reverse_alias = yes

# fix broken mailing list software
set ignore_list_reply_to = yes

set forward_format = "FW: %s"
set index_format = "%4C %Z %{%b %d} %-15.15L (%4l) %?M?(#%03M)&(%4l)? %s"
set sort=threads 
set sort_aux=date


###############################################################################
# Aliases :

# this is where mutt will save new aliases created
set alias_file="~/.mutt/Addresses"

# get my Address book
source ~/.mutt/Addresses

And hee's a sample entry from ~/.mutt/Addresses:


########################################################################
#
# Lists
#
#########################################################################
alias hpadmin "HPUX Mailing List" <hpux-admin@dutchworks.nl>
subscribe <hpux-admin@dutchworks.nl>

alias du "Debian User List" <debian-user@lists.debian.org>
subscribe <debian-user@lists.debian.org>

> 
> ~~~~~~~~~~~
> 
> ################################################################################
> # Mailing Lists :
> 
> alias abc-users abcusers@argyll.wisemagic.com
> lists abcusers@argyll.wisemagic.com
> 
> alias bind-user bind-user@isc.org
> lists bind-user@isc.org
> 
> alias debian-bts submit@bugs.debian.org
> 
> alias debian-devel debian-devel@lists.debian.org
> lists debian-devel@lists.debian.org
> 
> 
But if I'm in a mailbox that's from a mailing list, and I hit 'L' I get "No mailing lists
defined"

BTW, I'm still unclear on the difference between "lists" and "subscribe", and I can have
multiple "lists" entries, right?


-- 
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
						-- Benjamin Franklin



Reply to: