Josh Trutwin | 14 Mar 2005 23:13
Gravatar

New to Zoe - couple questions...

Hello list,

I've been looking at Zoe to build a searchable email interface to my
archive of email messages.  Been looking over the Wiki and trying to
get my hands around what this product can and cannot (or should not?)
do.

I currently use qmail as my MTA on a Linux Slackware system.  I don't
plan on changing MTA's so I'm going to have to integrate Zoe with
qmail's Maildir format if I wish to use it.  I don't really want Zoe
to integrate with my email server though as described in the
documentation.  Here's kind of what I'm looking to do, please let me
know if I'm way off base.

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?  I'm mainly trying to use Zoe to make my old
messages searchable which I could certainly do with other tools like
htdig, grepmail, etc. but I'm looking at Zoe because it has some nice
features and eventually I might work towards integrating with my MTA,
but not yet.

Thanks,
(Continue reading)

Zoe | 14 Mar 2005 23:38
Picon

Re: New to Zoe - couple questions...

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Ë instead of having ZOË pull 
them by itself.

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

An alternative to the import is to have your script email the messages 
directly to ZOË by using the application built-in SMTP server. That way 
you would not need to create an intermediary mbox, nor mess around with 
the Web UI simply to trigger an import.

If you think in terms of pipes, then ZOË's SMTP server could be viewed 
has one of its standard input.
(Continue reading)

Josh Trutwin | 15 Mar 2005 00:00
Gravatar

Re: New to Zoe - couple questions...

On Mon, 14 Mar 2005 23:38:17 +0100
Zoe <zoe_info <at> mac.com> wrote:

> 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Ë instead of having ZOË
> pull  them by itself.
> 
> One thing though: presently there is no publicly available API to 
> programmatically trigger an import. You will either need to do that 
> manually (e.g. press the import button) or script the Web UI one way
> or  another if you want to fully automatize your script.

I swear I saw something in the wiki for command line import, now that
I look again though I see what you mean.

> An alternative to the import is to have your script email the
(Continue reading)

Zoe | 15 Mar 2005 00:07
Picon

Re: New to Zoe - couple questions...


On Mar 15, 2005, at 00:00, Josh Trutwin wrote:

> Thanks for the tip, I might just do this instead, seems a little
> easier for scripting.  Does this do anything with the message
> threading or is it able to keep the original message sent date?

If you pass your messages "as is" to your mailer of choice, everything 
will be preserved (give or take the odd 'Received' header).

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
sammy ominsky | 14 Mar 2005 23:43
Favicon
Gravatar

Re: New to Zoe - couple questions...

On Mar 14, 2005, at 17:38, Zoe wrote:

> An alternative to the import is to have your script email the messages 
> directly to ZOË by using the application built-in SMTP server. That 
> way you would not need to create an intermediary mbox, nor mess around 
> with the Web UI simply to trigger an import.
>
> If you think in terms of pipes, then ZOË's SMTP server could be viewed 
> has one of its standard input.

I've *still* not figured out how to do both this and have ZOË be my 
forwarding SMTP server at the same time.

---sambo

-------------------------------------------------------
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_ide95&alloc_id396&op=click
Zoe | 14 Mar 2005 23:52
Picon

Re: New to Zoe - couple questions...


On Mar 14, 2005, at 23:43, sammy ominsky wrote:

> I've *still* not figured out how to do both this and have ZOË be my 
> forwarding SMTP server at the same time.

Usually... on your email client side... you need to create 2 SMTP 
accounts... one for forwarding and another one for import... the SMTP 
account used for import must have ".import" (no quotes) added to the 
user name... that should do the trick...

If everything else fails.. check the code for the nasty details... :)

http://dev.alt.textdrive.com/file/ZOE/Frameworks/SZSMTP/SZSMTPAuth.java
http://dev.alt.textdrive.com/file/ZOE/Frameworks/SZSMTP/SZSMTPData.java

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_ide95&alloc_id396&op=click

Gmane