IMAP Dovecot cannot connectThunderbird fails to connect to Dovecot and PostfixDovecot (imap) not...
Why would future John risk sending back a T-800 to save his younger self?
Thread Pool C++ Implementation
With Ubuntu 18.04, how can I have a hot corner that locks the computer?
How to hide rifle during medieval town entrance inspection?
Why can't I use =default for default ctors with a member initializer list
How is water heavier than petrol, even though its molecular weight is less than petrol?
Someone whose aspirations exceed abilities or means
Colloquialism for “see you later”
Is it legal for a bar bouncer to confiscate a fake ID
How to use memset in c++?
Need feedback - Can the composition/colors of this design be fixed if something is lacking or is not a better fit?
How to handle self harm scars on the arm in work environment?
You have (3^2 + 2^3 + 2^2) Guesses Left. Figure out the Last one
What speaks against investing in precious metals?
Wooden cooking layout
How did old MS-DOS games utilize various graphic cards?
Longest bridge/tunnel that can be cycled over/through?
Meaning of 'lose their grip on the groins of their followers'
Generate basis elements of the Steenrod algebra
Is it expected that a reader will skip parts of what you write?
Overlapping String-Blocks
Winning Strategy for the Magician and his Apprentice
SQL counting distinct over partition
What is the purpose of the goat for Azazel, as opposed to conventional offerings?
IMAP Dovecot cannot connect
Thunderbird fails to connect to Dovecot and PostfixDovecot (imap) not startingunable establish remote imap connection, why not?dovecot not starting : service(imap) access(/usr/lib/dovecot/imap) failedDovecot with CAcert certificates, Outlook can't connect to IMAPCent OS 6.6 enable Plaintext authentication on dovecot and postfixPostfix does not work with TLS but Dovecot doesMutt and Postfix : relay access denieddovecot /usr/lib/dovecot/imap-login failed: Permission deniedDovecot rejecting client certificate
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I am trying to set up my own mail server (for 'fun'). I followed this tutorial to the bone. But I get this error message:
imap-login: Disconnected (auth failed, 2 attempts in 9 secs): user=<dayuloli@mydomain.com>, method=PLAIN, rip=203.210.7.43, lip=1.2.3.4, TLS: Disconnected, session=<VDW4ua8NzADL0gcr>
I am using the SSL certificate and key I have for my nginx web server, on the same machine.
I disabled plaintext authentication by adding these two lines (as per tutorial) to /etc/dovecot/conf.d/10-auth.conf
:
disable_plaintext_auth = yes
auth_mechanisms = plain login
But the method
in the log entry still says PLAIN
, and TLS
is Disconnected
. Could that be an issue?
There're too many configurations to post them all here. if you think you need more information, please tell me which parts and I will update my question.
ssl postfix smtp dovecot imap
bumped to the homepage by Community♦ 55 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
migrated from serverfault.com Jan 30 '15 at 11:25
This question came from our site for system and network administrators.
add a comment |
I am trying to set up my own mail server (for 'fun'). I followed this tutorial to the bone. But I get this error message:
imap-login: Disconnected (auth failed, 2 attempts in 9 secs): user=<dayuloli@mydomain.com>, method=PLAIN, rip=203.210.7.43, lip=1.2.3.4, TLS: Disconnected, session=<VDW4ua8NzADL0gcr>
I am using the SSL certificate and key I have for my nginx web server, on the same machine.
I disabled plaintext authentication by adding these two lines (as per tutorial) to /etc/dovecot/conf.d/10-auth.conf
:
disable_plaintext_auth = yes
auth_mechanisms = plain login
But the method
in the log entry still says PLAIN
, and TLS
is Disconnected
. Could that be an issue?
There're too many configurations to post them all here. if you think you need more information, please tell me which parts and I will update my question.
ssl postfix smtp dovecot imap
bumped to the homepage by Community♦ 55 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
migrated from serverfault.com Jan 30 '15 at 11:25
This question came from our site for system and network administrators.
auth failed => your IMAP client provided pair of username and password that doesn't match with your username and password stored in mysql
– masegaloeh
Jan 28 '15 at 9:26
@masegaloeh I double-, triple-checked my password and username and they are correct. There are so many places where it can go wrong - wrong encryption, missed parameters...I think I will just start again >_<
– dayuloli
Jan 28 '15 at 16:35
add a comment |
I am trying to set up my own mail server (for 'fun'). I followed this tutorial to the bone. But I get this error message:
imap-login: Disconnected (auth failed, 2 attempts in 9 secs): user=<dayuloli@mydomain.com>, method=PLAIN, rip=203.210.7.43, lip=1.2.3.4, TLS: Disconnected, session=<VDW4ua8NzADL0gcr>
I am using the SSL certificate and key I have for my nginx web server, on the same machine.
I disabled plaintext authentication by adding these two lines (as per tutorial) to /etc/dovecot/conf.d/10-auth.conf
:
disable_plaintext_auth = yes
auth_mechanisms = plain login
But the method
in the log entry still says PLAIN
, and TLS
is Disconnected
. Could that be an issue?
There're too many configurations to post them all here. if you think you need more information, please tell me which parts and I will update my question.
ssl postfix smtp dovecot imap
I am trying to set up my own mail server (for 'fun'). I followed this tutorial to the bone. But I get this error message:
imap-login: Disconnected (auth failed, 2 attempts in 9 secs): user=<dayuloli@mydomain.com>, method=PLAIN, rip=203.210.7.43, lip=1.2.3.4, TLS: Disconnected, session=<VDW4ua8NzADL0gcr>
I am using the SSL certificate and key I have for my nginx web server, on the same machine.
I disabled plaintext authentication by adding these two lines (as per tutorial) to /etc/dovecot/conf.d/10-auth.conf
:
disable_plaintext_auth = yes
auth_mechanisms = plain login
But the method
in the log entry still says PLAIN
, and TLS
is Disconnected
. Could that be an issue?
There're too many configurations to post them all here. if you think you need more information, please tell me which parts and I will update my question.
ssl postfix smtp dovecot imap
ssl postfix smtp dovecot imap
asked Jan 28 '15 at 8:19
dayulolidayuloli
255110
255110
bumped to the homepage by Community♦ 55 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 55 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
migrated from serverfault.com Jan 30 '15 at 11:25
This question came from our site for system and network administrators.
migrated from serverfault.com Jan 30 '15 at 11:25
This question came from our site for system and network administrators.
auth failed => your IMAP client provided pair of username and password that doesn't match with your username and password stored in mysql
– masegaloeh
Jan 28 '15 at 9:26
@masegaloeh I double-, triple-checked my password and username and they are correct. There are so many places where it can go wrong - wrong encryption, missed parameters...I think I will just start again >_<
– dayuloli
Jan 28 '15 at 16:35
add a comment |
auth failed => your IMAP client provided pair of username and password that doesn't match with your username and password stored in mysql
– masegaloeh
Jan 28 '15 at 9:26
@masegaloeh I double-, triple-checked my password and username and they are correct. There are so many places where it can go wrong - wrong encryption, missed parameters...I think I will just start again >_<
– dayuloli
Jan 28 '15 at 16:35
auth failed => your IMAP client provided pair of username and password that doesn't match with your username and password stored in mysql
– masegaloeh
Jan 28 '15 at 9:26
auth failed => your IMAP client provided pair of username and password that doesn't match with your username and password stored in mysql
– masegaloeh
Jan 28 '15 at 9:26
@masegaloeh I double-, triple-checked my password and username and they are correct. There are so many places where it can go wrong - wrong encryption, missed parameters...I think I will just start again >_<
– dayuloli
Jan 28 '15 at 16:35
@masegaloeh I double-, triple-checked my password and username and they are correct. There are so many places where it can go wrong - wrong encryption, missed parameters...I think I will just start again >_<
– dayuloli
Jan 28 '15 at 16:35
add a comment |
1 Answer
1
active
oldest
votes
Make sure your mail client forces using TLS.
To debug you could also try to comment the disable_plaintext_auth option out. Always reload/restart postfix or dovecot when changing something.
How do I 'force' the client to use TLS? I am trying to connect to it using my phone, and I tried bothSSL
andTLS
and it didn't work. I will try doing it again from scratch and checking after each step...even though that will taken me much longer!
– dayuloli
Jan 28 '15 at 16:34
Which client do you use? Mostly there is an connection option where you can choose SSL/TLS.
– sme
Jan 29 '15 at 15:28
I just use the one provided by my native Android phone. It let's me select something like 'SSL', 'SSL (Accept all certificates), 'TLS', 'TLS (Accept all certificates)'. And I tried them all already...Now I have reverted back to my old externally hosted mail server...since I was being a cowboy and losing email. I have decided now to host the mail server on its own machine and use a 'dummy' domain to test and make sure everything works
– dayuloli
Jan 29 '15 at 15:32
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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
});
}
});
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%2funix.stackexchange.com%2fquestions%2f181984%2fimap-dovecot-cannot-connect%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Make sure your mail client forces using TLS.
To debug you could also try to comment the disable_plaintext_auth option out. Always reload/restart postfix or dovecot when changing something.
How do I 'force' the client to use TLS? I am trying to connect to it using my phone, and I tried bothSSL
andTLS
and it didn't work. I will try doing it again from scratch and checking after each step...even though that will taken me much longer!
– dayuloli
Jan 28 '15 at 16:34
Which client do you use? Mostly there is an connection option where you can choose SSL/TLS.
– sme
Jan 29 '15 at 15:28
I just use the one provided by my native Android phone. It let's me select something like 'SSL', 'SSL (Accept all certificates), 'TLS', 'TLS (Accept all certificates)'. And I tried them all already...Now I have reverted back to my old externally hosted mail server...since I was being a cowboy and losing email. I have decided now to host the mail server on its own machine and use a 'dummy' domain to test and make sure everything works
– dayuloli
Jan 29 '15 at 15:32
add a comment |
Make sure your mail client forces using TLS.
To debug you could also try to comment the disable_plaintext_auth option out. Always reload/restart postfix or dovecot when changing something.
How do I 'force' the client to use TLS? I am trying to connect to it using my phone, and I tried bothSSL
andTLS
and it didn't work. I will try doing it again from scratch and checking after each step...even though that will taken me much longer!
– dayuloli
Jan 28 '15 at 16:34
Which client do you use? Mostly there is an connection option where you can choose SSL/TLS.
– sme
Jan 29 '15 at 15:28
I just use the one provided by my native Android phone. It let's me select something like 'SSL', 'SSL (Accept all certificates), 'TLS', 'TLS (Accept all certificates)'. And I tried them all already...Now I have reverted back to my old externally hosted mail server...since I was being a cowboy and losing email. I have decided now to host the mail server on its own machine and use a 'dummy' domain to test and make sure everything works
– dayuloli
Jan 29 '15 at 15:32
add a comment |
Make sure your mail client forces using TLS.
To debug you could also try to comment the disable_plaintext_auth option out. Always reload/restart postfix or dovecot when changing something.
Make sure your mail client forces using TLS.
To debug you could also try to comment the disable_plaintext_auth option out. Always reload/restart postfix or dovecot when changing something.
answered Jan 28 '15 at 9:20
sme
How do I 'force' the client to use TLS? I am trying to connect to it using my phone, and I tried bothSSL
andTLS
and it didn't work. I will try doing it again from scratch and checking after each step...even though that will taken me much longer!
– dayuloli
Jan 28 '15 at 16:34
Which client do you use? Mostly there is an connection option where you can choose SSL/TLS.
– sme
Jan 29 '15 at 15:28
I just use the one provided by my native Android phone. It let's me select something like 'SSL', 'SSL (Accept all certificates), 'TLS', 'TLS (Accept all certificates)'. And I tried them all already...Now I have reverted back to my old externally hosted mail server...since I was being a cowboy and losing email. I have decided now to host the mail server on its own machine and use a 'dummy' domain to test and make sure everything works
– dayuloli
Jan 29 '15 at 15:32
add a comment |
How do I 'force' the client to use TLS? I am trying to connect to it using my phone, and I tried bothSSL
andTLS
and it didn't work. I will try doing it again from scratch and checking after each step...even though that will taken me much longer!
– dayuloli
Jan 28 '15 at 16:34
Which client do you use? Mostly there is an connection option where you can choose SSL/TLS.
– sme
Jan 29 '15 at 15:28
I just use the one provided by my native Android phone. It let's me select something like 'SSL', 'SSL (Accept all certificates), 'TLS', 'TLS (Accept all certificates)'. And I tried them all already...Now I have reverted back to my old externally hosted mail server...since I was being a cowboy and losing email. I have decided now to host the mail server on its own machine and use a 'dummy' domain to test and make sure everything works
– dayuloli
Jan 29 '15 at 15:32
How do I 'force' the client to use TLS? I am trying to connect to it using my phone, and I tried both
SSL
and TLS
and it didn't work. I will try doing it again from scratch and checking after each step...even though that will taken me much longer!– dayuloli
Jan 28 '15 at 16:34
How do I 'force' the client to use TLS? I am trying to connect to it using my phone, and I tried both
SSL
and TLS
and it didn't work. I will try doing it again from scratch and checking after each step...even though that will taken me much longer!– dayuloli
Jan 28 '15 at 16:34
Which client do you use? Mostly there is an connection option where you can choose SSL/TLS.
– sme
Jan 29 '15 at 15:28
Which client do you use? Mostly there is an connection option where you can choose SSL/TLS.
– sme
Jan 29 '15 at 15:28
I just use the one provided by my native Android phone. It let's me select something like 'SSL', 'SSL (Accept all certificates), 'TLS', 'TLS (Accept all certificates)'. And I tried them all already...Now I have reverted back to my old externally hosted mail server...since I was being a cowboy and losing email. I have decided now to host the mail server on its own machine and use a 'dummy' domain to test and make sure everything works
– dayuloli
Jan 29 '15 at 15:32
I just use the one provided by my native Android phone. It let's me select something like 'SSL', 'SSL (Accept all certificates), 'TLS', 'TLS (Accept all certificates)'. And I tried them all already...Now I have reverted back to my old externally hosted mail server...since I was being a cowboy and losing email. I have decided now to host the mail server on its own machine and use a 'dummy' domain to test and make sure everything works
– dayuloli
Jan 29 '15 at 15:32
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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%2funix.stackexchange.com%2fquestions%2f181984%2fimap-dovecot-cannot-connect%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
auth failed => your IMAP client provided pair of username and password that doesn't match with your username and password stored in mysql
– masegaloeh
Jan 28 '15 at 9:26
@masegaloeh I double-, triple-checked my password and username and they are correct. There are so many places where it can go wrong - wrong encryption, missed parameters...I think I will just start again >_<
– dayuloli
Jan 28 '15 at 16:35