On 09/26/2009 02:01 AM Andreas Ntaflos wrote:
> 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 "f...@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 "f...@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

Your script looks strange for me. I'm simply using:

# sieve script start
redirect "u...@example.com";
keep;
# sieve script end (no conditions)

All emails is forwarded to u...@example.com and will be saved in the inbox.


Regards,
Pascal
-- 
The trapper recommends today: face1e55.0926...@localdomain.org

Reply via email to