18 Feb
2017
18 Feb
'17
12:42 a.m.
On 17 February 2017, at 08:24, Ben ben+dovecot@list-subs.com wrote:
Hi,
I have copied accross a known-good sieve file from a working server and its not filtering. Everything just gets chucked into INBOX.
What I did when encountering a similar issue was to take one of the messages from INBOX that should have been moved elsewhere and use sieve-test on it:
sieve-test -Tlevel=matching <sieve source file> <message file>
That generates a lot of output as it goes through every line of the sieve file and shows the actual values that are used for the tests. However, it pointed out my problem quite clearly.