6 May
2007
6 May
'07
4:52 p.m.
Hello everyone,
I'm using Dovecot (v1.0.beta3-3ubuntu5.4 under Ubuntu) with postfix and LDA with virtual users. Everything is working fine.
To filter mails I use the Dovecot Sieve feature. But I get some strange error for one simple Sieve script:
require "fileinto";
if header :contains ["to", "Cc", "Bcc"] ["freewrt-users@freewrt.org"] { fileinto "Mailinglists.FreeWRT"; stop; }
elseif header :contains ["to", "Cc", "Bcc"] ["getmail@discworld.dnsalias.org"] { fileinto "Mailinglists.getmail"; stop; }
This is the error I get in mail.log:
May 6 15:47:08 gehirnschnecke deliver: sieve parse error for matthias@adminlife.net: line 8: syntax error, unexpected IF, expecting '{'
After studying sieve.info my sieve script should be correct. What could be wrong here?
Thanks & best regards Matthias