[Dovecot] strange regex sieve filter error
Hi all,
ok, I'm getting an error produced by the following sieve file :
require ["fileinto","copy"]; # rule:[SPAM-TAG] if allof ( header :regex "Subject" "^\\[SPAM-TAG\\]") { fileinto "SPAM-TAG"; stop; }
and I'm getting the following error in the dovecot delivery log :
main_script: line 3: error: unknown tagged argument ':regex' for the header test (reported only once at first occurence). main_script: error: validation failed.
But I looked up the syntax, and tried to figure out why this is getting the error. I guess I just don't quite know what this error means...
I know that the value that it is trying to match is kind of strange, but it is a regular expression, so it should work...
Thanks,
Tim.
On 18.06.2010 10:00, Tim Traver wrote:
require ["fileinto","copy"]; # rule:[SPAM-TAG] if allof ( header :regex "Subject" "^\\[SPAM-TAG\\]") { fileinto "SPAM-TAG"; stop; }
main_script: line 3: error: unknown tagged argument ':regex' for the header test (reported only once at first occurence). main_script: error: validation failed.
require ["fileinto","regex"];
-- Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252 LAN Management System Developer http://lms.org.pl Roundcube Webmail Developer http://roundcube.net
On 6/18/2010 1:14 AM, A.L.E.C wrote:
On 18.06.2010 10:00, Tim Traver wrote:
require ["fileinto","copy"]; # rule:[SPAM-TAG] if allof ( header :regex "Subject" "^\\[SPAM-TAG\\]") { fileinto "SPAM-TAG"; stop; }
main_script: line 3: error: unknown tagged argument ':regex' for the header test (reported only once at first occurence). main_script: error: validation failed.
require ["fileinto","regex"];
oh man...that was a lame one...sorry about that guys...
it was late...
Thanks,
Tim.
participants (2)
-
A.L.E.C
-
Tim Traver