Pipe

From Mailutils

Revision as of 00:03, 19 December 2010 by Gray (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Pipe is a Sieve extension action.

Syntax

  pipe [:envelope] [:header] [:body] <program: string>

The pipe action executes a shell command specified by its argument and pipes the entire message, including its envelope, to its standard input.

Piping only certain parts of the message can be requested by supplying corresponding tagged arguments. For example

  pipe :envelope :body "prog"

will send to prog only envelope and body of each message.

See also

Personal tools