procmail
[Top] [All Lists]

Re: Procmail and MHonArc

1997-12-18 09:38:59
Andreas Sikkema <sikke600(_at_)hio(_dot_)tem(_dot_)nhl(_dot_)nl> writes:
I'm trying to let procmail pipe a message through to MHonArc using the
following recipe:

PERL=/vhe/TEXEL/hi96/sikke600/procmail/perl/Perl5/perl
OUTDIR=/vhe/TEXEL/hi96/sikke600/www-page/Pet-Shop-Boys/Introspective/HTML
MHONARC=/vhe/TEXEL/hi96/sikke600/procmail/mhonarc/mhonarc
:0
* ^Subject:.*Archive.*
| ${PERL} ${MHONARC} -outdir${ArchiveRoot} -add

The resulting log looks like this:
procmail: Assigning "PERL=/vhe/TEXEL/hi96/sikke600/procmail/perl/Perl5/perl"
procmail: Assigning 
"OUTDIR=/vhe/TEXEL/hi96/sikke600/www-page/Pet-Shop-Boys/Introspective/HTML"
procmail: Assigning 
"MHONARC=/vhe/TEXEL/hi96/sikke600/procmail/mhonarc/mhonarc">procmail: Match on 
"^Subject:.*Archive.*"
procmail: Assigning 
"LASTFOLDER=/vhe/TEXEL/hi96/sikke600/procmail/perl/Perl5/perl 
/vhe/TEXEL/hi96/sikke600/procmail/mhonarc/mhonarc -outdir -add"

Note that the "-outdir" argument doesn't have a path attached to it.  Perhaps
you meant to use the OUTDIR variable instead of the ArchiveRoot variable:

        :0
        * ^Subject:.*Archive.*
        | ${PERL} ${MHONARC} -outdir${OUTDIR} -add

Philip Guenther

<Prev in Thread] Current Thread [Next in Thread>