#!/bin/sh # # edit this file to reflect your list archive directory name # cd $HOME # mhonarc in-coming mail messages /usr/local/bin/mhonarc -add -quiet -umask 022 -outdir $HOME/public_html/listname/ -rcfile $HOME/.mhonarc.listname # update text listing of messages rm $HOME/public_html/listname/scan.txt /usr/local/bin/mhonarc -scan -outdir $HOME/public_html/listname/ >$HOME/public_html/listname/scan.txt chmod a+rx $HOME/public_html/listname/scan.txt