From eb6bd11d3d40765b0b8b86048b14cab895818c55 Mon Sep 17 00:00:00 2001 From: Arne Kepp Date: Thu, 11 May 2017 20:40:12 +0200 Subject: [PATCH] Mention sieve-pipe --- docs/content/advanced/mail-sieve.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/content/advanced/mail-sieve.md b/docs/content/advanced/mail-sieve.md index ed13394e..47881280 100644 --- a/docs/content/advanced/mail-sieve.md +++ b/docs/content/advanced/mail-sieve.md @@ -34,6 +34,13 @@ Just forward all incoming emails and do not save them locally: redirect "user2@otherdomain.tld"; ``` +You can also use external programs to filter or pipe (process) messages by adding executable scripts in `config/sieve-pipe` or `config/sieve-filter`. This can be used in lieu of a local alias file, for instance to forward an email to a webservice. These programs can then be referenced by filename, by all users. Note that the process running the scripts run as a privileged user. For further information see [Dovecot's wiki](https://wiki.dovecot.org/Pigeonhole/Sieve/Plugins/Pipe). +``` +require ["vnd.dovecot.pipe"]; +pipe "external-program"; +``` + + For more examples or a detailed description of the Sieve language have a look at [the official site](http://sieve.info/examplescripts). Other resources are available on the internet where you can find several [examples](https://support.tigertech.net/sieve#sieve-example-rules-jmp). ### Manage Sieve