Re: initial setup to add new mail

1999-05-31 17:32:55
On May 28, 1999 at 11:35, Margaret_Greaney wrote:

I am having a problem getting mhonarc to add messages to the archive.
I've read the FAQ's and have been following the list, but have not seen, exce
for a Jan 1998 e-mail, a solution to my problem. I would appreciate any 

The first thing to try is to run the command from the shell to see
if it works.  You also will get any diagnostics from MHonArc which
may help in determining what problems there may be.

Cron example:
# to test update of sdrc_archive

15 22 * * * /usr/local/bin/mhonarc -add /var/spool/mail/sdrc_archive  -outdir

I'm guessing the line-break was introduced by your mailer.

It appears your invocation is incorrect.  Any mail folders should be
put after any option arguments.  Example:

    /usr/local/bin/mhonarc -add -outdir 
/usr/products/SunOS/html/www-oss/fss/testdir/sdrc /var/spool/mail/sdrc_archive

/etc/aliases examples:

#sdrc_archive:"|/usr/local/bin/mhonarc -add -outdir /testdir/sdrc" 

You should -quiet in /etc/aliases.  Again, doing a shell invocation
test will help determine problem.


<Prev in Thread] Current Thread [Next in Thread>
  • Re: initial setup to add new mail, Earl Hood <=