[Dovecot] Autocreation of sieve filters
Hello,
Is there any way to create a predefined sieve filters during mailbox
autocreation?
What I want is that my user's mailboxes are automatically created
(using mailbox option in namespaces) but I want them to have a predefined sieve script.
Using a postlogin script could be an idea, but I'd prefer an automatic
one, because postlogin only will filter after first user login
-- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868887590 Fax: 868888337
El 14/11/13 14:27, Angel L. Mateo escribió:
Hello,
Is there any way to create a predefined sieve filters during
mailbox autocreation?
What I want is that my user's mailboxes are automatically created
(using mailbox option in namespaces) but I want them to have a predefined sieve script.
Using a postlogin script could be an idea, but I'd prefer an
automatic one, because postlogin only will filter after first user login
Autoanswer to myself: Use the sieve_default option of sieve plugin.
-- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868887590 Fax: 868888337
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am 14.11.2013 14:35, schrieb Angel L. Mateo:
El 14/11/13 14:27, Angel L. Mateo escribió:
Hello,
Is there any way to create a predefined sieve filters during mailbox autocreation?
What I want is that my user's mailboxes are automatically created (using mailbox option in namespaces) but I want them to have a predefined sieve script.
Using a postlogin script could be an idea, but I'd prefer an automatic one, because postlogin only will filter after first user login
Autoanswer to myself: Use the sieve_default option of sieve plugin.
yep looks fine wow , i should inform myself better *g
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, Axel von der Ohe, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJShNJ3AAoJEP8jBObu0LlEPqcIAJ1qJ4QJ6UOsHJ4CtVptqKO7 nq9GxO52gJJiHwCzR+nEXte9kpLv2HGwR+C/EPeqrv2tK0an53V22KmOf97tj/uO MJt+1AeLwIx7BOxIY2Xfti7Z2kqAZAbB1P2GQwFjd3s252M+8DYpxt4s4U0zN4Js VWut0d2lBw4Cl9QIxPP0RYYA1MC+TrTvP/IPgys6h1LHntD7m4FTPP9HxNG9NRqv HP/xXjAVYBKe1gTnXeOFw132cG5Vf83xqycQXw7lpXUFr2iMof6vI8GJ/4zvvmEG 2YFPWdynih6JnFltr2a2m6m/HIurnvT6T5D7FPfFeSWa8P7zKOcD5g1G+Fril0g= =dqkN -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am 14.11.2013 14:27, schrieb Angel L. Mateo:
Hello,
Is there any way to create a predefined sieve filters during mailbox autocreation?
What I want is that my user's mailboxes are automatically created (using mailbox option in namespaces) but I want them to have a predefined sieve script.
Using a postlogin script could be an idea, but I'd prefer an automatic one, because postlogin only will filter after first user login
you could use global sieve scripts
http://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration
and / or if you use something like postfixadmin it has some scripting do execute some bash script after creation of a mailbox etc, if you want a total auto mech ( i.e your mailboxes are auto created with first mail get in ) you may use the sieve pipe extension to run external progs/scripts but perhaps you might get in a hen/egg problem then...
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, Axel von der Ohe, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJShNHvAAoJEP8jBObu0LlEGUMIAJlSAE0P1f53zqrUbib7a603 0uFTkfXE8lTsIxDiHsgpFwZeTHZBglurH/NbzDs/hREPxVR04xj0h+50mT5GO124 McwJWG1gQ1eImVZrZYQ+j9Ayw8SH5QrmLKvmNnYpAKJelNjh5/jrakJmXM2gmZJu obAtb6DeSVEQvuIBwMRNa/fzD3PjIkXcN733XL4pSOABvIZKN5JEeindMCHeLxR1 BvT4GbAV2pHiPEytJ3NF+hNOIpOma4HPjpfjObevC37n8H/bnt15DRqqx4d+7y6a 8ulQ9MgGbXtTIr+efWL+d1kg2kIRJ8GprCvEz24ViSBHsMVXu9QJWhM6QSdaGm8= =qIn5 -----END PGP SIGNATURE-----
participants (2)
-
Angel L. Mateo
-
Robert Schetterer