>    I want MhonArc add messages every time I receive a message.
> Automatically.
>    How do I do it?

It's pretty easy ... just pipe the message into mhonarc with the -add
parameter.  Make sure you specify the proper resource file and directory
on the command line.

Here's the script I use ... I have sendmail invoke the script as an 
alias (parm 1 is the list name, base is the root of my archive html
directory, and TODAY is the current year & month) ...

mhonarc -add \
        -quiet \
        -rcfile ~majordom/html/$1.mrc \
        -outdir $BASE/$1/$TODAY \
        -nosaveresources

david

Reply via email to