sieve_extprograms - run any individual script?

Robert Schetterer
Mon, 21 Sep 2015 17:20:14 -0000

Am 21.09.2015 um 14:34 schrieb Hajo Locke:
> Hello,
>
> i use sieve extension sieve_extprograms to send incoming mail to some
> script.
> For security reasons it is needed that script-paths etc. are registered
> in dovecot.conf
> This is my current dovecot.conf
>
> plugin {
>   sieve = ~/.dovecot.sieve
>   sieve_plugins = sieve_extprograms
>   sieve_extensions = +vnd.dovecot.pipe +vnd.dovecot.filter
> +vnd.dovecot.execute
>   sieve_pipe_bin_dir = /usr/local/bin/
>   sieve_filter_bin_dir = /usr/local/bin/
> }
>
> .dovecot.sieve example:
>
> if address "to" "test at example.com"
> {
>         filter "myfilter";
> }
>
> This is all working without problems.
>
> Is there a possibility to allow users the execution of individual
> scripts in own homepath? Some people need to pipe mails to scripts for
> immediately processing (some ticketsystems need this).
> Is there a way to make this possible with sieve?
>
> Thanks,
> Hajo

perhaps includes help

http://tools.ietf.org/html/rfc6609




Best Regards
MfG Robert Schetterer

--
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstra?e 15, 81669 M?nchen

Sitz der Gesellschaft: M?nchen, Amtsgericht M?nchen: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein