[Dovecot] sieve - different sieve scripts
Hello everybody,
We have Dovecot 2.1.6 and PigeonHole 0.3.0. Is possible to have two different sieve scripts working at the same time?
My sieve configuration in dovecot.conf:
... managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave imapflags notify ... sieve = %h/.dovecot.sieve sieve_dir = %h/sieve sieve_extensions = +imapflags +notify } protocols = imap pop3 sieve ... service managesieve-login { executable = /usr/local/dovecot/libexec/dovecot/managesieve-login inet_listener sieve { address = * port = 4190 } inet_listener sieve_deprecated { address = * port = 12000 } user = vmail } service managesieve { executable = /usr/local/dovecot/libexec/dovecot/managesieve } ... protocol sieve { managesieve_implementation_string = dovecot Pigeonhole managesieve_logout_format = bytes ( in=%i : out=%o ) managesieve_max_line_length = 65536 }
Thank you very much in advanced. Kind regards.
Héctor Moreno Blanco.
P Please consider the environment before printing this e-mail.
This message including any attachments may contain confidential information, according to our Information Security Management System, and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it.
Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la Informacion siendo para uso exclusivo del destinatario, quedando prohibida su divulgacion copia o distribucion a terceros sin la autorizacion expresa del remitente. Si Vd. ha recibido este mensaje erroneamente, se ruega lo notifique al remitente y proceda a su borrado. Gracias por su colaboracion.
Am 07.05.2014 12:26, schrieb Héctor Moreno Blanco:
We have Dovecot 2.1.6 and PigeonHole 0.3.0. Is possible to have two different sieve scripts working at the same time?
no, independent of the software that is not possible
http://tools.ietf.org/html/rfc5804
1.4. Active Script A user may have multiple Sieve scripts on the server, yet only one script may be used for filtering of incoming messages. This is the active script. Users may have zero or one active script and MUST use the SETACTIVE command described below for changing the active script or disabling Sieve processing. For example, users may have an everyday script they normally use and a special script they use when they go on vacation. Users can change which script is being used without having to download and upload a script stored somewhere else.
On 05/07/2014 12:30 PM, Reindl Harald wrote:
Am 07.05.2014 12:26, schrieb Héctor Moreno Blanco:
We have Dovecot 2.1.6 and PigeonHole 0.3.0. Is possible to have two different sieve scripts working at the same time?
no, independent of the software that is not possible
But you can include many scripts into one (active) script if server supports 'include' extension. -- Aleksander 'A.L.E.C' Machniak LAN Management System Developer [http://lms.org.pl] Roundcube Webmail Developer [http://roundcube.net] --------------------------------------------------- PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl
Am 07.05.2014 12:36, schrieb A.L.E.C:
On 05/07/2014 12:30 PM, Reindl Harald wrote:
Am 07.05.2014 12:26, schrieb Héctor Moreno Blanco:
We have Dovecot 2.1.6 and PigeonHole 0.3.0. Is possible to have two different sieve scripts working at the same time? no, independent of the software that is not possible But you can include many scripts into one (active) script if server supports 'include' extension.
According to http://pigeonhole.dovecot.org/ it is possible to execute multiple scripts. But just one personal script is possible:
The Pigeonhole Sieve implementation supports executing multiple Sieve scripts sequentially. Using this feature it is possible to execute administrator-controlled Sieve scripts before and after the user's personal Sieve script, guaranteeing that responses and message deliveries are never duplicated. This implementation is based on a draft specification (http://tools.ietf.org/html/draft-degener-sieve-multiscript-00), which defines the Sieve behavior when multiple scripts are executed sequentially on the same message.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wed, 7 May 2014, A.L.E.C wrote:
On 05/07/2014 12:30 PM, Reindl Harald wrote:
Am 07.05.2014 12:26, schrieb Héctor Moreno Blanco:
We have Dovecot 2.1.6 and PigeonHole 0.3.0. Is possible to have two different sieve scripts working at the same time?
no, independent of the software that is not possible
But you can include many scripts into one (active) script if server supports 'include' extension.
Depending on how to interprete the question, this might help, too: http://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration Executing Multiple Scripts Sequentially
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBU2oN5Xz1H7kL/d9rAQJmWggAxFRbK3Y3/bTtR8wOrUpfN69yXM6WZT9g yUPgLstj2xo0I/Pt8d5114gtO0+rDJ1YjIJpOjg2xeFFLMnOS8My27fMXzm4Kx32 4R1tPYS1QJyoVTBQrfhSXGX0Irz7i0k7Vux6VITNEpS47C01ZRA3RobyUg3CTN05 BhMLEWSlwMYN3JFuKlEg6EBY3ZxgFnxu2pKF0wGbKvbbKZMsWTScAgGLVZ641zph erLHya9wrS9Ebf6b5KnnlLXhON4970VgYiEP3vn+lFQ0vIeFkiE4KxQ+RRNPlU9V MPVsft9rC87JbfSGfrCzfn2kbYekJsLuFQ8Xwc8moet1ThlZH6lO0Q== =KF2P -----END PGP SIGNATURE-----
Hello everyone,
I think that what Steffan suggests will work ("Executing Multiple Scripts Sequentially"). My case is that two different webmail applications running on the same Dovecot backend save their script with different name. I'm going to give it a try.
Thank you very much. Kind regards.
Héctor Moreno Blanco.
-----Mensaje original----- De: dovecot [mailto:dovecot-bounces@dovecot.org] En nombre de Steffen Kaiser Enviado el: miércoles, 07 de mayo de 2014 12:42 Para: dovecot@dovecot.org Asunto: Re: [Dovecot] sieve - different sieve scripts
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wed, 7 May 2014, A.L.E.C wrote:
On 05/07/2014 12:30 PM, Reindl Harald wrote:
Am 07.05.2014 12:26, schrieb Héctor Moreno Blanco:
We have Dovecot 2.1.6 and PigeonHole 0.3.0. Is possible to have two different sieve scripts working at the same time?
no, independent of the software that is not possible
But you can include many scripts into one (active) script if server supports 'include' extension.
Depending on how to interprete the question, this might help, too: http://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration Executing Multiple Scripts Sequentially
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBU2oN5Xz1H7kL/d9rAQJmWggAxFRbK3Y3/bTtR8wOrUpfN69yXM6WZT9g yUPgLstj2xo0I/Pt8d5114gtO0+rDJ1YjIJpOjg2xeFFLMnOS8My27fMXzm4Kx32 4R1tPYS1QJyoVTBQrfhSXGX0Irz7i0k7Vux6VITNEpS47C01ZRA3RobyUg3CTN05 BhMLEWSlwMYN3JFuKlEg6EBY3ZxgFnxu2pKF0wGbKvbbKZMsWTScAgGLVZ641zph erLHya9wrS9Ebf6b5KnnlLXhON4970VgYiEP3vn+lFQ0vIeFkiE4KxQ+RRNPlU9V MPVsft9rC87JbfSGfrCzfn2kbYekJsLuFQ8Xwc8moet1ThlZH6lO0Q== =KF2P -----END PGP SIGNATURE-----
P Please consider the environment before printing this e-mail.
This message including any attachments may contain confidential information, according to our Information Security Management System, and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it.
Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la Informacion siendo para uso exclusivo del destinatario, quedando prohibida su divulgacion copia o distribucion a terceros sin la autorizacion expresa del remitente. Si Vd. ha recibido este mensaje erroneamente, se ruega lo notifique al remitente y proceda a su borrado. Gracias por su colaboracion.
participants (5)
-
A.L.E.C
-
Héctor Moreno Blanco
-
Reindl Harald
-
Steffen Kaiser
-
T.B.