Hi,
I am unable to send requested files back to a user. Here is
my .procmailrc:
#Set on when debugging
VERBOSE=on
# Replace `mail' with your mail directory (Pine uses mail, Elm uses Mail)
MAILDIR=$HOME/ivpr
# Directory for storing procmail log and rc files
PMDIR=$HOME/.procmail
LOGFILE=$PMDIR/log
# recipe to avoid mail loops
:0
* ^Subject: get catalog
* !^X-Loop: speedyg(_at_)world(_dot_)std(_dot_)com
* !^Subject:.*Re:
* !^FROM_DAEMON
* !^Subject: get .*[/.]\.
{
:0 fhw
* ^Subject: get \/[^ ]*
| formail -rA "X-Loop: speedyg(_at_)world(_dot_)std(_dot_)com"
FILE=$MATCH
:0 ah
| cat - $MAILDIR/catalog 2>&1 | $SENDMAIL -oi -t
}
..Excuse the extra whitespace..that's my Comm. prog. The last
line also read:
cat - ./$FILE 2>&1 | $SENDMAIL -oi -t
before I tried to hardcode things to get them working. I am
at a complete loss here. My project is due tomorrow and
I need this to work. Any ideas?
THanks.
Chris