Wow, that is lot of useless config, see below for a fixed version to put into
dovecot.conf =)
Aki
auth_mechanisms = plain login
## doing this lets people log in without SSL
#disable_plaintext_auth = no
listen = *
mail_location = mbox:~/mail:INBOX=/var/mail/%u
namespace {
inbox = yes
mailbox {
special_use = \Drafts
name = Drafts
}
mailbox {
special_use = \Junk
name = Junk
}
mailbox {
special_use = \Sent
name = Sent
}
mailbox {
special_use = \Sent
name = Sent Messages
}
mailbox {
special_use = \Trash
name = Trash
}
name = inbox
}
passdb {
driver = pam
}
protocols = imap
service auth {
unix_listener {
group = postfix
mode = 0660
user = postfix
path = /var/spool/postfix/private/auth
}
}
## this is useless config, as it's default
#service imap-login {
# inet_listener {
# port = 143
# name = imap
# }
# inet_listener {
# port = 993
# ssl = yes
# name = imaps
# }
#}
ssl_cert = </etc/dovecot/dovecot.pem
ssl_key = # hidden, use -P to show it
userdb {
driver = passwd
}
## end of config
> On 17 February 2019 at 12:45 soydepr <soydepr at gmail.com> wrote:
>
>
> # 2.2.27 (c0f36b0): /etc/dovecot/dovecot.conf
> # Pigeonhole version 0.4.16 (fed8554)
> # OS: Linux 4.14.79-v7+ armv7l Debian 9.6
> auth_mechanisms = plain login
> disable_plaintext_auth = no
> listen = *
> mail_location = mbox:~/mail:INBOX=/var/mail/%u
> namespace {
> inbox = yes