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 getting

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

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 then figures

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; IIRC I

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 } plugin { mbox_snarf =

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/%u list = no

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 namespace's

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 that