Bug 457632 - Cannot receive mails from pop.gmail.com with KMail
Summary: Cannot receive mails from pop.gmail.com with KMail
Status: REPORTED
Alias: None
Product: kdepim
Classification: Applications
Component: general (show other bugs)
Version: 5.20.3
Platform: Arch Linux Linux
: NOR grave
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-08 15:18 UTC by Ulrich Loup
Modified: 2022-11-06 23:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Loup 2022-08-08 15:18:13 UTC
SUMMARY
***
When I try to fetch mails from my GMail account I get the error message "Unable to login to the server \"pop.gmail.com\".\nCould not login to pop.gmail.com. The password may be wrong.\n\nCould not send to server.\n".
***


STEPS TO REPRODUCE
1. Make a GMail account and activate POP3 in the account settings.
2. Add the respective POP account in KMail:
- Incomming mail server: pop.gmail.com
- Username: <yours@gmail.com>
- Password: <GMail passord>
- SSL/TLS Port 995 with Authentication "Clear Text"
3. Fetch your E-Mail with this account in KMail.

OBSERVED RESULT
(Error log)
org.kde.pim.pop3resource: ============== ERROR DURING POP3 SYNC ==========================
org.kde.pim.pop3resource: "Unable to login to the server \"pop.gmail.com\".\nCould not login to pop.gmail.com. The password may be wrong.\n\nCould not send to server.\n"
org.kde.pim.pop3resource: UID list from server is not valid.
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f9d082c6770) )
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f9d082c6770) identified as "CollectionDialogMonitor - 94913249806016"
org.kde.pim.akonadiserver: Subscriber "CollectionDialogMonitor - 94913249806016" disconnected
org.kde.pim.pop3resource: ============== ERROR DURING POP3 SYNC ==========================
org.kde.pim.pop3resource: "Unable to login to the server \"pop.gmail.com\".\nCould not login to pop.gmail.com. The password may be wrong.\n\nCould not send to server.\n"
org.kde.pim.pop3resource: UID list from server is not valid.

EXPECTED RESULT
New e-mails arrive.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5

ADDITIONAL INFORMATION
- This error persists for several months now and was present in earlier versions of KMail, too (not sure which one).
- I tried every authentication method and also TLS without success.
- It looks like pop.gmail.com doesn't recognize my password anymore. My password is a combination of uppercase, lowercase letters, digits and special characters like *.
Comment 1 Ulrich Loup 2022-11-06 23:27:23 UTC
I think I found the reason for my problem:
"To help keep your account secure, from May 30, 2022, ​​Google no longer supports the use of third-party apps or devices which ask you to sign in to your Google Account using only your username and password."

I guess, KMail needs to support OAUTH2 in order to access Google's POP3 server.