[Dovecot] Combining ManageSieve with hand-written scripts
fakessh
fakessh at fakessh.eu
Mon Aug 30 20:47:48 EEST 2010
On Mon, 30 Aug 2010 13:15:43 -0400, Jason Bleazard
<jason.dovecot at bleazard.net> wrote:
> Hi, new to Dovecot, forgive me if I'm missing something basic...
>
> I'm trying to figure out if there's a way to use a couple of custom rules
> alongside ManageSieve. Most of the time I like the ManageSieve interface
> in Roundcube, but there's one rule that I can't get it to do the way I want
> (it's a notify rule, and I don't like the way Roundcube constructs the
> notify). I figured out how to write it by hand, but of course I can't put
> my own rules in Roundcube's file or it gets really confused. I tried
> adding an include to the generated file, but Roundcube politely removes it
> for me the next time I use the rule editor. (Squirrelmail doesn't seem to
> be any better in this regard.)
>
> I thought I could do something like
> sieve_before = ~/sieve/custom.sieve
>
my installation support sieve_before scripting
quote part of dovecot -n
plugin {
plugin = autocreate managesieve sieve
sieve = ~/.dovecot.sieve
sieve_before = /var/sieve-scripts/roundcube.sieve
sieve_dir = ~/sieve
sieve_global_path = whatever
}
> but that doesn't seem to work. I couldn't even see any evidence in the
> log that it attempted to look at that file. Apparently sieve_before isn't
> meant to work on a per-user basis.
>
> If I do a global sieve_before, can I have it "include :personal"? If so,
> what's going to happen with the script compilation? From what I
> understand, it can't be compiled globally, since each user has a different
> custom rule set.
>
> Am I trying to do the impossible here?
>
> Thanks for any ideas,
> Jason Bleazard
More information about the dovecot
mailing list