Re: [Dovecot] Question about mbox_snarf and dovecot2.0

2010-11-18 Thread Jonathan Siegle
On Nov 18, 2010, at 2:08 PM, Timo Sirainen wrote: > On Thu, 2010-04-29 at 11:11 -0400, Jonathan Siegle wrote: > >> As I need this to function, I've been thinking about your words above >> and been reading http://wiki.dovecot.org/Design/Storage/Plugins. The >> mentality of it reminds me of the la

Re: [Dovecot] Question about mbox_snarf and dovecot2.0

2010-11-18 Thread Timo Sirainen
On Thu, 2010-04-29 at 11:11 -0400, Jonathan Siegle wrote: > As I need this to function, I've been thinking about your words above > and been reading http://wiki.dovecot.org/Design/Storage/Plugins. The > mentality of it reminds me of the lazy-expunge-plugin, but this API is > taking some time getti

Re: [Dovecot] Question about mbox_snarf and dovecot2.0

2010-05-05 Thread Timo Sirainen
On 5.5.2010, at 20.27, Jonathan Siegle wrote: - open INBOX from that namespace and keep it open >>> >>> Ok sync init would open /var/mail/%u >> >> Well, you would simply call mailbox_open(ns->list, "INBOX"). Dovecot >> internally then figures out that INBOX is /var/mail/%u based on the >> n

Re: [Dovecot] Question about mbox_snarf and dovecot2.0

2010-05-05 Thread Jonathan Siegle
On Apr 29, 2010, at 2:42 PM, Timo Sirainen wrote: > On Thu, 2010-04-29 at 14:00 -0400, Jonathan Siegle wrote: > >>> - open INBOX from that namespace and keep it open >> >> Ok sync init would open /var/mail/%u > > Well, you would simply call mailbox_open(ns->list, "INBOX"). Dovecot > internally

Re: [Dovecot] Question about mbox_snarf and dovecot2.0

2010-04-29 Thread Timo Sirainen
On Thu, 2010-04-29 at 14:00 -0400, Jonathan Siegle wrote: > > - open INBOX from that namespace and keep it open > > Ok sync init would open /var/mail/%u Well, you would simply call mailbox_open(ns->list, "INBOX"). Dovecot internally then figures out that INBOX is /var/mail/%u based on the namesp

Re: [Dovecot] Question about mbox_snarf and dovecot2.0

2010-04-29 Thread Jonathan Siegle
On Apr 29, 2010, at 1:27 PM, Timo Sirainen wrote: > On Thu, 2010-04-29 at 11:11 -0400, Jonathan Siegle wrote: >>> namespace { >>> location = mbox:~/mail >>> .. >>> } >>> namespace { >>> prefix = ~~MboxSnarf~~/ # or whatever unique string you can think of >>> location = mbox:~/mail:INBOX=/var/mail

Re: [Dovecot] Question about mbox_snarf and dovecot2.0

2010-04-29 Thread Timo Sirainen
On Thu, 2010-04-29 at 11:11 -0400, Jonathan Siegle wrote: > > namespace { > > location = mbox:~/mail > > .. > > } > > namespace { > > prefix = ~~MboxSnarf~~/ # or whatever unique string you can think of > > location = mbox:~/mail:INBOX=/var/mail/%u > > list = no > > hidden = yes > > } > > plu

Re: [Dovecot] Question about mbox_snarf and dovecot2.0

2010-04-29 Thread Jonathan Siegle
On Feb 2, 2010, at 12:47 PM, Timo Sirainen wrote: > On Tue, 2010-02-02 at 12:33 -0500, Jonathan Siegle wrote: >> I verified that not using the mbox_snarf works just fine. I have no >> namespaces enabled. > > The code contains: > > //FIXME:storage->set->mail_full_filesystem_access = TRUE; >

Re: [Dovecot] Question about mbox_snarf and dovecot2.0

2010-02-02 Thread Timo Sirainen
On Tue, 2010-02-02 at 12:33 -0500, Jonathan Siegle wrote: > I verified that not using the mbox_snarf works just fine. I have no > namespaces enabled. The code contains: //FIXME:storage->set->mail_full_filesystem_access = TRUE; IIRC I couldn't figure out a nice and easy way to actually make th

[Dovecot] Question about mbox_snarf and dovecot2.0

2010-02-02 Thread Jonathan Siegle
Hello, I'm running revision 10622:de9d6dae7fe5 on AIX 5.3 with some local mods for our inbox hash function. I'm having a problem doing a "select inbox" when I use the mbox_snarf plugin. When I run truss on the process I see the following stat calls: 614528: kread(9, " 1 s e l e c t