Re: [Dovecot] Maildir configuration vs ZFS and snapshots...

2007-07-04 Thread Mike Brudenell
Greetings - On 4 Jul 2007, at 11:21, Peter Eriksson wrote: Uh.. I'n your case I think it would be quite easy. I think this should work: namespace private { separator = / prefix = snapshot-0/ location = maildir:~/Maildir/.snapshot/nightly. 0:CONTROL=~/.dovecot/control:INDEX=~/.

Re: [Dovecot] Maildir configuration vs ZFS and snapshots...

2007-07-04 Thread Timo Sirainen
On Wed, 2007-07-04 at 12:21 +0200, Peter Eriksson wrote: > location = > maildir:~/Maildir/.snapshot/nightly.0:CONTROL=~/.dovecot/control:INDEX=~/.dovecot/index > .. > location = > maildir:~/Maildir/.snapshot/nightly.1:CONTROL=~/.dovecot/control:INDEX=~/.dovecot/index > I don't thin

Re: [Dovecot] Maildir configuration vs ZFS and snapshots...

2007-07-04 Thread Peter Eriksson
namespace private { separator = / prefix = snapshot/ location = maildir:~/.zfs/snapshot/2007-06-18/Maildir:CONTROL=~/.dovecot/control:INDEX=~/.dovecot/index } ... We are switching from the UW IMAP server with local disks to Dovecot using a NetApp filer. Th

Re: [Dovecot] Maildir configuration vs ZFS and snapshots...

2007-07-04 Thread Mike Brudenell
Greetings - I'm intrigued by your suggestion of providing read-only access to mail folders in the snapshots... On 3 Jul 2007, at 15:20, Peter Eriksson wrote: Now,I can access the normal Maildir INBOX and folders nicely via Dovecot/IMAP. The thing is I'd like to be able to access the snapsho

Re: [Dovecot] Maildir configuration vs ZFS and snapshots...

2007-07-03 Thread Peter Eriksson
Timo Sirainen wrote: On Tue, 2007-07-03 at 16:20 +0200, Peter Eriksson wrote: This works great for the mail folders inside the Maildir - but not for the INBOX which isn't displayed at all... (Ie, under the "snapshot" prefix I only see "Trash" etc when looking at the folder from an IMAP clie

Re: [Dovecot] Maildir configuration vs ZFS and snapshots...

2007-07-03 Thread Timo Sirainen
On Tue, 2007-07-03 at 16:20 +0200, Peter Eriksson wrote: > This works great for the mail folders inside the Maildir - but not > for > the INBOX which isn't displayed at all... (Ie, under the "snapshot" > prefix I only see "Trash" etc when looking at the folder from an IMAP > client). Try "ln -s

[Dovecot] Maildir configuration vs ZFS and snapshots...

2007-07-03 Thread Peter Eriksson
I have a little tricky issue around here. First some background: Every user is assigned their own ZFS filesystem, and it's mounted as /home/USER with a Maildir inside it. The there is a filesystem snapshot (read-only) taken automatically every day by the system. The idea is to allow users easy ac