Giter VIP home page Giter VIP logo

Comments (3)

isfttr avatar isfttr commented on June 18, 2024

I'm putting this on hold for a while. Offlineimap keeps on running with failures of authentication and I simply can't keep wasting my time on this.

Last errors were:

 XOAUTH2 authentication failed: [AUTHENTICATIONFAILED] Invalid credentials (Failure)
 ERROR: All authentication types failed:
        XOAUTH2: [AUTHENTICATIONFAILED] Invalid credentials (Failure)
 ['  File "/usr/lib/python2.7/site-packages/offlineimap/accounts.py", line 283, in syncrunner\n    self.__sync()\n', '  File "/usr/lib/python2.7/site-packages/offlineimap/accounts.py", line 359, in __sync\n    remoterepos.getfolders()\n', '  File "/usr/lib/python2.7/site-packages/offlineimap/repository/IMAP.py", line 452, in getfolders\n    imapobj = self.imapserver.acquireconnection()\n', '  File "/usr/lib/python2.7/site-packages/offlineimap/imapserver.py", line 586, in acquireconnection\n    self.__authn_helper(imapobj)\n', '  File "/usr/lib/python2.7/site-packages/offlineimap/imapserver.py", line 459, in __authn_helper\n    "failed:\\n\\t%s"% msg, OfflineImapError.ERROR.REPO)\n']
 *** Finished account 'lucasfernandesdfgmail' in 0:01
 ERROR: Exceptions occurred during the run!
 ERROR: All authentication types failed:
        XOAUTH2: [AUTHENTICATIONFAILED] Invalid credentials (Failure)

Traceback:
  File "/usr/lib/python2.7/site-packages/offlineimap/accounts.py", line 283, in syncrunner
    self.__sync()
  File "/usr/lib/python2.7/site-packages/offlineimap/accounts.py", line 359, in __sync
    remoterepos.getfolders()
  File "/usr/lib/python2.7/site-packages/offlineimap/repository/IMAP.py", line 452, in getfolders
    imapobj = self.imapserver.acquireconnection()
  File "/usr/lib/python2.7/site-packages/offlineimap/imapserver.py", line 586, in acquireconnection
    self.__authn_helper(imapobj)
  File "/usr/lib/python2.7/site-packages/offlineimap/imapserver.py", line 459, in __authn_helper
    "failed:\n\t%s"% msg, OfflineImapError.ERROR.REPO)

Reference from related issues:
https://github.com/OfflineIMAP/offlineimap/blob/master/offlineimap.conf#L886-L894
OfflineIMAP/offlineimap#573
OfflineIMAP/offlineimap#228

from archlabs_on_macbook.

isfttr avatar isfttr commented on June 18, 2024

It is currently working, downloading emails. It cannot send emails, may need to configure smtp.

from archlabs_on_macbook.

isfttr avatar isfttr commented on June 18, 2024

Finally a solution has been reached using the lukesmithxyz/mutt-wizard. It just worked out of the box. For gmail accounts it is needed to go the google account and enable access for third party apps.

from archlabs_on_macbook.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.