[Dovecot] Autocreation of sieve filters

Robert Schetterer rs at sys4.de
Thu Nov 14 15:36:53 EET 2013


-----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-----


More information about the dovecot mailing list