-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 26 Oct 2015, Julien Cubizolles wrote:
Steffen Kaiser <skdove...@smail.inf.fh-brs.de> writes:

On Sun, 25 Oct 2015, Julien Cubizolles wrote:

Date: Sun, 25 Oct 2015 14:50:19 +0100
From: Julien Cubizolles <j.cubizol...@free.fr>
To: dovecot@dovecot.org
Subject: Can't access maildir with dovecot

I'm a total newbie regarding imap servers. I'm trying to set up a
Offlineimap/dovecot/Gnus system and Gnus complains that it cannot access
the maildir... Here is my setup, put together by copying stuff from
around the web without any prior knowledge of these tools...

* Offlineimap is setup to use the $HOME/Maildir-free/, using

 --8<---------------cut here---------------start------------->8---
 preauthtunnel = /usr/lib/dovecot/imap -o 
mail_location=maildir:$HOME/Maildir-free
 --8<---------------cut here---------------end--------------->8---

 in the local maildir part of ~/.offlineimaprc.

* The Maildir-free maildir has been correctly (I think) populated
 with a single "General" folder.

 /home/wilk/Maildir-free:
 total used in directory 52 available 5502852
 drwxrwxr-x   6 wilk wilk  4096 oct.  23 11:10 .
 drwx------ 240 wilk wilk 20480 oct.  23 15:06 ..
 drwxrwxr-x   2 wilk wilk  4096 oct.  23 11:09 cur
 -rw-rw-r--   1 wilk wilk   348 oct.  23 11:10 dovecot.index.log
 -rw-rw-r--   1 wilk wilk    51 oct.  23 11:10 dovecot-uidlist
 -rw-rw-r--   1 wilk wilk     8 oct.  23 11:09 dovecot-uidvalidity
 -r--r--r--   1 wilk wilk     0 oct.  23 11:09 dovecot-uidvalidity.5629f967
 drwx------   6 wilk wilk  4096 oct.  23 11:16 General

Maildir++ prefixes all Mailboxes with ".", hence it should read: .General

It should be OfflineIMAP's job to name it that way, right ? I tried
adding "sep = ." to the Remote Repository but it seems it only affects
the subfolders, not the first-level one.

Also I naively renamed the General folder to .General, and dovecot still
can't access it.

Add:  -o mail_debug=yes

run this command as the user "wilk"

/usr/lib/dovecot/imap -o mail_location=maildir:/home/wilk/Maildir-free/ \
 -o mail_debug=yes

and check out the debug output.

- -- Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEVAwUBVi8l7nz1H7kL/d9rAQLrjQgAvXe4EnsuH+qEISCdNS/Up741jQZuzcpu
+v+8b+YcR5zlyCqOCbnVg9ckbmDQ2xse4BpMJFTq57nh/kNw6jujppqQQyC56Rw8
2TNaJu/+x0NRc4oCHNbOw4D4o+OZD6Cki5LYeYVZewJRFnGsaZAvKuaUsVNA4oir
SyDkYaVVsR6jlXeVq22zvadve+JRiwN7h4PWI5nfa2agbiVGC2cJndK4MzyOg5re
4o4aVzKU44RTJ6Xx5vMdH5Gi/86DR9aNVAZ7SkfWPPcwFjJ2lU43inJTLJL0BmDS
Hr3AJZtoV7D7sKfu8NU8JOsy9TsOZNIeRGcpHxVb8ut5HV775Uk0Ow==
=TC5l
-----END PGP SIGNATURE-----

Reply via email to