Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mutt #3

Closed
isfttr opened this issue Jan 12, 2019 · 3 comments
Closed

Add mutt #3

isfttr opened this issue Jan 12, 2019 · 3 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed
Milestone

Comments

@isfttr
Copy link
Owner

isfttr commented Jan 12, 2019

I'm trying to set up mutt to properly run but currently having problems with offlineimap so it is not syncing. If your are not going to use mutt, than you should try mailspring that has a nice gui and works fine with gmail.

@isfttr isfttr added the enhancement New feature or request label Jan 12, 2019
@isfttr isfttr self-assigned this Jan 12, 2019
@isfttr isfttr added this to the Add mutt milestone Jan 12, 2019
@isfttr isfttr added the help wanted Extra attention is needed label Jan 15, 2019
@isfttr
Copy link
Owner Author

isfttr commented Jan 15, 2019

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

@isfttr
Copy link
Owner Author

isfttr commented Jan 23, 2019

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

@isfttr
Copy link
Owner Author

isfttr commented Apr 28, 2019

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.

@isfttr isfttr closed this as completed Apr 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant