Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Scan messages in store?

  1. #1
    Join Date
    Oct 2010
    Posts
    7
    Rep Power
    5

    Default Scan messages in store?

    I know the AV/AS program can hook to postfix to perform real-time message scan, but is there any API exposed for other program to scan messages in the message store and take appropriate actions?

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Quote Originally Posted by hydra View Post
    I know the AV/AS program can hook to postfix to perform real-time message scan, but is there any API exposed for other program to scan messages in the message store and take appropriate actions?
    They are just file on a HD and are easily accessible but you really don't want to scan and/or modify them do you? Perhaps it might help if you gave details of what you're trying to do.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    Sep 2010
    Location
    Enschede Netherlands
    Posts
    47
    Rep Power
    5

    Default

    I hope i am not confescating your topic, but i am interested in the same thing. I would like to share my email (or contacts or tasks for that matter) from zimbra to an external application. This could be achieved by scanning the mails but preferably we would like zimbra to send a notification on change of the contacts. Without the user logging in to the webclient. Is this possible and if so, what would be the best way to achieve this?

  4. #4
    Join Date
    Oct 2010
    Posts
    7
    Rep Power
    5

    Default

    Quote Originally Posted by phoenix View Post
    They are just file on a HD and are easily accessible but you really don't want to scan and/or modify them do you? Perhaps it might help if you gave details of what you're trying to do.
    Yes, I can scan the files directly, but if I take action on the file (like tag, quarantine, delete, etc), it will be inconsistent with its meta data that stored in db.
    I'm evaluating zimbra to see if it's possible to develop a scan program for zimbra, which will include the functionality to scan messages in the store, so I would like to know if zimbra has any API that allow 3rd party program to take action on the messages in the store, just like the VSAPI in MS Exchange.

  5. #5
    Join Date
    May 2008
    Location
    Germany
    Posts
    26
    Rep Power
    7

    Default

    What about using REST (ZCS 6.0:Zimbra REST API Reference - Zimbra :: Wiki , never used it) or using IMAP (e.g. via perl and Mail::IMAPClient, which I know to work)

  6. #6
    Join Date
    Oct 2010
    Posts
    7
    Rep Power
    5

    Default

    Quote Originally Posted by mfvm View Post
    What about using REST (ZCS 6.0:Zimbra REST API Reference - Zimbra :: Wiki , never used it) or using IMAP (e.g. via perl and Mail::IMAPClient, which I know to work)
    It seems that both the REST API and SOAP API need authentication, i don't think it's suitable for a server-side message scanning program

  7. #7
    Join Date
    May 2008
    Location
    Germany
    Posts
    26
    Rep Power
    7

    Default

    Quote Originally Posted by hydra View Post
    It seems that both the REST API and SOAP API need authentication, i don't think it's suitable for a server-side message scanning program
    You may create a special admin user for that purpose and use SASL PLAIN Auth with IMAP - that works and is IMHO suitable for a server application.

  8. #8
    Join Date
    Oct 2010
    Posts
    7
    Rep Power
    5

    Default

    Quote Originally Posted by mfvm View Post
    You may create a special admin user for that purpose and use SASL PLAIN Auth with IMAP - that works and is IMHO suitable for a server application.
    Do you mean I can use that special admin user to scan/modify messages in other users' mailbox?

  9. #9
    Join Date
    May 2008
    Location
    Germany
    Posts
    26
    Rep Power
    7

    Default

    Quote Originally Posted by hydra View Post
    Do you mean I can use that special admin user to scan/modify messages in other users' mailbox?
    Yes, yuo can. This is by the way the thing you are doing if you import users from another IMAP server via imapsync.

  10. #10
    Join Date
    Oct 2010
    Posts
    7
    Rep Power
    5

    Default

    Quote Originally Posted by mfvm View Post
    Yes, yuo can. This is by the way the thing you are doing if you import users from another IMAP server via imapsync.
    How special is the admin user? And as I know, imapsync also needs the passwords to import user from other IMAP server, see the following command I copied from zimbra wiki:

    perl imapsync --buffersize 8192000 --nosyncacls --subscribe --syncinternaldates \
    --host1 kerio.host.com --user1 user@host.com --password1 keriopasswd --sep1 "/" --prefix1 "" \
    --host2 zimbra.host.com --user2 user@host.com --password2 zimbrapasswd

Similar Threads

  1. [SOLVED] Re-creating the spam training e-mail account
    By richard-hdd in forum Administrators
    Replies: 21
    Last Post: 03-20-2012, 08:34 AM
  2. Unread messages scan
    By Cringer in forum Developers
    Replies: 3
    Last Post: 07-26-2007, 10:36 AM
  3. Scan external POP3 messages
    By williamruckman in forum Administrators
    Replies: 1
    Last Post: 04-30-2007, 12:12 PM
  4. Delete messages from store
    By claros in forum Administrators
    Replies: 2
    Last Post: 10-21-2006, 07:45 PM
  5. Reindexing messages from store
    By gutzeit in forum Installation
    Replies: 1
    Last Post: 11-15-2005, 03:41 PM

Posting Permissions

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