Can't access maildir with dovecot

Julien Cubizolles j.cubizolles at free.fr
Tue Oct 27 08:13:46 UTC 2015


Steffen Kaiser <skdovecot at smail.inf.fh-brs.de> writes:

> 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.

Here is what I got:

Debug: Effective uid=1000, gid=1000, home=/home/wilk
Debug: Namespace inbox: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:/home/wilk/Maildir-free
Debug: maildir++: root=/home/wilk/Maildir-free, index=, indexpvt=, control=, inbox=/home/wilk/Maildir-free, alt=


But I also tried something different:

I put a
--8<---------------cut here---------------start------------->8---
preauthtunnel = /usr/lib/dovecot/imap -c ~/.dovecotrc
--8<---------------cut here---------------end--------------->8---
line in .offlineimaprc

and
~/.dovecotrc
--8<---------------cut here---------------start------------->8---
protocols = imap
mail_location = maildir:~/Maildir-free
auth default {
}
--8<---------------cut here---------------end--------------->8---

And now it's working, also there are no differences in the debug logs

--8<---------------cut here---------------start------------->8---
Debug: Effective uid=1000, gid=1000, home=/home/wilk
Debug: Namespace inbox: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:/home/wilk/Maildir-free
Debug: maildir++: root=/home/wilk/Maildir-free, index=, indexpvt=, control=, inbox=/home/wilk/Maildir-free, alt=
--8<---------------cut here---------------end--------------->8---

Thanks for your help.

Julien.


More information about the dovecot mailing list