pipe.pl utility script

The pipe.pl script provides a way to have POPFile classify messages piped to it by other processes that can then take the classified message and deal with it.

What it does

  • Accepts the raw message text (you should include headers) on STDIN
  • Classifies the message and inserts the POPFile X-Text-Classification and/or performs Subject line modification as configured in POPFile.
  • Emits the now classified message (including new header and modified Subject line) on STDOUT

Usage

programa | perl pipe.pl | programb
 
utilityscripts/pipe.txt · Last modified: 2008/02/08 19:49 (external edit)

Should you find anything in the documentation that is incomplete, unclear, outdated or just plain wrong, please let us know and leave a note in the Documentation Forum.

Recent changes RSS feed Donate Driven by DokuWiki
The content of this wiki is protected by the GNU Fee Documentation License