Great Circle Associates Majordomo-Users
(December 2000)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Piping from formail to wrapper archive2.pl
From: "Steve Magee" <smagee @ arb . ca . gov>
Date: Mon, 18 Dec 2000 14:51:46 -0800
To: Sean Porterfield <sporter @ bestdist . com>
Cc: majordomo-users @ GreatCircle . COM
References: <3A3AA774.689482C4@arb.ca.gov> <3A3BDF24.56FC38EB@bestdist.com>

I have tried your suggestion and got the error, "services unavailable".
It worked for the "wrapper" program but not for "formail".  Not knowing
Perl, someone suggested that I move the "formail" function into the
archive2.pl.  So, that's the direction I'm headed for.  Do you know if
there is a Perl script that will do the same as the "formail" function?

Thanks again,
Steve Magee


Sean Porterfield wrote:

> Senmail 8.9.3 uses smrsh (Sendmail restricted shell) to prevent
> unauthorized scripts from being run (search for smrsh in FAQ).  Even
> though you don't get the specific error, this could very well be your
> problem.
>
> Try `ln -s /usr/bin/formail /etc/smrsh/formail` and see if that helps.
>
> Steve Magee wrote:
>
> > RH 6.2
> > Majordomo 1-94.5
> > Sendmail 8.9.3
> >
> > The above entry in /etc/aliases file no longer works.  I get...
> >
> > sh: cannot use | in command
> > 554 "mail-list-archive: (entry above inserted here)"
> > ... Service unavailable
> >
> > If I remove the "/usr/bin/formail (options)" and just go with
> > "|/majordomo...wrapper archive2.pl...", the e-mail is archived
> > without the formail function.
> >
> > Any help is appreciated.
> > Steve Magee




Follow-Ups:
References:
Indexed By Date Previous: From and to in a message
From: "Atilla Kocsis" <atilla@usmall.com>
Next: RE: large list (more than 20,000)
From: Lala Paulino <lala_paulino@yahoo.com>
Indexed By Thread Previous: Re: Piping from formail to wrapper archive2.pl
From: Sean Porterfield <sporter@bestdist.com>
Next: Re: Piping from formail to wrapper archive2.pl
From: Dan Liston <dliston@netscape.com>

Google
 
Search Internet Search www.greatcircle.com