procmail
[Top] [All Lists]

Re: procmail help with school project

2001-03-24 16:45:21
Greg Sarsons wants to ...

| get an email with a certain subject
| look for the string command and then execute the command that is after
| it and such as ls -l and return the output in an email.
| 
| I can get procmail to look at the command and cut out the command but I
| can't figure out how to execute it.

 :0fhw
 | formail -rt
  :0bfi
  | eval $command ;

 :0
 ! -t

Just don't come running to us when someone sends you "rm -rf $HOME".

_______________________________________________
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>