Just a few further thoughts that might be helpful.
Then I'll use sxaa as an example and maybe factor out the code for parsing, so I can reuse it. (BTW, it would be nice if there were some published scripting API for accessing the "3d" file - that would probably also help to move some of the workload from the scalix team to the community, and would spare everyone the time involved to cut&paste from sxaa...)
Absolutely; we would love to do that; however, creating - and maintaining, documenting - such an API needs some resource on our side as well; at the same time you might know that our product was originally based on a very reliable and stable platform known as HP OpenMail; while this legacy is core to our enterprise-ready positioning in terms of scaleability and other good properties, we're also looking into changing a number of things from an architectural point of view, especially as standards in Internet world evolve. Part of that necessarily involves changing some of the background structures as well; the file format of the infamous "3d" file is called Transaction File format (TF) and is one of these core components; building an officially supported and public API for it would possibly involve having to provide compatibility in future releases - which is something we obviously want to avoid while planning for more major change.
Having said that, we're planning to provide further API access to our system in forthcoming releases and I believe you'll see the first elements of this sometime later this year.
That being said, if I read you correctly, I can only delete the emails in users' spam folder (using omtidyu etc.), but not access the folder contents and feed them back to spam-assassin.
To be able to access these emails from my program, I would either ...
That's correct, there is currently no programmatic access other than the ways mentioned to mailbox contents. Some pointers here:
* IMAP delegate access is currently not available yet. IMAP provides access to the user's own mailbox and the public folder structure. We will be providing IMAP-based delegate access in a future release.
* How ever, we will provide a way to login to *ANY* mailbox with IMAP through an Admin-level ("mboxadmin") user with the *next* Scalix release coming very soon (actually a few pre-release customers are putting their hands on this as we speak!). This can be used for the purpose listed; then, the Spam training data can be kept in user's private folders.
* Most commonly, such structures are currently implemented using public folders - which are accessible through normal IMAP - in combination with SpamAssassin's built-in training features; this has been done by a number of customers already.
Hope this is enough to get you going, tell us how it went![/list][/list]