[Dovecot] Maildir from offlineimap, INBOX folder created
Hi, I'm using dovecot to serve up a Maildir created/served by offlineimap. The layout is typical (as far as I know) of maildirs, with the root folder having cur, tmp, new, and subfolders being a folder within the root folder. Since I'd previously used Evolution to access this maildir, my subfolders were actual subfolders (separator /).
Anyway, it all works spiffingly well, except that I can't see my inbox at all. What happens is that attempting to subscribe to Inbox will create an INBOX folder in the root folder, which is (of course) empty, so I see an empty folder.
For completeness, my dovecot -n...
# 1.1.17: /etc/dovecot/dovecot.conf # OS: Linux 2.6.30-ARCH x86_64 ext3 protocols: imap listen: localhost ssl_disable: yes disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable: /usr/lib/dovecot/imap-login mail_location: maildir:/home/data/Profiles/OfflineIMAP/root:LAYOUT=fs auth default: passdb: driver: pam userdb: driver: passwd
Thanks for the help.
On Jul 24, 2009, at 1:18 AM, Ng Oon-Ee wrote:
Anyway, it all works spiffingly well, except that I can't see my inbox at all. What happens is that attempting to subscribe to Inbox will create an INBOX folder in the root folder, which is (of course) empty, so I see an empty folder.
mail_location: maildir:/home/data/Profiles/OfflineIMAP/root:LAYOUT=fs
Append :INBOX=/home/data/Profiles/OfflineIMAP/root
On Fri, 2009-07-24 at 01:25 -0400, Timo Sirainen wrote:
On Jul 24, 2009, at 1:18 AM, Ng Oon-Ee wrote:
Anyway, it all works spiffingly well, except that I can't see my inbox at all. What happens is that attempting to subscribe to Inbox will create an INBOX folder in the root folder, which is (of course) empty, so I see an empty folder.
mail_location: maildir:/home/data/Profiles/OfflineIMAP/root:LAYOUT=fs
Append :INBOX=/home/data/Profiles/OfflineIMAP/root
Hey, thanks, worked perfectly. I just rechecked the wiki, and this is not mentioned at all, should it be added? The only part of MalboxFormat/Maildir dealing with this, under Directory Structure, only mentions that v1.1 supports subfolders with :LAYOUT=fs.
On Jul 24, 2009, at 1:35 AM, Ng Oon-Ee wrote:
On Fri, 2009-07-24 at 01:25 -0400, Timo Sirainen wrote:
On Jul 24, 2009, at 1:18 AM, Ng Oon-Ee wrote:
Anyway, it all works spiffingly well, except that I can't see my
inbox at all. What happens is that attempting to subscribe to Inbox will create an INBOX folder in the root folder, which is (of course)
empty, so I see an empty folder.mail_location: maildir:/home/data/Profiles/OfflineIMAP/ root:LAYOUT=fs
Append :INBOX=/home/data/Profiles/OfflineIMAP/root
Hey, thanks, worked perfectly. I just rechecked the wiki, and this is not mentioned at all, should it be added? The only part of MalboxFormat/Maildir dealing with this, under Directory Structure,
only mentions that v1.1 supports subfolders with :LAYOUT=fs.
Well, this wasn't really intentional.. LAYOUT=fs hasn't really been
used much. I'm beginning to think maybe I should change this to be the
default with it too.
On Fri, 2009-07-24 at 01:47 -0400, Timo Sirainen wrote:
On Jul 24, 2009, at 1:35 AM, Ng Oon-Ee wrote:
On Fri, 2009-07-24 at 01:25 -0400, Timo Sirainen wrote:
On Jul 24, 2009, at 1:18 AM, Ng Oon-Ee wrote:
Anyway, it all works spiffingly well, except that I can't see my
inbox at all. What happens is that attempting to subscribe to Inbox will create an INBOX folder in the root folder, which is (of course)
empty, so I see an empty folder.mail_location: maildir:/home/data/Profiles/OfflineIMAP/ root:LAYOUT=fs
Append :INBOX=/home/data/Profiles/OfflineIMAP/root
Hey, thanks, worked perfectly. I just rechecked the wiki, and this is not mentioned at all, should it be added? The only part of MalboxFormat/Maildir dealing with this, under Directory Structure,
only mentions that v1.1 supports subfolders with :LAYOUT=fs.Well, this wasn't really intentional.. LAYOUT=fs hasn't really been
used much. I'm beginning to think maybe I should change this to be the
default with it too.
I guess offlineimap->dovecot (serving IMAP)->mail client IS a bit of a corner case. Thing is, unless I'm mistaken (which wouldn't surprise me) the Maildir++ specification doesn't allow/suggest a separate INBOX folder? In that case, then yes that default would make sense.
Thank you for your time, assistance, and this wonderful piece of software.
On Jul 24, 2009, at 2:10 AM, Ng Oon-Ee wrote:
Well, this wasn't really intentional.. LAYOUT=fs hasn't really been used much. I'm beginning to think maybe I should change this to be
the default with it too.I guess offlineimap->dovecot (serving IMAP)->mail client IS a bit of a corner case. Thing is, unless I'm mistaken (which wouldn't surprise
me) the Maildir++ specification doesn't allow/suggest a separate INBOX folder? In that case, then yes that default would make sense.
You're using fs layout, not Maildir++ layout.
On Fri, 2009-07-24 at 02:14 -0400, Timo Sirainen wrote:
You're using fs layout, not Maildir++ layout.
Well, I'm obviously much less well-informed on these matters, but from my POV I was using Evolution (probably one of the more popular maildir-capable GUI app), and this is the maildir format it uses. I always thought it was simply the base Maildir++ format, but with subfolders instead of lots of dots.
On Jul 24, 2009, at 2:22 AM, Ng Oon-Ee wrote:
On Fri, 2009-07-24 at 02:14 -0400, Timo Sirainen wrote:
You're using fs layout, not Maildir++ layout.
Well, I'm obviously much less well-informed on these matters, but from my POV I was using Evolution (probably one of the more popular maildir-capable GUI app), and this is the maildir format it uses. I always thought it was simply the base Maildir++ format, but with subfolders instead of lots of dots.
Nope. Maildir++ is basically the dot-subfoldering and also Maildir++
quota file. Evolution uses neither.
On Fri, 2009-07-24 at 02:28 -0400, Timo Sirainen wrote:
Nope. Maildir++ is basically the dot-subfoldering and also Maildir++
quota file. Evolution uses neither.
Ah, thanks for clearing that up. So this LAYOUT=fs is simply for the Maildir spec, not Maildir++? Or is it some amalgamation that doesn't properly fit? In particular, the wikipedia for maildir says that maildir ++ was created to ALLOW subfolders, so i guess maildir didn't in the first place?
On Jul 24, 2009, at 2:34 AM, Ng Oon-Ee wrote:
On Fri, 2009-07-24 at 02:28 -0400, Timo Sirainen wrote:
Nope. Maildir++ is basically the dot-subfoldering and also Maildir++ quota file. Evolution uses neither.
Ah, thanks for clearing that up. So this LAYOUT=fs is simply for the Maildir spec, not Maildir++? Or is it some amalgamation that doesn't properly fit? In particular, the wikipedia for maildir says that
maildir ++ was created to ALLOW subfolders, so i guess maildir didn't in the first place?
You seem to be a bit too much obsessed over Maildir++ :) Maildir++ is
just Courier IMAP's way of storing Maildir folders, which was adopted
by a few other programs. Other programs use more human-understandable
way (LAYOUT=fs). Nothing would prevent creating yet another different
way of storing them. In all cases once the Maildir directory is found,
the Maildir handling works exactly the same.
On Fri, 2009-07-24 at 02:45 -0400, Timo Sirainen wrote:
You seem to be a bit too much obsessed over Maildir++ :) Maildir++ is
just Courier IMAP's way of storing Maildir folders, which was adopted
by a few other programs. Other programs use more human-understandable
way (LAYOUT=fs). Nothing would prevent creating yet another different
way of storing them. In all cases once the Maildir directory is found,
the Maildir handling works exactly the same.
Okay, thanks for clearing that up =). I was just interested because maildir is such a 'new' thing to me compared with the mboxes of this world, and its made my life much easier since I started using it (especially the rsync backups). I think this thread is pretty much done, and your explanations could prove useful for the archives.
On 7/24/2009 1:47 AM, Timo Sirainen wrote:
mail_location: maildir:/home/data/Profiles/OfflineIMAP/root:LAYOUT=fs
Append :INBOX=/home/data/Profiles/OfflineIMAP/root
Hey, thanks, worked perfectly. I just rechecked the wiki, and this is not mentioned at all, should it be added? The only part of MalboxFormat/Maildir dealing with this, under Directory Structure, only mentions that v1.1 supports subfolders with :LAYOUT=fs.
Well, this wasn't really intentional.. LAYOUT=fs hasn't really been used much. I'm beginning to think maybe I should change this to be the default with it too.
I agree... maybe 2.0 would be a good time to do this since it would affect existing installations...
--
Best regards,
Charles
participants (3)
-
Charles Marcus
-
Ng Oon-Ee
-
Timo Sirainen