[ingo] Error when saving filter
Andreas Moroder
andreas.moroder at sb-brixen.it
Wed Dec 14 15:18:25 UTC 2011
Hello,
when I clock on "Skript" in ingo I see the lines below.
When I try to activate the script I get this error
{45}script errors: line 4: unsupported feature
Can anyone tell me what's the reason and how I can get it to work ?
Thanks
Andreas
# Sieve Filter
2: # Erzeugt von Ingo (http://www.horde.org/ingo/) (December 14,
2011, 4:11 pm)
3:
4: require ["fileinto", "imapflags", "body"];
5:
6: # Spam mit 0
7: if allof ( header :comparator "i;ascii-casemap" :contains "Sender"
"support.spam at siag.it", header :comparator "i;ascii-casemap" :contains
"Subject" ".it (0" ) {
8: fileinto "INBOX.spam-reports";
9: stop;
10: }
11:
12: # openldap1
13: if anyof ( header :comparator "i;ascii-casemap" :contains
"Subject" "openldap-technical Digest", header :comparator
"i;ascii-casemap" :contains "Subject" "Digest di OpenLDAP", header
:comparator "i;ascii-casemap" :contains "Subject" "ldap digest:",
address :all :comparator "i;ascii-casemap" :is "From"
"openldap-request at sys-net.it" ) {
14: fileinto "INBOX.mailing-lists.openldap";
15: stop;
16: }
17:
18: # Thinstation
19: if address :all :comparator "i;ascii-casemap" :contains "From"
"thinstation-general-request at lists.sourceforge.net" {
20: fileinto "INBOX.mailing-lists.andere";
21: stop;
22: }
23:
24: # ocs bugs
25: if anyof ( header :comparator "i;ascii-casemap" :contains
"Subject" "ocsinventory-Bugs", address :all :comparator
"i;ascii-casemap" :contains "To" "ocsinventory-ng.org" ) {
26: fileinto "INBOX.mailing-lists.ocsinventory-ng";
27: stop;
28: }
29:
30: # Benutzerupdates Ascot
31: if anyof ( header :comparator "i;ascii-casemap" :contains
"Subject" "grpzuw.sh", header :comparator "i;ascii-casemap" :contains
"Subject" "mailupdate.sh" ) {
32: fileinto "INBOX.Benutzerberechtigungen";
33: }
34:
35: # Horde Sync
36: if address :all :comparator "i;ascii-casemap" :contains "To"
"sync at lists.horde.org" {
37: fileinto "INBOX.mailing-lists.andere";
38: stop;
39: }
40:
41: # dhcp-users Digest
42: if header :comparator "i;ascii-casemap" :contains "Subject"
"dhcp-users Digest " {
43: fileinto "INBOX.mailing-lists.dhcp";
44: stop;
45: }
46:
47: # opensuse-de at opensuse.org
48: if address :all :comparator "i;ascii-casemap" :contains "To"
"opensuse-de at opensuse.org" {
49: addflag "\\Seen";
50: fileinto "INBOX.mailing-lists.opensuse";
51: removeflag "\\Seen";
52: stop;
53: }
54:
55: # newsletter at devexpress.com
56: if address :all :comparator "i;ascii-casemap" :is "From"
"newsletter at devexpress.com" {
57: redirect "armin.messavilla at sb-brixen.it";
58: stop;
59: }
60:
61: # squid
62: if address :all :comparator "i;ascii-casemap" :contains "To"
"squid-users at squid-cache.org" {
63: fileinto "INBOX.mailing-lists.squid";
64: stop;
65: }
66:
67: # Benutzer-Gruppen
68: if header :comparator "i;ascii-casemap" :contains "Subject"
"/usr/local/ascot" {
69: fileinto "INBOX.Benutzerberechtigungen";
70: stop;
71: }
72:
73: # LAB:Kennr nicht zuordenbar
74: if allof ( address :all :comparator "i;octet" :matches "From"
"LAB_GEN_*", body :comparator "i;octet" :contains "Kennr nicht
zuordenbar" ) {
75: redirect "martin.ogriseg at sb-brixen.it";
76: keep;
77: stop;
78: }
79:
80: # iKIS Timenu Fehlermeldungen
81: if header :comparator "i;ascii-casemap" :contains "Sender"
"timenu" {
82: fileinto "INBOX.Logs.timenu";
83: stop;
84: }
85:
More information about the ingo
mailing list