: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
}
killfile.log:
procmail: Assigning "LASTFOLDER= cat - ./$FILE 2>&1 | $SENDMAIL -oi -t"
Subject: Re: send file resume.txt
Folder: cat - ./$FILE 2>&1 | $SENDMAIL -oi
-t 203
procmail: Notified comsat: "poohba@: cat - ./$FILE 2>&1 | $SENDMAIL -oi
-t"
procmail: Executing " cat - ./$FILE 2>&1 | $SENDMAIL -oi -t"
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail