hi:
I am at a deadend as to how to get this working ....
ahve followed ..what I believe to be correct :)
it now finds the file
but makes message header called name and puts it in same directory as the
file
:0
* ^Subject: send file [0-9a-z]
* !^X-Loop: darleen(_at_)darleen(_dot_)com
* !^Subject:.*Re:
* !^FROM_DAEMON
* !^Subject: send file .*[/.]\.
{
MAILDIR=$HOME/mail # chdir to the fileserver
directory
:0 fhw # reverse mailheader and extract
name
* ^Subject: send file \/[^ ]*
| formail -rA "X-Loop: darleen(_at_)darleen(_dot_)com"
FILE="$MATCH" # the requested filename
:0 ah
| cat - ./$FILE 2>&1 | $SENDMAIL -oi -t
}
here is the log file:
procmail: No match on "^Subject:.*test"
procmail: Assigning "INCLUDERC=/home/darleen/.procmail/rc.maillists"
procmail: Couldn't read "/home/darleen/.procmail/rc.maillists"
procmail: Assigning "SHELL=/bin/sh"
procmail: Match on ! "^From +darleen"
procmail: Match on ! "^Subject:.*Re:"
procmail: Match on !
"(^(Precedence:.*(junk|bulk|list)|(((Resent-)?(From|Sender)|X-Envelope-From)
:|>?From
)(.*[^((_dot_)%(_at_)a-z0-9])?(Post(ma?(st(e?r)?|n)|office)|(send)?Mail(er)?|daemon|mmd
f|root|n?uucp|smtp|response|LISTSERV|owner|request|bounce|serv(ices?|er)|Adm
in(istrator)?)([^).!:a-z0-9].*)?$[^>]))"
procmail: No match on "^Subject:.*retrieve"
procmail: Match on "^Subject: send file [0-9a-z]"
procmail: Match on ! "^X-Loop: darleen(_at_)darleen(_dot_)com"
procmail: Match on ! "^Subject:.*Re:"
procmail: Match on !
"(^(Precedence:.*(junk|bulk|list)|(((Resent-)?(From|Sender)|X-Envelope-From)
:|>?From
)(.*[^((_dot_)%(_at_)a-z0-9])?(Post(ma?(st(e?r)?|n)|office)|(send)?Mail(er)?|daemon|mmd
f|root|n?uucp|smtp|response|LISTSERV|owner|request|bounce|serv(ices?|er)|Adm
in(istrator)?)([^).!:a-z0-9].*)?$[^>]))"
procmail: Match on ! "^Subject: send file .*[/.]\."
procmail: Assigning "MAILDIR=/home/darleen/mail"
procmail: Assigning "directory"
procmail: Extraneous filter-flag ignored
procmail: Assigning "LASTFOLDER=name"
procmail: Opening "name"
procmail: Acquiring kernel-lock
From mrp(_at_)lightning(_dot_)mgl(_dot_)ca Sat Feb 15 06:39:25 1997
Subject: send file login.cmd
Folder: name
procmail: Notified comsat: "darleen(_at_)1118:/home/darleen/mail/name"
what am I doing wrong????
thanks for any assistance
regards,
darleen
********************************************************
Internet/Intranet Help ---- NOW!
http://www.darleen.com
mailto:mail(_at_)darleen(_dot_)com
***********************************************************