
hugo.monteiro at fct
Sep 29, 2009, 3:37 AM
Post #11 of 14
(3524 views)
Permalink
|
|
Re: Triggering a server action on a specific event
[In reply to]
|
|
Olivier Laurent wrote: > Thomas Schwinge wrote: >> Hello! >> >> On Mon, Sep 28, 2009 at 02:10:49PM +0200, Olivier Laurent wrote: >>> I'm creating a bayesian email filter that need to learn on the >>> message. It's supposed to be very general, not just for spam. The first >>> level folder is the category. If a message is moved from folder A to >>> folder B. It has to uncategorize the message as being from category A. >>> And it has to categorize the message as being from category B. >> >> Interesting! Are you writing the whole system from scratch, or has such >> an automatic, fuzzy categorizing system already been implemented before? > > I'm writing it from scratch using pyinotify [1] and Reverend [2], a > Bayesian classifier. > > For the moment, I'm using 2 processes. > > One is a daemon that read a named pipe (for performance) where every > new mail is piped from qmail. It classifies new messages into > categories (folders). Messages that don't fall into a category are > saved in the default user folder (INBOX). > > The second process is launched from cron every x minutes. It learns > messages already categorized by users. > > The current solution is somewhat complicated. It needs editing qmail > configuration and restarting the mail server and is somewhat qmail > specific. > > But the inotify solution will be more general, won't need editing mail > specific configuration and won't require a mail server restart. > > Normally only one process will live. If this process falls, normal > email processing will continue. > >> Please keep us (or at least me) informed about how this works out. > > I don't know exactly about licensing at the moment. Our company is > normally developping an open source ERP but this software does not > fall under our normal product and I don't know exactly what our > manager will license this software. > > If someone is interested by this software, (s)he can contact me at olt > at tinyerp dot com. I'll try to keep him or her informed. > > PS: I tryied using popfile [3] but it was not a 100% complete solution > for our customer. That's why I started it from scratch. > > [1] http://trac.dbzteam.org/pyinotify > [2] http://www.divmod.org/trac/wiki/DivmodReverend > [3] http://en.wikipedia.org/wiki/POPFile > > Regards, > Hello Olivier, I have not used it myself, but you might want to take a look at CRM114. * http://crm114.sourceforge.net Regards, Hugo Monteiro. -- ci.fct.unl.pt:~# cat .signature Hugo Monteiro Email : hugo.monteiro [at] fct Telefone : +351 212948300 Ext.15307 Web : http://hmonteiro.net Centro de Informática Faculdade de Ciências e Tecnologia da Universidade Nova de Lisboa Quinta da Torre 2829-516 Caparica Portugal Telefone: +351 212948596 Fax: +351 212948548 www.ci.fct.unl.pt apoio [at] fct ci.fct.unl.pt:~# _
|