[Dovecot] Optional Sieve includes

Steffen Kaiser skdovecot at smail.inf.fh-bonn-rhein-sieg.de
Wed Feb 27 09:43:44 EET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 27 Feb 2008, Anders wrote:

> Okay, no help for having an optional include. My fallback solution is to

Well, it's all open source, did you look at it? It shouldn't be too hard 
to just ignore the result of include, no?

> create the personal sieves as empty files, but how would I best do that? 
>
> I was thinking about a post-login script, but sieves can run before anybody 
> logs in. Is there a way to wrap the deliver LDA, to have it create these 
> files just as the first mail arrives?

You can do either of them, you can wrap the LDA easily with a bash script 
or a C programm, then exec() the LDA, but this will be done _each_ time a 
mail comes in. I don't like it.

How do you create your users? Would it be possible to add on some script, 
in order to prepare the users on the mail storage server? Or run a cron 
script once an hour to look for new users and create the files.

Bye,

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHxRSwVJMDrex4hCIRAt+1AJ9wKkofOsqwpr41svbR2cx2OPcXZACdEoTZ
fL7GBtB2ya/GDDiIY70fNMw=
=veGC
-----END PGP SIGNATURE-----


More information about the dovecot mailing list