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: Dan Liston <dliston @ netscape . com>
Organization: iPlanet E-Commerce Solutions, A Sun Netscape Alliance
Date: Mon, 18 Dec 2000 12:07:03 -0600
To: Steve Magee <smagee @ arb . ca . gov>
Cc: majordomo-users @ greatcircle . com
References: <3A3AA774.689482C4@arb.ca.gov>

Any/Every command you pipe to from the aliases file requires a link in
the smrsh directory if sendmail has smrsh enabled.  Redhat 6.2 does in
fact have smrsh enabled in sendmail 8.9.3 by default.  I can't remember
if the rpm install for 1.94.5 puts links in /etc/smrsh automatically
for bulk_mailer, but it does put one there for wrapper.  I also add one
for procmail, but I use procmail globally as well as individually.

To answer your question specifically though, all you need to do is put 
a link to formail in /etc/smrsh.  You might as well add one for procmail 
while you are at it.

Dan Liston

Steve Magee wrote:
> 
> I inherited the following...
> 
> RH 5.2
> Majordomo 1-94.4
> Sendmail  8.8.7
> 
> When archiving the postings, we used formail to retain only the From:,
> Subject:
> and the Date: from the e-mail and then archived the note.
> 
> The following is taking from /etc/aliases and works...
> 
> mail-list-archive: "|/usr/bin/formail -k -X From: -X Subject: -X Date:
> |/home
> /majordomo/majordomo-1.94.4/wrapper archive2.pl -f /home/majordomo
> /majordomo-1.94.4/lists/mail-list.archive/mail-list -Y -a"
> 
> Now, I'm upgrading to..
> 
> 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



References:
Indexed By Date Previous: X-Authentication-Warning:
From: "Geanella Marin Ruiz" <gemaa00@mixmail.com>
Next: Re: Approval Required?
From: Dan Liston <dliston@netscape.com>
Indexed By Thread Previous: Re: Piping from formail to wrapper archive2.pl
From: "Steve Magee" <smagee@arb.ca.gov>
Next: Problems...
From: Webmaster <webmaster@allwellco.com>

Google
 
Search Internet Search www.greatcircle.com