Re: [Dovecot] namespace from snapshots

2012-08-21 Thread Lazy
I managed to get it working using a litle change in sources an extra mailbox_list_subscription_fill_one(dest_list, src_list, "" ); in src/lib-storage/list/mailbox-list-subscriptions.c:mailbox_list_subscriptions_refresh() --- src/lib-storage/list/mailbox-list-subscriptions.c (wersja 494) +++ src

Re: [Dovecot] namespace from snapshots

2012-08-21 Thread Lazy
2012/8/19, Timo Sirainen : > On 16.8.2012, at 14.58, Lazy wrote: > >> 2012/5/19 Timo Sirainen : >>> On Wed, 2012-05-16 at 12:39 +0200, Lazy wrote: May 16 12:11:36 thebe2 dovecot: imap(lazy): Error: open(/snapshot/h1/vmail/la/lazy/Maildir/.SPAM/dovecot-uidlist.lock) failed: Read-only

Re: [Dovecot] namespace from snapshots

2012-08-19 Thread Timo Sirainen
On 16.8.2012, at 14.58, Lazy wrote: > 2012/5/19 Timo Sirainen : >> On Wed, 2012-05-16 at 12:39 +0200, Lazy wrote: >>> May 16 12:11:36 thebe2 dovecot: imap(lazy): Error: >>> open(/snapshot/h1/vmail/la/lazy/Maildir/.SPAM/dovecot-uidlist.lock) >>> failed: Read-only file system >> >> Does the attache

Re: [Dovecot] namespace from snapshots

2012-08-16 Thread Lazy
2012/5/19 Timo Sirainen : > On Wed, 2012-05-16 at 12:39 +0200, Lazy wrote: >> May 16 12:11:36 thebe2 dovecot: imap(lazy): Error: >> open(/snapshot/h1/vmail/la/lazy/Maildir/.SPAM/dovecot-uidlist.lock) >> failed: Read-only file system > > Does the attached patch help? > >> maybe it will be easier to

Re: [Dovecot] namespace from snapshots

2012-05-19 Thread Timo Sirainen
On Wed, 2012-05-16 at 12:39 +0200, Lazy wrote: > May 16 12:11:36 thebe2 dovecot: imap(lazy): Error: > open(/snapshot/h1/vmail/la/lazy/Maildir/.SPAM/dovecot-uidlist.lock) > failed: Read-only file system Does the attached patch help? > maybe it will be easier to move all dovecot metadata to separat

Re: [Dovecot] namespace from snapshots

2012-05-16 Thread Lazy
Hi, With same config as Kerl and Your patch I'm still getting thiese errors May 16 12:11:36 thebe2 dovecot: imap(lazy): Debug: Namespace backup_h1: type=private, prefix=backup-h1., sep=, inbox=no, hidden=no, list=yes, subscriptions=yes location=maildir:/snapshot/h1/vmail/la/lazy/Maildir:INDEX=MEM

Re: [Dovecot] namespace from snapshots

2012-05-14 Thread Timo Sirainen
On Fri, 2012-05-11 at 16:33 +0200, Karl Oulmi wrote: > namespace da1 { > prefix = INBOX.backup.da1. > hidden = no > list = yes > inbox = no > location = maildir:/da1/%u/Maildir > type = private > } > > > I have two problems : > - In my log, dovecot complain about the fact that my snapshot filsys

[Dovecot] namespace from snapshots

2012-05-11 Thread Karl Oulmi
hi all, I'm trying to give access to snapshots taken from by dell iscsi MD3200i to my maildirs users. snapshot are mounted in read only mode from my FreeBSD box. In my /usr/local/etc/dovecot/conf.d/10-mail.conf, I have : namespace inbox { inbox = yes } namespace da1 { prefix = INBOX.back