I still cannot get the send file to work.
rc.fileserver:
:0
* ^Subject: send file [0-9a-z]
* !^X-Loop: poohba(_at_)poohba(_dot_)adsl(_dot_)duke(_dot_)edu
* !^Subject:.*Re:
* !^FROM_DAEMON
* !^Subject: send file .*[/.]\.
{
MAILDIR=$HOME/fileserver # chdir to the fileserver directory
:0 fhw # reverse mailheader and extract name
* ^Subject: send file \/[^ ]*
| formail -rA "X-Loop: poohba(_at_)poohba(_dot_)adsl(_dot_)duke(_dot_)edu"
FILE="$MATCH" # the requested filename
:0 ah
| cat - ./$FILE 2>&1 | $SENDMAIL -oi -t
}
When mail comes in with that subject nothing gets sent back. Why?
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail