Re: What format can Cyrus store mail in?

2002-10-09 Thread Matt Bernstein

On Oct 7 Erik Enge wrote:

>I have been trying to figure out what formats Cyrus can store mail in,
>but even though I have gotten hints here and there I have found no hard
>information.
>
>Does it use Berkley DB to store the mail?  How about maildir/mailbox?

"Never you mind." ;)

It's an IMAP server and if you want to spit out large amounts of mail, I'd 
suggest writing a script, eg in perl or java, which uses the relevant 
modules/classes to act as a client to Cyrus (and to the other mail store).

At first I thought this was tricky, but if you use the proxying 
authentication trick everything else is nice and abstracted for you :)

Cheers,

Matt




Re: What format can Cyrus store mail in?

2002-10-08 Thread Scott Russell

On Tue, Oct 08, 2002 at 09:28:13AM -0400, Erik Enge wrote:
> "Kevin P. Fleming" <[EMAIL PROTECTED]> writes:
> 
> > Cyrus stores the messages themselves in individual text files,
> > unchanged from the way they are passed in via LMTP.
> 
> So it's like maildir?
> 
> Could I copy the "raw" Cyrus directories and expect them to work with
> other clients that supported maildir?

>From the little bit of work I've done with Maildir, no, you cannot.

-- 
  Scott Russell ([EMAIL PROTECTED])
  Linux Technology Center, System Admin, RHCE.
  Dial 877-735-8200 then ask for 919-543-9289 (TTY)




Re: What format can Cyrus store mail in?

2002-10-08 Thread Erik Enge

"Kevin P. Fleming" <[EMAIL PROTECTED]> writes:

> Cyrus stores the messages themselves in individual text files,
> unchanged from the way they are passed in via LMTP.

So it's like maildir?

Could I copy the "raw" Cyrus directories and expect them to work with
other clients that supported maildir?

Thanks,

Erik.



Re: What format can Cyrus store mail in?

2002-10-07 Thread Kevin P. Fleming

Erik Enge wrote:
> Hi.
> 
> I have been trying to figure out what formats Cyrus can store mail in,
> but even though I have gotten hints here and there I have found no hard
> information.
> 
> Does it use Berkley DB to store the mail?  How about maildir/mailbox?
> 
> Thanks,
> 
> Erik Enge.

Cyrus stores the messages themselves in individual text files, unchanged 
from the way they are passed in via LMTP. It also creates various 
indexes, seen databases, etc., in the mail folders, and the formats of 
some of these can be chosen at compile time (flat textfile, skiplist, BDB).