I'm not terribly fond of Sieve either, but we chose it because it's the
standard. Sieve scripts can be written for other systems and moved over
to Citadel without any problem. There's value in that.
On the other hand, we've had numerous discussions, and even several
aborted attempts, at adding a general purpose scripting language into
Citadel. I would *love* to see that. If that were ever completed, I'd be
ok with having mail filtering be one of the things it's capable of doing
(but Sieve would stay in the build anyway).
The usual discussion is: "ok, so what language should we use?" The usual
answer is "Python" because the interpreter is designed to be easy to embed
as an application extension language. I'm not terribly fond of Python as
a language, but if there's no other language that can be integrated
cleanly, then maybe that's still the answer. Personally, I would *love*
to have an extension language that is based on JavaScript. Remove the
browser and DOM stuff from it, and just keep the language primitives (as
well as things like string manipulation, etc.) and then add Citadel
functions to it. Lotus Notes has LotusScript, so why can't we have
CitaScript?
We've talked about this before -- it would be *the* perfect way to build
applications like ticketing systems, etc. over Citadel without having to
write them all as native code.