Got some time tonight to try a few things on our test server and I was able to get it going... all I was missing was the line in the plugin section. For the record I was able to point it to our previous global sieve script, i.e. sieve = /etc/dovecot-sieve/global
Thanks for your help Patrick! Gavin On Tue, 2008-07-08 at 13:40 +0800, Patrick Nagel wrote: > Hi Gavin, > > On Tuesday 08 July 2008, Mailing List wrote: > > Previously (in v1.0) we did not need the plugin section: > > sieve = mailfilter.sieve > > > > Is this now required even when just wanting to use a global sieve > > script? We have ~100 users so manually adding a mailfilter.sieve file to > > each users directory will be very time consuming. > > Of course we created those mailfilter.sieve files automatically with a few > lines of shell script, so it's not that much of a hassle. It also gives the > benefit of being able to easily add user-specific rules. > > But I don't think it is required - having only one global script should work, > according to the documentation. > > > Are we able to input > > the full path name to our global script instead, > > i.e. /etc/dovecot-sieve/global? > > I think we did something like that before, but that may have been with 1.0... > > > I tried using sieve_global_path = /etc/dovecot-sieve/global in the 'lda > > protocol' section but, as stated, the script seems to be ignored. The > > local delivery agent is working but everything gets delivered to the > > users inbox instead of being filtered. > > According to the Wiki (http://wiki.dovecot.org/LDA/Sieve) this should indeed > work. Did you check deliver's log - nothing interesting in there? Are you > sure the sieve script works? Maybe some syntax changed, and the version 1.1 > interpreter fails? You can check with sievec if the script (still) compiles > correctly. > > Patrick. >