Re: [Dovecot] Optional Sieve includes

2008-02-27 Thread Timo Sirainen
On Wed, 2008-02-27 at 20:32 +0100, Anders wrote: > Steffen Kaiser wrote: > > 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? > > > > Yeah, I did look. > > I sure could patch something together. Before doing that, though, I

Re: [Dovecot] Optional Sieve includes

2008-02-27 Thread Anders
Steffen Kaiser wrote: 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? Yeah, I did look. I sure could patch something together. Before doing that, though, I hoped to be enlightened with an official way, so I would not have t

Re: [Dovecot] Optional Sieve includes

2008-02-26 Thread Steffen Kaiser
-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 s

Re: [Dovecot] Optional Sieve includes

2008-02-26 Thread Anders
Anders wrote: I (think that I) want a global Sieve setup like this: require ["include"]; include :global "spam.sieve"; include :personal "folders.sieve"; include :personal "vacation.sieve"; Okay, no help for having an optional include. My fallback solution is to create the personal s

[Dovecot] Optional Sieve includes

2008-02-25 Thread Anders
I (think that I) want a global Sieve setup like this: require ["include"]; include :global "spam.sieve"; include :personal "folders.sieve"; include :personal "vacation.sieve"; ... that does not fail if a user has not created the personal filters. Any ideas how to do something like that?