Ubuntu 18.04.02 Dovecot configuration problem
My problem surfaced after the Ubuntu 16.04 upgrade to Ubuntu 18.04.02. Both Outlook client and Thunderbird client fail to connect to the IMAP server. I include some information about my configuration, hoping that someone can help.
==========================
$ dovecot -n
# 2.2.33.2 (d6601f4ec): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.21 (92477967)
# OS: Linux 4.15.0-45-generic x86_64 Ubuntu 18.04.2 LTS
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/ssl/mydomain/certs/linux.pem
ssl_client_ca_dir = /usr/local/ssl/mydomain/certs
ssl_key = # hidden, use -P to show it
userdb {
driver = passwd
}
Where "linux.pem" is a CA certificate (not self-signed) and working well with Apache 2.
==================================
The /var/log/auth.log
doesn't show errors when I try to open the client, but the mail.log
shows:
Feb 19 19:23:18 linux dovecot: master: Dovecot v2.2.33.2 (d6601f4ec) starting up
for imap, pop3 (core dumps disabled)
Feb 19 19:23:38 linux dovecot: imap-login: Disconnected (auth failed, 1 attempts
in 2 secs): user=<ilasa01>, method=PLAIN, rip=172.19.0.25, lip=172.19.0.4, TLS
: Disconnected, session=<QYaGLUSCX/SsEABr>
Feb 19 19:23:45 linux dovecot: imap-login: Disconnected (auth failed, 1 attempts
in 6 secs): user=<ilasa01>, method=PLAIN, rip=172.19.0.25, lip=172.19.0.4, TLS
: Disconnected, session=
If I change the passwd {
driver = shadow
}
in authconf-system.con.ext, then the /var/log/auth.log shows the following error:
linux auth: pam_winbind(dovecot:auth): request wbcLogonUser fail
ed: WBC_ERR_AUTH_ERROR, PAM error: PAM_USER_UNKNOWN (10), NTSTATUS: NT_STATUS_NO
_SUCH_USER, Error message was: The specified account does not exist.
Feb 19 19:43:44 linux auth: pam_unix(dovecot:auth): authentication failure; logn
ame= uid=0 euid=0 tty=dovecot ruser=ilasa01 rhost=172.19.0.25 user=ilasa01
Feb 19 19:43:44 linux auth: pam_winbind(dovecot:auth): getting password (0x00000
388)
Feb 19 19:43:44 linux auth: pam_winbind(dovecot:auth): pam_get_item returned a p
assword
Feb 19 19:43:44 linux auth: pam_winbind(dovecot:auth): request wbcLogonUser fail
ed: WBC_ERR_AUTH_ERROR, PAM error: PAM_USER_UNKNOWN (10), NTSTATUS: NT_STATUS_NO
_SUCH_USER, Error message was: The specified account does not exist.
Any idea about the problem, please?
Thanks.
dovecot
New contributor
add a comment |
My problem surfaced after the Ubuntu 16.04 upgrade to Ubuntu 18.04.02. Both Outlook client and Thunderbird client fail to connect to the IMAP server. I include some information about my configuration, hoping that someone can help.
==========================
$ dovecot -n
# 2.2.33.2 (d6601f4ec): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.21 (92477967)
# OS: Linux 4.15.0-45-generic x86_64 Ubuntu 18.04.2 LTS
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/ssl/mydomain/certs/linux.pem
ssl_client_ca_dir = /usr/local/ssl/mydomain/certs
ssl_key = # hidden, use -P to show it
userdb {
driver = passwd
}
Where "linux.pem" is a CA certificate (not self-signed) and working well with Apache 2.
==================================
The /var/log/auth.log
doesn't show errors when I try to open the client, but the mail.log
shows:
Feb 19 19:23:18 linux dovecot: master: Dovecot v2.2.33.2 (d6601f4ec) starting up
for imap, pop3 (core dumps disabled)
Feb 19 19:23:38 linux dovecot: imap-login: Disconnected (auth failed, 1 attempts
in 2 secs): user=<ilasa01>, method=PLAIN, rip=172.19.0.25, lip=172.19.0.4, TLS
: Disconnected, session=<QYaGLUSCX/SsEABr>
Feb 19 19:23:45 linux dovecot: imap-login: Disconnected (auth failed, 1 attempts
in 6 secs): user=<ilasa01>, method=PLAIN, rip=172.19.0.25, lip=172.19.0.4, TLS
: Disconnected, session=
If I change the passwd {
driver = shadow
}
in authconf-system.con.ext, then the /var/log/auth.log shows the following error:
linux auth: pam_winbind(dovecot:auth): request wbcLogonUser fail
ed: WBC_ERR_AUTH_ERROR, PAM error: PAM_USER_UNKNOWN (10), NTSTATUS: NT_STATUS_NO
_SUCH_USER, Error message was: The specified account does not exist.
Feb 19 19:43:44 linux auth: pam_unix(dovecot:auth): authentication failure; logn
ame= uid=0 euid=0 tty=dovecot ruser=ilasa01 rhost=172.19.0.25 user=ilasa01
Feb 19 19:43:44 linux auth: pam_winbind(dovecot:auth): getting password (0x00000
388)
Feb 19 19:43:44 linux auth: pam_winbind(dovecot:auth): pam_get_item returned a p
assword
Feb 19 19:43:44 linux auth: pam_winbind(dovecot:auth): request wbcLogonUser fail
ed: WBC_ERR_AUTH_ERROR, PAM error: PAM_USER_UNKNOWN (10), NTSTATUS: NT_STATUS_NO
_SUCH_USER, Error message was: The specified account does not exist.
Any idea about the problem, please?
Thanks.
dovecot
New contributor
add a comment |
My problem surfaced after the Ubuntu 16.04 upgrade to Ubuntu 18.04.02. Both Outlook client and Thunderbird client fail to connect to the IMAP server. I include some information about my configuration, hoping that someone can help.
==========================
$ dovecot -n
# 2.2.33.2 (d6601f4ec): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.21 (92477967)
# OS: Linux 4.15.0-45-generic x86_64 Ubuntu 18.04.2 LTS
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/ssl/mydomain/certs/linux.pem
ssl_client_ca_dir = /usr/local/ssl/mydomain/certs
ssl_key = # hidden, use -P to show it
userdb {
driver = passwd
}
Where "linux.pem" is a CA certificate (not self-signed) and working well with Apache 2.
==================================
The /var/log/auth.log
doesn't show errors when I try to open the client, but the mail.log
shows:
Feb 19 19:23:18 linux dovecot: master: Dovecot v2.2.33.2 (d6601f4ec) starting up
for imap, pop3 (core dumps disabled)
Feb 19 19:23:38 linux dovecot: imap-login: Disconnected (auth failed, 1 attempts
in 2 secs): user=<ilasa01>, method=PLAIN, rip=172.19.0.25, lip=172.19.0.4, TLS
: Disconnected, session=<QYaGLUSCX/SsEABr>
Feb 19 19:23:45 linux dovecot: imap-login: Disconnected (auth failed, 1 attempts
in 6 secs): user=<ilasa01>, method=PLAIN, rip=172.19.0.25, lip=172.19.0.4, TLS
: Disconnected, session=
If I change the passwd {
driver = shadow
}
in authconf-system.con.ext, then the /var/log/auth.log shows the following error:
linux auth: pam_winbind(dovecot:auth): request wbcLogonUser fail
ed: WBC_ERR_AUTH_ERROR, PAM error: PAM_USER_UNKNOWN (10), NTSTATUS: NT_STATUS_NO
_SUCH_USER, Error message was: The specified account does not exist.
Feb 19 19:43:44 linux auth: pam_unix(dovecot:auth): authentication failure; logn
ame= uid=0 euid=0 tty=dovecot ruser=ilasa01 rhost=172.19.0.25 user=ilasa01
Feb 19 19:43:44 linux auth: pam_winbind(dovecot:auth): getting password (0x00000
388)
Feb 19 19:43:44 linux auth: pam_winbind(dovecot:auth): pam_get_item returned a p
assword
Feb 19 19:43:44 linux auth: pam_winbind(dovecot:auth): request wbcLogonUser fail
ed: WBC_ERR_AUTH_ERROR, PAM error: PAM_USER_UNKNOWN (10), NTSTATUS: NT_STATUS_NO
_SUCH_USER, Error message was: The specified account does not exist.
Any idea about the problem, please?
Thanks.
dovecot
New contributor
My problem surfaced after the Ubuntu 16.04 upgrade to Ubuntu 18.04.02. Both Outlook client and Thunderbird client fail to connect to the IMAP server. I include some information about my configuration, hoping that someone can help.
==========================
$ dovecot -n
# 2.2.33.2 (d6601f4ec): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.21 (92477967)
# OS: Linux 4.15.0-45-generic x86_64 Ubuntu 18.04.2 LTS
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/ssl/mydomain/certs/linux.pem
ssl_client_ca_dir = /usr/local/ssl/mydomain/certs
ssl_key = # hidden, use -P to show it
userdb {
driver = passwd
}
Where "linux.pem" is a CA certificate (not self-signed) and working well with Apache 2.
==================================
The /var/log/auth.log
doesn't show errors when I try to open the client, but the mail.log
shows:
Feb 19 19:23:18 linux dovecot: master: Dovecot v2.2.33.2 (d6601f4ec) starting up
for imap, pop3 (core dumps disabled)
Feb 19 19:23:38 linux dovecot: imap-login: Disconnected (auth failed, 1 attempts
in 2 secs): user=<ilasa01>, method=PLAIN, rip=172.19.0.25, lip=172.19.0.4, TLS
: Disconnected, session=<QYaGLUSCX/SsEABr>
Feb 19 19:23:45 linux dovecot: imap-login: Disconnected (auth failed, 1 attempts
in 6 secs): user=<ilasa01>, method=PLAIN, rip=172.19.0.25, lip=172.19.0.4, TLS
: Disconnected, session=
If I change the passwd {
driver = shadow
}
in authconf-system.con.ext, then the /var/log/auth.log shows the following error:
linux auth: pam_winbind(dovecot:auth): request wbcLogonUser fail
ed: WBC_ERR_AUTH_ERROR, PAM error: PAM_USER_UNKNOWN (10), NTSTATUS: NT_STATUS_NO
_SUCH_USER, Error message was: The specified account does not exist.
Feb 19 19:43:44 linux auth: pam_unix(dovecot:auth): authentication failure; logn
ame= uid=0 euid=0 tty=dovecot ruser=ilasa01 rhost=172.19.0.25 user=ilasa01
Feb 19 19:43:44 linux auth: pam_winbind(dovecot:auth): getting password (0x00000
388)
Feb 19 19:43:44 linux auth: pam_winbind(dovecot:auth): pam_get_item returned a p
assword
Feb 19 19:43:44 linux auth: pam_winbind(dovecot:auth): request wbcLogonUser fail
ed: WBC_ERR_AUTH_ERROR, PAM error: PAM_USER_UNKNOWN (10), NTSTATUS: NT_STATUS_NO
_SUCH_USER, Error message was: The specified account does not exist.
Any idea about the problem, please?
Thanks.
dovecot
dovecot
New contributor
New contributor
edited 7 hours ago
Sal
New contributor
asked 7 hours ago
SalSal
11
11
New contributor
New contributor
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sal is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1119632%2fubuntu-18-04-02-dovecot-configuration-problem%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sal is a new contributor. Be nice, and check out our Code of Conduct.
Sal is a new contributor. Be nice, and check out our Code of Conduct.
Sal is a new contributor. Be nice, and check out our Code of Conduct.
Sal is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1119632%2fubuntu-18-04-02-dovecot-configuration-problem%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown