mhonarc-users

[no subject]

1997-02-14 06:22:51
Igor Khmelinskii wrote:
Hi,

I've got into troubles running the new mhonarc beta version.
I am using elm filter activated from the .forward file:

"| /usr/local/bin/filter -o /usr/users/ikhmelin/.filter_errors"

and the filter activates webnewmail, which I borrowed from the previous 
version
on the mhonarc manual:

#! /usr/local/bin/perl

$cmd = "/usr/local/www/local/avisos/bin/mhonarc -add -quiet " .
 "-rcfile /usr/local/www/local/avisos/bin/mhonarc.rc " .
 "-outdir /usr/local/www/local/avisos/mailarchive";
open(M2H, "|$cmd");
print M2H <STDIN>;
close(M2H);

which should in turn activate mhonarc ...
It had worked with the previos alfa version, but is doing exactly nothing 
now.
What is it that I am missing?

What is writen to stdout/err when you try (also check without -quiet)

webnewmail < a_test_message


Achim
P.S. if you listed above the our complete webnewmail script I suggest to
     use instead:

#!/bin/sh

exec /usr/local/www/local/avisos/bin/mhonarc -add -quiet \
        -rcfile /usr/local/www/local/avisos/bin/mhonarc.rc \
        -outdir /usr/local/www/local/avisos/mailarchive 

     Has much less overhead. The only difference would be that exit code
     returned by mhonarc would be returned to the filter program.

     Another note: it's not necessary to specify always the mhonarc.rc
     file.  Mhonarc remembers all option in the .mhonarc.db file.
     Specifying it when you create a new archive or change resources
     is enough.

Thanks for help in advance,
Igor

--
Igor Khmelinskii, Assistant Professor
Universidade do Algarve, UCEH, P-8000 Faro, Portugal
e-mail: ikhmelin(_at_)mozart(_dot_)si(_dot_)ualg(_dot_)pt   URL: 
http://w3.ualg.pt/~ikhmelin
Department URL: http://www.ualg.pt/uceh/quimica/

<Prev in Thread] Current Thread [Next in Thread>
  • [no subject], Igor Khmelinskii
    • [no subject], Achim Bohnet <=