procmail
[Top] [All Lists]

Send File Not Working

2001-04-05 19:15:02
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

<Prev in Thread] Current Thread [Next in Thread>