Results 1 to 4 of 4

Thread: trouble with IExchangeImportContentsChanges while trying to do ICS

  1. #1
    Junior Member
    Join Date
    Feb 2010
    Posts
    20

    trouble with IExchangeImportContentsChanges while trying to do ICS

    Hi,

    We're trying to create a new python script to do dspam spam-filter training. Currently we're using our spamhook patch (), but this one is broken in Zarafa 7.

    This time we're trying to create a much cleaner solution that will use ICS to monitor for messages that are being moved from/to the Junk folder.

    However its very hard to decipher all the Microsoft MAPI and Exchange documentation, translating this to the Python API. We've found this rather obscure documentation:

    This is what we've come up with so far:
    The config-function is throwing an exception, since swig seems to want a IUnknown object?

    I dont even know if this part of the Python API has ever been used or tested by someone. I looked at the SWIG sources, but its not clear to me if the handling of the IUnknown stuff is correct. (Shouldnt it typecasting it to a IExchangeImportHierarchyChanges or IExchangeImportContentsChanges depending on

    We will make this a FOSS project as soon as we have a usable version. I think an example of how to do ICS in python is very welcome, and maybe this project can be the first one.

    If all else fails, we will try to do it with the PHP API. At least then we can be sure the API is capable of change monitoring, since z-push is using it as well. (and we can use that as an example)

    Thanks,

    Edwin Eefting
    Last edited by edwineefting; 09-04-2013 at 03:02 PM.

  2. #2
    Junior Member
    Join Date
    Feb 2010
    Posts
    20
    Fixing the old spamhook patch to work with Zarafa 7.1.4 was easier that expected:

  3. #3
    Junior Member
    Join Date
    Feb 2010
    Posts
    20
    This problem is solved with the python-zarafa API and there are even example spam-learn scripts:

  4. #4
    Junior Member
    Join Date
    Feb 2010
    Posts
    20
    anddddd its done:

Similar Threads

  1. trouble with fechtmail
    By cornetto in forum Installation, Configuration and Maintenance
    Replies: 1
    Last Post: 05-02-2012, 04:16 PM
  2. conversion trouble from 6.20 to 6.40.8
    By edwineefting in forum Migration
    Replies: 0
    Last Post: 09-06-2011, 09:54 PM
  3. Zarafa and NOKIA OVI Trouble
    By beckynet in forum Outlook usage Archives
    Replies: 5
    Last Post: 28-01-2011, 09:49 AM
  4. Language trouble in 6.20
    By anton in forum Beta Feedback Archives
    Replies: 0
    Last Post: 14-10-2008, 11:38 AM
  5. Zarafa Client Trouble...
    By tkircht in forum Installation and Configuration Archives
    Replies: 2
    Last Post: 17-04-2008, 09:22 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •