RainLoop / rainloop-webmail

Simple, modern & fast web-based email client
http://rainloop.net
MIT License
4.1k stars 883 forks source link

Authentication failed - logging into gmail account #1064

Open ghost opened 8 years ago

ghost commented 8 years ago

Hello, No matter what i try to configure in the domain configuration of gmail i cannot login using my gmail credentials. It always says Authentication failed. My own mail server just works fine using the same domain setup. Here's the mail log: Jun 11 12:34:17 mail dovecot: imap-login: Login: user=<ninetailz@xxx.xx>, method=PLAIN, rip=52.86.235.215, lip=172.31.52.232, mpid=9202, TLS, TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits) Jun 11 12:34:17 mail dovecot: imap(ninetailz@xxx.xx): Disconnected: Logged out in=504 out=13888 Jun 11 12:34:19 mail dovecot: imap-login: Login: user=<ninetailz@xxx.xx>, method=PLAIN, rip=52.86.235.215, lip=172.31.52.232, mpid=9204, TLS, TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits) Jun 11 12:34:19 mail dovecot: imap(ninetailz@xxx.xx): Disconnected: Logged out in=504 out=4106 Jun 11 12:34:21 mail dovecot: imap-login: Login: user=<ninetailz@xxx.xx>, method=PLAIN, rip=52.86.235.215, lip=172.31.52.232, mpid=9206, TLS, TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits) Jun 11 12:34:21 mail dovecot: imap(ninetailz@xxx.xx): Disconnected: Logged out in=504 out=8062 Jun 11 12:34:23 mail dovecot: imap-login: Login: user=<ninetailz@xxx.xx>, method=PLAIN, rip=52.86.235.215, lip=172.31.52.232, mpid=9208, TLS, TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits) Jun 11 12:34:23 mail dovecot: imap(ninetailz@xxx.xx): Disconnected: Logged out in=506 out=6040 Jun 11 12:34:25 mail dovecot: imap-login: Login: user=<ninetailz@xxx.xx>, method=PLAIN, rip=52.86.235.215, lip=172.31.52.232, mpid=9210, TLS, TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits) Jun 11 12:34:25 mail dovecot: imap(ninetailz@xxx.xx): Disconnected: Logged out in=506 out=28570 Jun 11 12:34:27 mail dovecot: imap-login: Login: user=<ninetailz@xxx.xx>, method=PLAIN, rip=52.86.235.215, lip=172.31.52.232, mpid=9212, TLS, TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits) Jun 11 12:34:27 mail dovecot: imap(ninetailz@xxx.xx): Disconnected: Logged out in=506 out=27589 Jun 11 12:34:29 mail dovecot: imap-login: Login: user=<ninetailz@xxx.xx>, method=PLAIN, rip=23.21.37.77, lip=172.31.52.232, mpid=9214, TLS, TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits) Jun 11 12:34:29 mail dovecot: imap(ninetailz@xxx.xx): Disconnected: Logged out in=82 out=725 Jun 11 12:34:29 mail dovecot: imap-login: Login: user=<ninetailz@xxx.xx>, method=PLAIN, rip=23.21.37.77, lip=172.31.52.232, mpid=9216, TLS, TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits) Jun 11 12:34:29 mail dovecot: imap(ninetailz@xxx.xx): Disconnected: Logged out in=70 out=723 Jun 11 12:34:29 mail dovecot: imap-login: Login: user=<ninetailz@xxx.xx>, method=PLAIN, rip=23.21.37.77, lip=172.31.52.232, mpid=9219, TLS, TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits) Jun 11 12:34:29 mail dovecot: imap-login: Login: user=<ninetailz@xxx.xx>, method=PLAIN, rip=23.21.37.77, lip=172.31.52.232, mpid=9220, TLS, TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits) Jun 11 12:34:29 mail dovecot: imap(ninetailz@xxx.xx): Disconnected: Logged out in=241 out=823 Jun 11 12:34:29 mail dovecot: imap(ninetailz@xxx.xx): Disconnected: Logged out in=344 out=34306 Jun 11 12:34:49 mail dovecot: imap-login: Login: user=<ninetailz@xxx.xx>, method=PLAIN, rip=52.86.235.215, lip=172.31.52.232, mpid=9222, TLS, TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits) Jun 11 12:34:49 mail dovecot: imap(ninetailz@xxx.xx): Disconnected: Logged out in=920 out=482 Jun 11 12:34:49 mail dovecot: imap-login: Login: user=<ninetailz@xxx.xx>, method=PLAIN, rip=52.86.235.215, lip=172.31.52.232, mpid=9225, TLS, TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits) Jun 11 12:34:49 mail dovecot: imap(ninetailz@xxx.xx): Disconnected: Logged out in=90 out=906 Jun 11 12:35:14 mail dovecot: imap-login: Login: user=<ninetailz@xxx.xx>, method=PLAIN, rip=52.86.235.215, lip=172.31.52.232, mpid=9227, TLS, TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits) Jun 11 12:35:14 mail dovecot: imap(ninetailz@xxx.xx): Disconnected: Logged out in=89 out=907 Jun 11 12:35:14 mail dovecot: imap-login: Login: user=<ninetailz@xxx.xx>, method=PLAIN, rip=52.86.235.215, lip=172.31.52.232, mpid=9229, TLS, TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits) Jun 11 12:35:14 mail dovecot: imap(ninetailz@xxx.xx): Disconnected: Logged out in=1024 out=1278 Jun 11 12:35:14 mail dovecot: imap-login: Login: user=<ninetailz@xxx.xx>, method=PLAIN, rip=52.86.235.215, lip=172.31.52.232, mpid=9232, TLS, TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits) Jun 11 12:35:14 mail dovecot: imap(ninetailz@xxx.xx): Disconnected: Logged out in=90 out=906 Jun 11 12:35:21 mail dovecot: imap-login: Login: user=<ninetailz@xxx.xx>, method=PLAIN, rip=52.86.235.215, lip=172.31.52.232, mpid=9234, TLS, TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits) Jun 11 12:35:21 mail dovecot: imap(ninetailz@xxx.xx): Disconnected: Logged out in=584 out=2326 Jun 11 12:35:22 mail dovecot: imap-login: Login: user=<ninetailz@xxx.xx>, method=PLAIN, rip=52.86.235.215, lip=172.31.52.232, mpid=9236, TLS, TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits) Jun 11 12:35:22 mail dovecot: imap(ninetailz@xxx.xx): Disconnected: Logged out in=503 out=2057 Jun 11 12:35:27 mail dovecot: imap-login: Login: user=<ninetailz@xxx.xx>, method=PLAIN, rip=52.86.235.215, lip=172.31.52.232, mpid=9238, TLS, TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits) Jun 11 12:35:27 mail dovecot: imap(ninetailz@xxx.xx): Disconnected: Logged out in=192 out=1329 Jun 11 12:35:27 mail dovecot: imap-login: Login: user=<ninetailz@xxx.xx>, method=PLAIN, rip=52.86.235.215, lip=172.31.52.232, mpid=9240, TLS, TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits) Jun 11 12:35:27 mail dovecot: imap(ninetailz@xxx.xx): Disconnected: Logged out in=112 out=1297 Jun 11 12:35:57 mail dovecot: imap-login: Login: user=<ninetailz@xxx.xx>, method=PLAIN, rip=52.86.235.215, lip=172.31.52.232, mpid=9300, TLS, TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits) Jun 11 12:35:57 mail dovecot: imap(ninetailz@xxx.xx): Disconnected: Logged out in=55 out=923 Jun 11 12:36:58 mail dovecot: imap-login: Login: user=<thunderbolt@xxx.xx>, method=PLAIN, rip=52.86.235.215, lip=172.31.52.232, mpid=9331, TLS, TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits) Jun 11 12:36:58 mail dovecot: imap(thunderbolt@xxx.xx): Disconnected: Logged out in=11 out=423 Jun 11 12:36:59 mail dovecot: imap-login: Login: user=<thunderbolt@xxx.xx>, method=PLAIN, rip=52.86.235.215, lip=172.31.52.232, mpid=9333, TLS, TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits) Jun 11 12:36:59 mail dovecot: imap(thunderbolt@xxx.xx): Disconnected: Logged out in=80 out=1338 Jun 11 12:37:00 mail dovecot: imap-login: Login: user=<thunderbolt@xxx.xx>, method=PLAIN, rip=52.86.235.215, lip=172.31.52.232, mpid=9335, TLS, TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits) Jun 11 12:37:00 mail dovecot: imap(thunderbolt@xxx.xx): Disconnected: Logged out in=110 out=1305 Jun 11 12:37:02 mail dovecot: imap-login: Login: user=<thunderbolt@xxx.xx>, method=PLAIN, rip=52.86.235.215, lip=172.31.52.232, mpid=9337, TLS, TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits) Jun 11 12:37:02 mail dovecot: imap(thunderbolt@xxx.xx): Disconnected: Logged out in=334 out=1269 Jun 11 12:37:05 mail dovecot: imap-login: Login: user=<thunderbolt@xxx.xx>, method=PLAIN, rip=52.86.235.215, lip=172.31.52.232, mpid=9339, TLS, TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits) Jun 11 12:37:05 mail dovecot: imap(thunderbolt@xxx.xx): Disconnected: Logged out in=55 out=832 Here's some screenshots: http://i.imgur.com/YFSAFc5.png http://imgur.com/a/udOxD I don't know how to solve this, please help Thanks, Ninetailz

