Re: New to Zoe - couple questions...

Zoe <[email protected]> Mon, 14 Mar 2005 23:38:17 +0100
Newsgroups gmane.mail.zoe.general
Message-ID <[email protected]>
Hi Josh,

On Mar 14, 2005, at 23:13, Josh Trutwin wrote:

> 1.) Run a script once a month that copies any mail from my IMAP
> folders that are over one month old to an alternate location for Zoe
> in mbox format.
>
> 2.) Run the Zoe import procedure on these messages.
>
> 3.) Upon successful import, remove the messages from my email account
> since they are now indexed by Zoe.
>
> Does that seem plausible?

Sure. You can definitively push data to ZO=CB instead of having ZO=CB =
pull=20
them by itself.

One thing though: presently there is no publicly available API to=20
programmatically trigger an import. You will either need to do that=20
manually (e.g. press the import button) or script the Web UI one way or=20=

another if you want to fully automatize your script.

An alternative to the import is to have your script email the messages=20=

directly to ZO=CB by using the application built-in SMTP server. That =
way=20
you would not need to create an intermediary mbox, nor mess around with=20=

the Web UI simply to trigger an import.

If you think in terms of pipes, then ZO=CB's SMTP server could be viewed=20=

has one of its standard input.

Cheers,

R.



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click