Hello,
I'm having some mistake in this rcfile. I'm get from sendmail:
----- The following addresses had permanent fatal errors -----
"|/usr/local/bin/procmail -m LIST='montana' EXTRA='' /etc/mail/procmailrc.lists"
(expanded from: montana(_at_)natur(_dot_)cuni(_dot_)cz)
----- Transcript of session follows -----
procmail: [14160] Thu Oct 7 13:08:38 1999
procmail: Assigning "PMSRC=/etc/procmail"
procmail: Assigning
"PATH=/etc/procmail:/usr/bin:/usr/local/bin:/bin:/usr/sbin:/usr/local/sbin:"
procmail: Assigning "SHELL=/bin/sh"
procmail: Assigning "LOGFILE=/usr/majordomo/majordomo-procmail.log"
procmail: Opening "/usr/majordomo/majordomo-procmail.log"
550 "|/usr/local/bin/procmail -m LIST='montana' EXTRA=''
/etc/mail/procmailrc.lists"... Can't create output
[ Part 2: "Delivery Status" ]
Reporting-MTA: dns; prfdec.natur.cuni.cz
Arrival-Date: Thu, 7 Oct 1999 13:08:05 +0200 (MET DST)
Final-Recipient: RFC822; montana(_at_)natur(_dot_)cuni(_dot_)cz
X-Actual-Recipient: RFC822; |/usr/local/bin/procmail -m LIST='montana' EXTRA=''
/etc/mail/procmailrc(_dot_)lists(_at_)prfdec(_dot_)natur(_dot_)cuni(_dot_)cz
Action: failed
Status: 5.3.0
Last-Attempt-Date: Thu, 7 Oct 1999 13:08:38 +0200 (MET DST)
Here's the recipe. Originally I thought it will work with the part which is
now commented out,
but it didn't. In log I've ead, that Folder was" *Bounced*.
Unfortunately even those two last :0 recipes don't work.
What's wrong?
LOGABSTRACT=all
VERBOSE=yes
PMSRC=/etc/procmail
PATH=/etc/procmail:/usr/bin:/usr/local/bin:/bin:/usr/sbin:/usr/local/sbin:
SHELL=/bin/sh
LOGFILE=/usr/majordomo/majordomo-procmail.log
INCLUDERC=/etc/procmail/pm-jamime-kill.rc
:0c:
* ^X-Loop*
/usr/majordomo/rejected-mails.txt
# :0
# * ! ^X-Loop*
# * ! ^FROM_DAEMON*
# | sed 's/\(>From\)/\\From/' | ( $FORMAIL -b -t -Y -A "X-Loop: This message
was already sent to list" | /usr/majordomo/wrapper resend -l $LIST
$LIST-outgoing-*-*-*,$EXTRA )
#
#
:0 fhiw
| $FORMAIL -b -r -t -Y -A "X-Loop: This message was already sent to list"
:0
* ! ^X-Loop*
* ! ^FROM_DAEMON*
| /usr/majordomo/wrapper resend -l $LIST $LIST-outgoing-*-*-*,$EXTRA
TIA
--
Martin Mokrejs - PGP 5.0i key at: finger://mail.natur.cuni.cz/mmokrejs
<mmokrejs(_at_)natur(_dot_)cuni(_dot_)cz> Faculty of Science, The Charles
University