Dear Colleagues,
I have a fairly vanilla setup of dovecot on FreeBSD, serving IMAP and POP3.
Thunderbird/IMAP works fine, and so does mutt/IMAP.
However, Android clients (Gmail/IMAP and K-9 Mail) have problems
accessing folders other than the INBOX. They either show them empty
with no mails (K-9) or just wait forever to view the contents (Gmail app).
Do I need to set up some workarounds or hacks in dovecot for Android
IMAP clients to work correctly? Any advice is appreciated.
My config is below:
# 2.3.2.1 (0719df592): /usr/local/etc/dovecot/dovecot.conf
# OS: FreeBSD 11.2-RELEASE-p3 amd64
# Hostname: admin.sibptus.ru
mail_location = mbox:~/Mail:INBOX=/var/mail/%u
mail_privileged_group = mail
namespace inbox {
inbox = yes
location =
mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
special_use = \Trash
}
prefix =
}
passdb {
driver = pam
}
protocols = imap pop3
ssl_cert = </usr/local/etc/exim/mail.pem
ssl_dh = # hidden, use -P to show it
ssl_key = # hidden, use -P to show it
userdb {
driver = passwd
}
--
Victor Sudakov, VAS4-RIPE, VAS47-RIPN
2:5005/49 at fidonet http://vas.tomsk.ru/
You can try doing this:
protocol imap {
? rawlog_dir = %h/rawlogs
}
then make directory under user's homedir called rawlogs and chmod 0777 it.
Then try, you should end up with lots of files that are full of chatter
between the client & server, maybe it gives you more indication what
goes wrong.
Aki
On 25.09.2018 05:47, Victor Sudakov wrote:> Dear Colleagues,
>
> I have a fairly vanilla setup of dovecot on FreeBSD, serving IMAP and POP3.
> Thunderbird/IMAP works fine, and so does mutt/IMAP.
>
> However, Android clients (Gmail/IMAP and K-9 Mail) have problems
> accessing folders other than the INBOX. They either show them empty
> with no mails (K-9) or just wait forever to view the contents (Gmail app).
>
> Do I need to set up some workarounds or hacks in dovecot for Android
> IMAP clients to work correctly? Any advice is appreciated.
>
>
> My config is below:
>
> # 2.3.2.1 (0719df592): /usr/local/etc/dovecot/dovecot.conf
> # OS: FreeBSD 11.2-RELEASE-p3 amd64
> # Hostname: admin.sibptus.ru
> mail_location = mbox:~/Mail:INBOX=/var/mail/%u
> mail_privileged_group = mail
> namespace inbox {
> inbox = yes
> location =
> mailbox Drafts {
> special_use = \Drafts
> }
> mailbox Junk {
> special_use = \Junk
> }
> mailbox Sent {
> special_use = \Sent
> }
> mailbox "Sent Messages" {
> special_use = \Sent
> }
> mailbox Trash {
> special_use = \Trash
> }
> prefix =
> }
> passdb {
> driver = pam
> }
> protocols = imap pop3
> ssl_cert = </usr/local/etc/exim/mail.pem
> ssl_dh = # hidden, use -P to show it
> ssl_key = # hidden, use -P to show it
> userdb {
> driver = passwd
> }
>
Aki Tuomi wrote:> You can try doing this: > > protocol imap { > > ? rawlog_dir = %h/rawlogs > > } > > then make directory under user's homedir called rawlogs and chmod 0777 it. > > Then try, you should end up with lots of files that are full of chatter > between the client & server, maybe it gives you more indication what > goes wrong.I am afraid I don't know the protocol well enough to parse this chatter. I was looking for a more cookbook solution. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49 at fidonet http://vas.tomsk.ru/