procmail
[Top] [All Lists]

What;s wrong with this autoreply?

1996-03-07 19:41:46
The autoreply recipe at the end of the .procmailrc below is
meant to warn users of my old address (lcrocker(_at_)netcom(_dot_)com)
that I have moved to a new address. The notification
message is in the file $HOME/netcom.msg.  The recipe fails
to run at all, as if the conditions are failing, but I don't
see why.

=== .procmailrc

MAILDIR=$HOME/Mail
PMDIR=$HOME/.procmail
LOGFILE=$PMDIR/log
SENDMAIL=/usr/lib/sendmail

:0 c
backup

:0 ic
| cd backup && rm -f dummy `ls -t msg.* | sed -e 1,32d`

# If 'urgent', send a copy to me at work

:0 c
* (^TOurgent)|^Precedence:.*high|^Subject:.*urgent
! lee(_at_)unify(_dot_)com

:0
* ^FROM_DAEMON
{
        :0:
        * ^TOpng
        png

        :0:
        * ^TOprocmail
        procmail
}

:0 hc
* ^TOnetcom
* !^FROM_DAEMON
* !^X-Loop: lee(_at_)piclab(_dot_)com
| ( formail -r -A"Precedence: junk" -A"X-Loop: lee(_at_)piclab(_dot_)com"; 
touch $HOME/reply.sent; cat $HOME/netcom.msg ) | $SENDMAIL -oi -t

=== Copy of message that failed to match above recipe:

From lcrocker(_at_)calweb(_dot_)com  Thu Mar  7 16:44:36 1996
Return-Path: lcrocker(_at_)calweb(_dot_)com
Received: from web1.calweb.com (root(_at_)web1(_dot_)calweb(_dot_)com 
[165.90.138.10]) by mail.calweb.com (8.7.3/8.7.3) with ESMTP id QAA28675; Thu, 
7 Mar 1996 16:44:27 -0800 (PST)
Received: (from lcrocker(_at_)localhost) by web1.calweb.com (8.7.3/8.7.3) id 
QAA03103; Thu, 7 Mar 1996 16:44:54 -0800 (PST)
Message-Id: <199603080044(_dot_)QAA03103(_at_)web1(_dot_)calweb(_dot_)com>
Subject: test13
To: lcrocker(_at_)calweb(_dot_)com (Lee Daniel Crocker)
Date: Thu, 7 Mar 1996 16:44:54 -0800 (PST)
From: "Lee Daniel Crocker" <lcrocker(_at_)calweb(_dot_)com>
Cc: lcrocker(_at_)netcom(_dot_)com
X-Mailer: ELM [version 2.4 PL25 ME8b]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

test13

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