Hi Ger,
sieve_before should be a path to sieve script file, not to a directory. in your configuration, you set sieve_before to /var/lib/dovecot/sieve/before which is a directory.
what you need to do is figure out which sieve script you'd like to execute and its path rather. If you think that default2.sieve is the right script then
set sieve_before to /var/lib/dovecot/sieve/before/default2.sieve
-- Yassine.
On Tuesday, March 21, 2017 12:56 PM, Ger Hooton Scoil Chroí Íosa Blarney <ghooton@scins.ie> wrote:
Hi All, [...]
plugin { [...]
sieve_before = /var/lib/dovecot/sieve/before .................................
In /var/lib/dovecot/sieve/before I have :
drwxrwxrwx 3 mail mail 4096 Mar 20 23:47 ..
-rw-rw-rw- 1 root root 195 Mar 21 09:57 default2.svbin
-rwxrwxrwx 1 mail mail 157 Mar 21 11:12 default2.sieve
default2.sieve is as follows:
require ["fileinto"];
if allof (header :matches "subject" "*JUNK*") {
fileinto "INBOX.Junk";
}