Re: [hypermail] Monthly archiving of incoming mails

From: Daniel Stenberg <>
Date: Tue, 20 Feb 2001 00:09:22 +0100 (MET)
Message-ID: <>

On Mon, 19 Feb 2001, Peter C. McCluskey wrote:

> I suspect that a solution that builds on SmartList isn't going to be > quite as easy to install as an ideal solution would be.

For the sake of discussion and comparison, I'll paste my tiny script that I pipe incoming mails into (using procmail to prevent simultaneous accesses).

This works for low-volume lists. Use it at your own risk.

# setup paths to the two binaries I need

# directory where the magic takes place in

# year and month right now

month=`$date +"%Y-%m"`

# get file (mbox) name


# output directory name


# pipe input to the file (generated mbox)
cat >> $file

# change to the target directory (where the config and stuff is)
cd $dir

# run hypermail on the newly appended mailbox
$hyper -m $file -d $outdir -c config -l "mailing list" --- stop ---

      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 Tue 20 Feb 2001 01:14:23 AM GMT

This archive was generated by hypermail 2.3.0 : Sat 13 Mar 2010 03:46:12 AM GMT GMT