procmail
[Top] [All Lists]

Fileserver not working...

2001-03-30 13:36:18
I cannot get the fileserver 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
}

There is nothing being sent back to the sender.  Please help.

_______________________________________________
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>
  • Fileserver not working..., Poohba <=