Hello,
About the INBOX location when using maildir, in the wiki,
http://wiki.dovecot.org/MailboxFormat/Maildir, I can read:
"
Directory Structure
~/Maildir/new, ~/Maildir/cur and ~/Maildir/tmp directories contain
the messages for INBOX. The tmp directory is used during delivery, new
messages arrive in new and read shall be moved to cur by the clients.
"
But in my Maildir, I see this:
niko at petole:~$ ls -la Maildir/
total 144
drwxr-xr-x 35 niko niko 4096 2009-02-06 08:37 .
drwxr-xr-x 25 niko niko 4096 2009-02-06 10:26 ..
drwxr-xr-x 5 niko niko 4096 2009-02-06 09:16 .INBOX
...
There are no 'cur', 'new' and 'tmp' directories in
~/Maildir, as written
in the wiki, but instead this .INBOX directory which contains these
'cur', 'new' and 'tmp'.
Is this expected ? Thanks.
My configuration:
petole:~# dovecot -n
# 1.1.11: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.28.3 i686 Debian 4.0
ssl_cert_file: /etc/ssl/certs/petole.demisel.net.pem
ssl_key_file: /etc/ssl/private/petole.demisel.net.pem
login_dir: /var/run/dovecot/login
login_executable: /usr/lib/dovecot/imap-login
mail_location: maildir:~/Maildir
namespace:
type: private
separator: /
list: yes
subscriptions: yes
auth default:
passdb:
driver: pam
userdb:
driver: passwd
socket:
type: listen
master:
path: /var/run/dovecot/auth-master
mode: 384
--
Nicolas
Nicolas KOWALSKI schrieb:> Hello, > > About the INBOX location when using maildir, in the wiki, > http://wiki.dovecot.org/MailboxFormat/Maildir, I can read: > > " > Directory Structure > > ~/Maildir/new, ~/Maildir/cur and ~/Maildir/tmp directories contain > the messages for INBOX. The tmp directory is used during delivery, new > messages arrive in new and read shall be moved to cur by the clients. > " > > > But in my Maildir, I see this: > > niko at petole:~$ ls -la Maildir/ > total 144 > drwxr-xr-x 35 niko niko 4096 2009-02-06 08:37 . > drwxr-xr-x 25 niko niko 4096 2009-02-06 10:26 .. > drwxr-xr-x 5 niko niko 4096 2009-02-06 09:16 .INBOX > ... > > > There are no 'cur', 'new' and 'tmp' directories in ~/Maildir, as written > in the wiki, but instead this .INBOX directory which contains these > 'cur', 'new' and 'tmp'. > > Is this expected ? Thanks.The namespace and folder structure needs to be reflected in Maildir - I presume that namespace configuration also has a say in the layout. For me, who runs Dovecot without namespace configuration, Dovecot has the layout you expect. So I'd say it's the namespace configuration that causes INBOX to appear as a subdirectory of Maildir/. http://www.inter7.com/courierimap/README.maildirquota.html - see under "Definitions, and goals".> > > My configuration: > > petole:~# dovecot -n > # 1.1.11: /etc/dovecot/dovecot.conf > # OS: Linux 2.6.28.3 i686 Debian 4.0 > ssl_cert_file: /etc/ssl/certs/petole.demisel.net.pem > ssl_key_file: /etc/ssl/private/petole.demisel.net.pem > login_dir: /var/run/dovecot/login > login_executable: /usr/lib/dovecot/imap-login > mail_location: maildir:~/Maildir > namespace: > type: private > separator: / > list: yes > subscriptions: yes > auth default: > passdb: > driver: pam > userdb: > driver: passwd > socket: > type: listen > master: > path: /var/run/dovecot/auth-master > mode: 384 > >
On Fri, 2009-02-06 at 11:15 +0100, Nicolas KOWALSKI wrote:> ~/Maildir/new, ~/Maildir/cur and ~/Maildir/tmp directories contain > the messages for INBOX. The tmp directory is used during delivery, new > messages arrive in new and read shall be moved to cur by the clients. > "Right.> But in my Maildir, I see this: > > niko at petole:~$ ls -la Maildir/ > total 144 > drwxr-xr-x 35 niko niko 4096 2009-02-06 08:37 . > drwxr-xr-x 25 niko niko 4096 2009-02-06 10:26 .. > drwxr-xr-x 5 niko niko 4096 2009-02-06 09:16 .INBOX > ... > > > There are no 'cur', 'new' and 'tmp' directories in ~/Maildir, as written > in the wiki, but instead this .INBOX directory which contains these > 'cur', 'new' and 'tmp'. > > Is this expected ? Thanks.No, it's not expected. And you mean Dovecot actually finds the mails from the .INBOX? I don't really see how/why it would with your configuration. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20090206/576b194f/attachment-0002.bin>
On Fri, Feb 06, 2009 at 03:15:17PM -0500, Timo Sirainen wrote:> > There are no 'cur', 'new' and 'tmp' directories in ~/Maildir, as written > > in the wiki, but instead this .INBOX directory which contains these > > 'cur', 'new' and 'tmp'. > > > > Is this expected ? Thanks. > > No, it's not expected. And you mean Dovecot actually finds the mails > from the .INBOX? I don't really see how/why it would with your > configuration.Yes, dovecot find the mails in INBOX from ~/Maildir/.INBOX . The deliver tool also stores incoming mail in this folder. If you want, I have strace output of a sample deliver run. -- Nicolas