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:
|
|