Phil and others:
My autoresponder still isn't working. It says that it is executing
formail, but I am not receiving forwarded Mail. The mailing ID to
receive the mail is pblgroup(_at_)ix(_dot_)netcom(_dot_)com(_dot_) Is that too
similar to
blgroup(_at_)netcom(_dot_)com for X-Loop? What is the best Precedence to use if
you
want something to go fast. Arrive in a couple of minutes not hours later.
The receipes in the procmailrc are as follows:
ID's are caught in msgid.cache to prevent duplicate messages. It is
currently a directory. Formail couldn't write to it. Why?
If mail comes in from an account with ID beginning with KXNK94 forward
it to pblgroup(_at_)ix(_dot_)netcom(_dot_)com(_dot_) It doesn't forward or
match. Why?
If mail comes in from the procmail list forward that to
pblgroup(_at_)ix(_dot_)netcom(_dot_)com(_dot_)
Otherwise we send the autorespond file back to the message writer
provided that the message didn't come from blgroup(_at_)netcom(_dot_)com or a
mailing list.
I am using procmail version 2.92.
Here is the .procmailrc file
VERBOSE=on
LOGFILE=/$HOME/LOG
MAILDIR=/$HOME/Mail
PATH=$PATH:/usr/local/bin
:0 Wh: msgid.lock
| formail -D 8192 msgid.cache
:0
* ^FromKXNK94
| formail pblgroup(_at_)ix(_dot_)netcom(_dot_)com
:0
* ^TOprocmail
| formail pblgroup(_at_)ix(_dot_)netcom(_dot_)com
:0 Whc
* ^TOblgroup(_at_)netcom(_dot_)com
* !^X-Loop: blgroup(_at_)netcom(_dot_)com
* !^FROM_DAEMON
| (formail -r \
-A"X-Loop: blgroup(_at_)netcom(_dot_)com" \
-i"Subject: Autoreply from pblgroup(_at_)ix(_dot_)netcom(_dot_)com" ; \
cat /$HOME/.autorespond ; \
echo " "; cat /$HOME/.sig \
) | $SENDMAIL -oi -t
Here is the Log file for two attempts:
This first was from prodigy testing KXNK94 forwarding nothing every
showed up anywhere.
procmail: No match on "^FromKXNK94"
procmail: No match on
"(^((Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently)-To):(.*[^a-zA-Z])?)procmail"
procmail: Match on
"(^((Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently)-To):(.*[^a-zA-Z])?)blgroup(_at_)netcom(_dot_)com"
procmail: Match on ! "^X-Loop: blgroup(_at_)netcom(_dot_)com"
procmail: Match on !
"(^(Precedence:.*(junk|bulk|list)|(((Resent-)?(From|Sender)|X-Envelope-From):|From
)((_dot_)*[^(_dot_)%(_at_)a-z0-9])?(Post(ma?(st(e?r)?|n)|office)|Mail(er)?|daemon|mmdf|root|uucp|LISTSERV|owner|request|bounce|serv(ices?|er))([^.!:a-z0-9]|$)))"
procmail: Executing " (formail -r \
From KXNK94A(_at_)prodigy(_dot_)com Sun Apr 28 14:35:11 1996
Subject: Prodigy try
The second here tested out msgid.cache and receiving the autoresponse file.
procmail: Assigning "MAILDIR=//u13/blgroup/Mail"
procmail: Assigning "PATH=/u13/blgroup/bin:/bin:/usr/bin:/usr/local/bin"
procmail: Locking "msgid.lock"
procmail: Executing "formail,-D,8192,msgid.cache"
Usage: formail [+nn] [-nn] [-bfrktnedq] [-m nn] [-xaiI field] [-s prog arg ...]
procmail: Error while writing to "formail"
procmail: Program failure (64) of "formail"
procmail: Assigning "LASTFOLDER=formail -D 8192 msgid.cache"
procmail: Unlocking "msgid.lock"
procmail: No match on "^FromKXNK94"
procmail: No match on
"(^((Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently)-To):(.*[^a-zA-Z])?)procmail"
procmail: Match on
"(^((Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently)-To):(.*[^a-zA-Z])?)blgroup(_at_)netcom(_dot_)com"
procmail: Match on ! "^X-Loop: blgroup(_at_)netcom(_dot_)com"
procmail: Match on !
"(^(Precedence:.*(junk|bulk|list)|(((Resent-)?(From|Sender)|X-Envelope-From):|From
)((_dot_)*[^(_dot_)%(_at_)a-z0-9])?(Post(ma?(st(e?r)?|n)|office)|Mail(er)?|daemon|mmdf|root|uucp|LISTSERV|owner|request|bounce|serv(ices?|er))([^.!:a-z0-9]|$)))"
procmail: Executing " (formail -r \
-A"X-Loop: blgroup(_at_)netcom(_dot_)com" \
-i"Subject: Autoreply from pblgroup(_at_)ix(_dot_)netcom(_dot_)com" ; \
cat /$HOME/.autorespond ; \
echo " "; cat /$HOME/.sig \
) | $SENDMAIL -oi -t"
Usage: formail [+nn] [-nn] [-bfrktnedq] [-m nn] [-xaiI field] [-s prog arg ...]
procmail: [4507] Sun Apr 28 15:06:20 1996
procmail: Assigning "LASTFOLDER= (formail -r \
-A"X-Loop: blgroup(_at_)netcom(_dot_)com" \
-i"Subject: Autoreply from pblgroup(_at_)ix(_dot_)netcom(_dot_)com" ; \
cat /$HOME/.autorespond ; \
echo " "; cat /$HOME/.sig \
) | $SENDMAIL -oi -t"
procmail: Assigning "LOCKFILE=/u13/blgroup/.mailbox/inbox.lock"
procmail: Locking "/u13/blgroup/.mailbox/inbox.lock"
procmail: Assigning "LASTFOLDER=/u13/blgroup/.mailbox/inbox"
procmail: Opening "/u13/blgroup/.mailbox/inbox"
From pblgroup(_at_)ix(_dot_)netcom(_dot_)com Sun Apr 28 15:06:19 1996