Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Mailing list question
- Date: Wed, 5 Aug 2020 16:49:21 +0900
- From: Jim Tittsler <jwt-tlug@example.com>
- Subject: Re: [tlug] Mailing list question
- References: <CABHGxq6ZX-f_XRGgEv4cRTd-LrFNMtxnRx=YG9mKbWjCCv1Hqg@mail.gmail.com>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0
On 2020-08-05 2:09 p.m., Jim Breen wrote:I am trialling MHonArc, which is used to manage the TLUG email archive. I cam make the complete thread and date order pages, but I can't work out the option to give me the month-by-month view as in the page athttp://lists.tlug.jp/ML/index.html Is it a standard MHonArc operation? If so can someone tell me the command-line options to get it?We use a bash script (since at least 2000-08-02 apparently) that gets the YYMM, makes sure that directory exists, and then uses the mhonarc "--outdir $BASEDIR/$DATE" option to add the message there.In part: # make sure the directory exists for this month if [ ! -d $BASEDIR/$DATE ]; then mkdir $BASEDIR/$DATE chmod g+s $BASEDIR/$DATE # make the month appear in the index by removing comment # markers of the form ##2002-10## (formerly update_indexes cron) /bin/sed -i.bak -e "/##$LONGDATE##/D" $BASEDIR/index.html fi # add this message/usr/bin/mhonarc -quiet -spammode -outdir $BASEDIR/$DATE -rcfile /etc/mailman/mhonarc/$LISTDIR.rc -umask 002 -add >/dev/null 2>&1JimP.S. This is in the https://github.com/tlug/lists.tlug.jp repo by the way, which I marked as private just because it contains our server configuration. I can add you to the organization if you wish. Or simply mail you a copy of the ugly script (that I would do differently 20 years later, but hey, it still works. ;-)
- Follow-Ups:
- Re: [tlug] Mailing list question
- From: Jim Breen
- References:
- [tlug] Mailing list question
- From: Jim Breen
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Mailing list question
- Next by Date: Re: [tlug] Mailing list question
- Previous by thread: Re: [tlug] Mailing list question
- Next by thread: Re: [tlug] Mailing list question
- Index(es):