pulb / mailnag

An extensible mail notification daemon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gmail authentication fails

elig0n opened this issue · comments

I tried both with Gmail and also manual IMAP setting (which I confirmed working, elsewhere).

Exception in thread Thread-6:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.7/site-packages/Mailnag/daemon/idlers.py", line 67, in _idle
    self._account.open()
  File "/usr/lib/python2.7/site-packages/Mailnag/common/accounts.py", line 97, in open
    self._get_backend().open()
  File "/usr/lib/python2.7/site-packages/Mailnag/backends/imap.py", line 60, in open
    self._conn = self._connect()
  File "/usr/lib/python2.7/site-packages/Mailnag/backends/imap.py", line 202, in _connect
    conn.login(self.user, self.password)
  File "/usr/lib/python2.7/site-packages/Mailnag/common/imaplib2.py", line 827, in login
    self._deliver_exc(self.error, dat[-1], kw)
  File "/usr/lib/python2.7/site-packages/Mailnag/common/imaplib2.py", line 1396, in _deliver_exc
    raise exc(dat)
error: [AUTHENTICATIONFAILED] Invalid credentials (Failure)

I have the same issue. In fact I've never got mailnag working on Fedora for a long time. So I've never used this program. Thought of trying once again after several years and facing the same issue.

Fedora 31, mailnag-1.3.0

Resolved: Apparently, the issue was with Google settings.

Followed the recommendations from https://forum.kde.org/viewtopic.php?f=215&t=131960