SIEVE - a language for classifying mail with RFC ;)
Translation of the original in Catalan. Read it in: CatalàCastellano
Surely many of you know procmail and if you read my blog you'll have heard of maildrop. We use both of them in the client as well as in the server to classify emails into folders according to different criteria. Among other advanced functions. Well then, it turns out that there is a language that performs these tasks both on the server and on the client and it's called SIEVE, it has spread so much that it has ended up having its own RFC: RFC3028. Impressive,eh!? I recommend you take a look at it, it's very simple to use and very powerful. Although I don't know if it does what I really wish, that is to say that it supports databases as a user backend. I'll try it when I have a moment.
The definition that the RFC itself gives about SIEVE is interesting:
A language for filtering e-mail messages at time of final delivery. It is designed to be implementable on either a mail client or mail server. It is meant to be extensible, simple, and independent of access protocol, mail architecture, and operating system. It is suitable for running on a mail server where users may not be allowed to execute arbitrary programs, such as on black box Internet Message Access Protocol (IMAP) servers, as it has no variables, loops, or ability to shell out to external programs.
It is really interesting to see the amount of software that implements this standard, it even has user applications for KDE and GNOME. Although the ones I find most interesting are the ones via Web. Since when we are interested in keeping the mail on the server and accessing it via IMAP, the fact that the mail is automatically classified into folders and its management is done through a web solves a big problem for administrators.