procmail
[Top] [All Lists]

Re: ProcMail and MHonArc interaction

2001-06-01 14:23:24
                   *** FOR HP INTERNAL USE ONLY ***

pegmgr(_at_)peg(_dot_)com wrote:
Does anyone have any ideas about what I'm doing wrong?
Note that I've already tried it both with and without the trailing -- - .

When I've had similar problems, it's had to do with the setting of
$PATH in the interactive environment vs the procmail environment.  My
suggestion is to modify as follows...
following:

  |  :0 c :
  |   | /usr/local/bin/mhonarc -add -outdir $MAILDIR/web \
  |   -definevar MyListName=DBA \
  |   -rcfile $LIBDIR/main.rc -quiet -- -

   :0hi
   LOG=| echo ======================= path is $PATH; type perl; echo

  |  
  |  :0 : 
  |    archive/latest/.

Compare what appears in the logfile against what you get when you type 
"echo $PATH" at the shell prompt.

btw, what's the value of $SHELL in your procmail script?  You might
want to set it explicitly...

SHELL=/bin/sh

near the top may be helpful.

hth,
collin
-- 
Neither I nor my employer will accept any liability for any problems
or consequential loss caused by relying on this information.  Sorry.
Collin Park                         Not a statement of my employer.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail