fwiw, i just set up a quick and dirty list archiver, but i used hypermail
which is similar to MHonarc. this is my setup, it could definately use some
work, but it seems to do the trick ... and fyi i have a month old procmail
list archive for those who care at http://www.parasite.com/procmail/
MONTH=`date +'%m'`
YEAR=`date +'%y'`
:0 c # i also save to an mbox ...
* ^TOprocmail(_at_)informatik(_dot_)rwth-aachen(_dot_)de
| /usr/local/bin/hypermail -iu -l "procmail" -d
/home/josh/public_html/procmail/$MONTH.$YEAR
Said Philip Guenther <guenther(_at_)gac(_dot_)edu> on Thu, Dec 18, 1997 at
10:32:10AM -0600:
Andreas Sikkema <sikke600(_at_)hio(_dot_)tem(_dot_)nhl(_dot_)nl> writes:
I'm trying to let procmail pipe a message through to MHonArc using the
following recipe:
PERL=/vhe/TEXEL/hi96/sikke600/procmail/perl/Perl5/perl
OUTDIR=/vhe/TEXEL/hi96/sikke600/www-page/Pet-Shop-Boys/Introspective/HTML
MHONARC=/vhe/TEXEL/hi96/sikke600/procmail/mhonarc/mhonarc
:0
* ^Subject:.*Archive.*
| ${PERL} ${MHONARC} -outdir${ArchiveRoot} -add
The resulting log looks like this:
procmail: Assigning "PERL=/vhe/TEXEL/hi96/sikke600/procmail/perl/Perl5/perl"
procmail: Assigning
"OUTDIR=/vhe/TEXEL/hi96/sikke600/www-page/Pet-Shop-Boys/Introspective/HTML"
procmail: Assigning
"MHONARC=/vhe/TEXEL/hi96/sikke600/procmail/mhonarc/mhonarc">procmail: Match
on "^Subject:.*Archive.*"
procmail: Assigning
"LASTFOLDER=/vhe/TEXEL/hi96/sikke600/procmail/perl/Perl5/perl
/vhe/TEXEL/hi96/sikke600/procmail/mhonarc/mhonarc -outdir -add"
Note that the "-outdir" argument doesn't have a path attached to it. Perhaps
you meant to use the OUTDIR variable instead of the ArchiveRoot variable:
:0
* ^Subject:.*Archive.*
| ${PERL} ${MHONARC} -outdir${OUTDIR} -add
Philip Guenther
--
josh rotenberg
email: josh(_at_)adj(_dot_)com
josh(_at_)parasite(_dot_)com
web: www.adj.com www.parasite.com
phone: 415 487 4520 x 151 don't call me.
Segmentation fault (core dumped)