procmail
[Top] [All Lists]

Sendmail and Formail problem

2000-12-15 15:41:51
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 Date: from the e-mail and then archived the note.  This works in
/etc/aliases

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.
Thank you,
Steve Magee


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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