azidhaka commented 8 years ago

Have you tried enabling Gmail's "less secure apps access" as described here?

https://support.google.com/accounts/answer/6010255?hl=en

ghost commented 8 years ago

Still the same.....

azidhaka commented 8 years ago

What happens when you press "Test" on this screen? http://imgur.com/a/udOxD

ghost commented 8 years ago

It works

serfmen commented 8 years ago

I have the same problem, can't login to my gmail account - try other mail services and all working but not gmail. I'll try Gmail's "less secure apps access" - don't work for me, but finally i found in logs this: https://support.google.com/mail/answer/78754 and the 3th options about "DisplayUnlockCaptcha". When i do this i can login on my gmail !! Yay! ;))

Please tell if this help you - maybe someone need this too ;) Hope this can help.

PS Sorry for my bad english ;)

xensor commented 8 years ago

as serfmen said,

if your getting wrong pass or username, try this: https://support.google.com/mail/answer/78754

it was the DisplayUnlockCaptcha for me. try all of em til it works. if it works on first option, then that was the issue.

if non of the options works, i don't know what to do.

hanneschu1z commented 3 years ago

When you use 2FA you have to create a app password! https://myaccount.google.com/ Security-app password

SolAZDev commented 1 year ago

Unfortunately, App password is no longer available? If App Passwords appear disabled or no longer available, activate 2FA. If it doesn't appear after the fact, you can search for it as well.

tgeek77 commented 2 months ago

App Passwords are going to be deprecatedlater this year. https://support.google.com/accounts/answer/6010255?hl=en&sjid=12187622552632237587-EU