Re: [Dovecot] Write a c program to access a mailbox as a system user using dovecot version 2 includes/libs

2010-08-06 Thread Timo Sirainen
On Fri, 2010-08-06 at 10:16 -0400, Jonathan Siegle wrote: > The end goal is for my Webmail client to access dovecot mailboxes. > Does it make more sense to do the more traditional route of making > Webmail an IMAP client? Yes. There's almost zero performance benefit for accessing mails via lib-s

Re: [Dovecot] Write a c program to access a mailbox as a system user using dovecot version 2 includes/libs

2010-08-06 Thread Jonathan Siegle
On Aug 6, 2010, at 7:28 AM, Timo Sirainen wrote: > On 6.8.2010, at 11.45, Jonathan Siegle wrote: > >> The first goal is to open these mailboxes(mdbox/dbox) with alpine version 2 >> and the mailboxes are on localhost. > > Why? Why not just let it use IMAP? Seems like a huge amount of work to

Re: [Dovecot] Write a c program to access a mailbox as a system user using dovecot version 2 includes/libs

2010-08-06 Thread Marcus Rueckert
On 2010-08-06 12:28:28 +0100, Timo Sirainen wrote: > On 6.8.2010, at 11.45, Jonathan Siegle wrote: > > > The first goal is to open these mailboxes(mdbox/dbox) with alpine version 2 > > and the mailboxes are on localhost. > > Why? Why not just let it use IMAP? Seems like a huge amount of work t

Re: [Dovecot] Write a c program to access a mailbox as a system user using dovecot version 2 includes/libs

2010-08-06 Thread Timo Sirainen
On 6.8.2010, at 11.45, Jonathan Siegle wrote: > The first goal is to open these mailboxes(mdbox/dbox) with alpine version 2 > and the mailboxes are on localhost. Why? Why not just let it use IMAP? Seems like a huge amount of work to make c-client call lib-storage. And who knows how many symbo

Re: [Dovecot] Write a c program to access a mailbox as a system user using dovecot version 2 includes/libs

2010-08-06 Thread Jonathan Siegle
On Aug 5, 2010, at 10:16 AM, Timo Sirainen wrote: > On Thu, 2010-08-05 at 10:12 -0400, Jonathan Siegle wrote: >> Should this be doable with the current design? > > Yes. > >> Is there a good reference to do this? > > doveadm and dsync are good examples. Or maybe you shouldn't write a > separat

Re: [Dovecot] Write a c program to access a mailbox as a system user using dovecot version 2 includes/libs

2010-08-05 Thread Timo Sirainen
On Thu, 2010-08-05 at 10:12 -0400, Jonathan Siegle wrote: > Should this be doable with the current design? Yes. > Is there a good reference to do this? doveadm and dsync are good examples. Or maybe you shouldn't write a separate C program, but a doveadm plugin instead (see e.g. doveadm_quota pl

[Dovecot] Write a c program to access a mailbox as a system user using dovecot version 2 includes/libs

2010-08-05 Thread Jonathan Siegle
Should this be doable with the current design? Is there a good reference to do this? Thanks, Jonathan smime.p7s Description: S/MIME cryptographic signature