[ingo] Fwd: interesting in ingo development

Ilya mail at krel.org
Sun Dec 8 06:30:27 2002


Mike, are you familiar with websieve?
it has its own language behind sieve, which it hashes out
the problem with websieve, that if u edit the script manually , it confuses
websieve. or , i guess, if some other program adds script.

may be keep a copy in mysql, and compare? or smth like that

it looks like this like this (in case u havent seen it):
# Created by Websieve version 0.61i
require ["fileinto"];

if allof (header :contains "subject" "[Exim]") {
     fileinto "INBOX.Software.Exim";
}

elsif allof (header :contains "subject" "[cvs]") {
     fileinto "INBOX.Software.Horde.CVS";
}

elsif allof (header :contains "subject" "[Snort-users]") {
     fileinto "INBOX.Software.Snort";
}

elsif allof (header :contains  "List-Id"
"security-basics.list-id.securityfocus.com") {
     fileinto "INBOX.Security.Basic";
}

elsif allof (header :contains  "List-Id"
"forensics.list-id.securityfocus.com") {
     fileinto "INBOX.Security.Forensic";
}

elsif allof (header :contains "subject" "[imp]") {
     fileinto "INBOX.Software.Horde.IMP";
}

elsif allof (header :contains "subject" "[SunHELP]") {
     fileinto "INBOX.Software.Sun-Help";
}

elsif allof (header :contains "subject" "[horde]") {
     fileinto "INBOX.Software.Horde";
}

elsif allof (header :contains "subject" "[AMaViS-user]") {
     fileinto "INBOX.Software.Amavis";
}
elsif allof (header :contains  "List-Id"
"bugtraq.list-id.securityfocus.com") {
     fileinto "INBOX.Security.BugTraq";
}

elsif allof (header :contains "subject" "[syslog-ng]") {
     fileinto "INBOX.Software.Syslog-NG";
}

elsif allof (header :contains "subject" "[nag]") {
     fileinto "INBOX.Software.Horde.Nag";
}

elsif allof (header :contains  "List-Owner" "owner-ups@lists.exploits.org")
{
     fileinto "INBOX.Software.UPS";
}

elsif allof (header :contains  "List-Id"
"security-basics.list-id.securityfocus.com") {
     fileinto "INBOX.Security.Basic";
}

elsif allof (header :contains "subject" "[Netsaintplug-help]") {
     fileinto "INBOX.Software.NetSaint";
}

elsif allof (header :contains "subject" "[kronolith]") {
     fileinto "INBOX.Software.Horde.Kronolith";
}

elsif allof (header :contains  "Sender"
"owner-cyrus-sasl@lists.andrew.cmu.edu") {
     fileinto "INBOX.Software.Cyrus";
}

elsif allof (header :contains  "Sender" "cyrus@lists.andrew.cmu.edu") {
     fileinto "INBOX.Software.Cyrus";
}

elsif allof (header :contains  "List-Id" "nocrew-httptunnel.nocrew.org") {
     fileinto "INBOX.Software.HttpTunel";
}
elsif allof (header :contains  "List-ID" "freebsd-security.FreeBSD.ORG") {
     fileinto "INBOX.FreeBSD.Security";
}

elsif allof (header :contains  "List-ID" "freebsd-stable.FreeBSD.ORG") {
     fileinto "INBOX.FreeBSD.Stable";
}

elsif allof (header :contains  "List-ID" "freebsd-questions.FreeBSD.ORG") {
     fileinto "INBOX.FreeBSD.Questions";
}

else {
     keep;
}

##PSEUDO script start
#rule&&1&&ENABLED&&&&&&[Exim]&&folder&&INBOX.Software.Exim&&0&&&&&&
#rule&& 3&&ENABLED&&&&&&[cvs]&&folder&&INBOX.Software.Horde.CVS&&0&&&&&&
#rule&& 5&&ENABLED&&&&&&[Snort-users]&&folder&&INBOX.Software.Snort&&0&&&&&&
#rule&&
6&&ENABLED&&&&&&&&folder&&INBOX.Security.Basic&&0&&List-Id&&security-basics.
list-id.securityfocus.com&&
#rule&&
7&&ENABLED&&&&&&&&folder&&INBOX.Security.Forensic&&0&&List-Id&&forensics.lis
t-id.securityfocus.com&&
#rule&& 9&&ENABLED&&&&&&[imp]&&folder&&INBOX.Software.Horde.IMP&&0&&&&&&
#rule&& 11&&ENABLED&&&&&&[SunHELP]&&folder&&INBOX.Software.Sun-Help&&0&&&&&&
#rule&& 13&&ENABLED&&&&&&[horde]&&folder&&INBOX.Software.Horde&&0&&&&&&
#rule&&
15&&ENABLED&&&&&&[AMaViS-user]&&folder&&INBOX.Software.Amavis&&0&&&&&&
#rule&&
19&&ENABLED&&&&&&&&folder&&INBOX.Security.BugTraq&&0&&List-Id&&bugtraq.list-
id.securityfocus.com&&
#rule&&
21&&ENABLED&&&&&&[syslog-ng]&&folder&&INBOX.Software.Syslog-NG&&0&&&&&&
#rule&& 23&&ENABLED&&&&&&[nag]&&folder&&INBOX.Software.Horde.Nag&&0&&&&&&
#rule&&
25&&ENABLED&&&&&&&&folder&&INBOX.Software.UPS&&0&&List-Owner&&owner-ups@list
s.exploits.org&&
#rule&&
27&&ENABLED&&&&&&&&folder&&INBOX.Security.Basic&&0&&List-Id&&security-basics
.list-id.securityfocus.com&&
#rule&&
29&&ENABLED&&&&&&[Netsaintplug-help]&&folder&&INBOX.Software.NetSaint&&0&&&&
&&
#rule&&
31&&ENABLED&&&&&&[kronolith]&&folder&&INBOX.Software.Horde.Kronolith&&0&&&&&
&
#rule&&
33&&ENABLED&&&&&&&&folder&&INBOX.Software.Cyrus&&0&&Sender&&owner-cyrus-sasl
@lists.andrew.cmu.edu&&
#rule&&
35&&ENABLED&&&&&&&&folder&&INBOX.Software.Cyrus&&0&&Sender&&cyrus@lists.andr
ew.cmu.edu&&
#rule&&
37&&ENABLED&&&&&&&&folder&&INBOX.Software.HttpTunel&&0&&List-Id&&nocrew-http
tunnel.nocrew.org&&
#rule&&
39&&ENABLED&&&&&&&&folder&&INBOX.FreeBSD.Security&&0&&List-ID&&freebsd-secur
ity.FreeBSD.ORG&&
#rule&&
41&&ENABLED&&&&&&&&folder&&INBOX.FreeBSD.Stable&&0&&List-ID&&freebsd-stable.
FreeBSD.ORG&&
#rule&&
43&&ENABLED&&&&&&&&folder&&INBOX.FreeBSD.Questions&&0&&List-ID&&freebsd-ques
tions.FreeBSD.ORG&&




More information about the ingo mailing list