[Dovecot] Sieve's spamtest always returns 0

Stephan Bosch stephan at rename-it.nl
Sat Dec 28 10:45:14 EET 2013


On 12/28/2013 12:43 AM, martin f. krafft wrote:
> also sprach Stephan Bosch <stephan at rename-it.nl> [2013-12-28 08:31 +1300]:
>> This configuration is incomplete. Your logs should show an error about
>> that. Testing with sieve-test shows:
> Oh, thank you for introducing me to sieve-test, somehow I have
> missed that. Sorry!
>
> And thank you also for your quick reply!
>
> So, as I had suspected in the original message, spamtest seems to
> look at the original message, not the one returned from the
> vnd.dovecot.filter. The regular sieve header match, however, *does*
> consult the filtered output.

You are right. This should fix it (and improves test suite):

http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/f9fd5606b3e7

> So I think that in addition to the clarification about regular vs.
> extended expressions in the docs, this is also a bug in need of
> fixing…

Did that too.

Regards,

Stephan.


More information about the dovecot mailing list