fine-grained message move notification for spam training
mike at vee.net
Tue May 27 08:43:05 EDT 2014
I'm researching implementing a spam/ham training for my Cyrus IMAPD
installation. I would like users to be able to train a spam classifier
by simply moving messages to/from INBOX.Junk, without any further
interaction, in realtime (almost exactly as described in ). This is
analogous to all modern webmail providers such as GMail work.
Looking at what is available, it seems using either the notify(d)
framework or IMAP NOTIFY (RFC 5465) is sufficient, since neither will
report the event of a message being moved from one mailbox to another,
including the the source and destination mailboxes of the move.
I was pretty happy to find bug #3605 implementing RFC 5423, but
that does not seem to have been merged to v2.4, and I'm not sure if it
would report the needed information anyway.
A script like sa-learn-cyrus is not an option, since it involves
delayed polling and requires three junk folders (spam, is-spam,
is-not-spam) that a user must get their head around, not just one.
Are there any solutions out there that do not involve hacking the
 - <https://bugzilla.cyrusimap.org/show_bug.cgi?id=3605>
 - <https://www.rfc-editor.org/rfc/rfc5423.txt>
More information about the Info-cyrus