[Dovecot] Sieve: redirect and keep action, possible bug

Andreas Ntaflos daff at dword.org
Sat Sep 26 03:01:08 EEST 2009


Hi,

Using Dovecot 1.2.4 and the new Sieve implementation in version 0.1.12, 
I ran into a problem that could indicate a bug in Sieve.

The following is a simple script (as generated by Horde's Ingo 
application) to redirect incoming mail and also keep a copy of the 
message in the local inbox:

if true {
    redirect "foo at example.org";
}

if true {
    keep;
    stop;
}

Problem is, it doesn't work as expected: no copy of the message is kept 
in the local inbox. However, if I explicitly tell Sieve to "fileinto" it 
works fine:

require ["fileinto"];

if true {
    redirect "foo at example.org";
}

if true {
    fileinto "INBOX";
    stop;
}

Is this a bug in Sieve or am I wrong about how "keep" works? 

Thanks in advance!

Andreas
-- 
Andreas Ntaflos 
Vienna, Austria 

GPG Fingerprint: 6234 2E8E 5C81 C6CB E5EC  7E65 397C E2A8 090C A9B4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://dovecot.org/pipermail/dovecot/attachments/20090926/736e5c82/attachment.bin 


More information about the dovecot mailing list