Re: Trouble with MHonArc archiving robot and NTMail

1998-01-09 14:17:35
However, MHonArc will not archive a piped message from standard input
it gets as far as creating a mhonarc.lck folder in the output
but does not archive the message. SMTP does not hang, no closesocket   
errors occur, and other members of the test list receive the message.
command line I've entered for the robot is:
perl mhonarc -add -msgsep "^.$" -outdir <archive.dir> -- -

The syntax

     perl mhonarc -add -outdir archive.dir -- -

Earl>Actually, for a single message, the "-- -" part should be eliminated.
If not, mhonarc treats stdin as a source of a mailbox (which can
contain separate message and the MSGSEP resource is applicable).

That is very likely the problem.

Should -single be used as in:

    perl mhonarc -add -outdir archive.dir -single


-- SP