Once upon a time, Chris Adams <[email protected]> said:
> Okay, digging some more, it looks like something in sieve is overwriting
> the wrong thing when it gets messages with some headers (at least From:
> and Subject:) repeated. I enabled the vnd.dovecot.debug sieve plugin,
> and used this sieve script:
And I guess something is re-parsing them at some point? The following
sieve script has the problem:
# compile with "sievec /etc/dovecot/default.sieve"
require "fileinto";
if header :contains "X-Spam-Flag" "YES" {
fileinto "Spam";
}
Doubling up the test makes it work however:
# compile with "sievec /etc/dovecot/default.sieve"
require "fileinto";
if header :contains "X-Spam-Flag" "YES" {
fileinto "Spam";
}
if header :contains "X-Spam-Flag" "YES" {
fileinto "Spam";
}
???
--
Chris Adams <[email protected]>