Sieve not filtering

Doug Hardie doug at mail.sermon-archive.info
Fri Feb 17 22:42:22 UTC 2017


> On 17 February 2017, at 08:24, Ben <ben+dovecot at 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.



More information about the dovecot mailing list