Re: [hypermail] hypermail and majordomo

From: Erik Peterson <>
Date: Wed, 28 Nov 2001 08:23:42 -0500
Message-ID: <>

I run a large number of Majordomo lists with Hypermail archives. It works really well, and is so far the only thing that I use Hypermail for...

The typical entry in aliases.majordomo would be something like:

testlist: "| /usr/local/majordomo/wrapper resend -l testlist -h testlist-outgoMr993, nobody"

testlist-owner:         owner-testlist
testlist-outgoMr993:      :include:/usr/local/majordomo/lists/testlist,
testlist-hm:          "| /usr/local/bin/hypermail -i -u -c

The last two entries really are the only important ones for your question. There is a mail alias for "testlist-hm" which simply takes the message when it goes out to the list and drops it into hypermail at the same time. You can also subscribe the "" to the list, but that screws up subscriber counts, etc.

The key parameters are "-i" which means grab the message from standard input and the -u which means update the archive instead of recreating it.

I also wrote a little sed filter which strips off the [listname] subject prefix which many of my lists have. This seems to make the website a little cleaner, since (unlike your inbox), the archive is only about one list...

in a file named ".filt"


Then my testlist-hm alias becomes:

testlist-hm: "|sed -f /path/to/.filt | /usr/local/bin/hypermail -i -u -c /path/to/website/hypermail/testlist/.hmrc"

I can use the same .filt file for all of my lists with subject prefixes that are in the form: "subject_prefix = [$LIST] " (although it would also strip out [other words] in the middle of the Subject if they were in brackets, but so far that hasn't come up.)

Hope that is somewhat helpful.


Erik Peterson
Education Development Center, Inc.
"Promoting Human Development Through Education Since 1958"

                    Daniel Stenberg                                                                                      
                    <>           To:     Mike Hamende <>                           
                    Sent by:                   cc:                                     
                    owner-hypermail_at_lan        Subject:     Re: [hypermail] hypermail and majordomo                      
                    11/28/2001 04:00 AM                                                                                  
                    Please respond to                                                                                    
                    Daniel Stenberg                                                                                      

On Tue, 27 Nov 2001, Mike Hamende wrote:

> Is there a dufus HOWTO for getting hypermail and majordomo to play
> together? Thanks.
I've never seen one. I usually have one 'maildump' account that has a .forward to run hypermail properly, and then I add maildump in the "list-outgoing" alias. -- Daniel Stenberg - - +46-705-44 31 77 ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
Received on Wed 28 Nov 2001 03:32:39 PM GMT

This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:54 PM GMT GMT