3 ms·
I never was able to backup emails from gmail successfully ~ 10GB of mails right now. Everytime it fails somewhere in between because of reasons mentioned by var
by suchoudh 6y ago
I never was able to backup emails from gmail successfully ~ 10GB of mails right now. Everytime it fails somewhere in between because of reasons mentioned by various people elsewhere in this thread.
Every year I try and fail.
This year with the comments herein I again tried and get invalid credentials error with my Gmail.
1) Used mutt/getmail/python script ( password is correct verified it )
2) Even changed password and still same issue
3) I also tried to enable less secure apps to access email option in google settings. But keep getting the Authentication error. Can someone please point me to a good note on how to get Authentication error sorted ( maybe more to take care of )
( I use ubuntu bionic , python 2.7.17, getmail 5.5 )
Error
rahu@rahu:~/0del/_working/_backupEmail$ ./ss.sh
IMAP Grab 0.1.4
---
List option selected
Connecting to IMAP server via SSL
Logging into IMAP server
Traceback (most recent call last):
File "./imapgrab.py", line 444, in <module>
imapgrab()
File "./imapgrab.py", line 150, in imapgrab
ig_list = IG_list_mailboxes(ig_options)
File "./imapgrab.py", line 193, in IG_list_mailboxes
ig_imap.login(ig_options.username,ig_options.password)
File "/usr/lib/python2.7/imaplib.py", line 523, in login
raise self.error(dat[-1])
imaplib.error: [AUTHENTICATIONFAILED] Invalid credentials (Failure)
- 7ewis 6y agoI've found GYB works quite well: https://github.com/jay0lee/got-your-back https://github.com/jay0lee/got-your-back It's created by the developer of GAM - a popular tool you may have heard of, for managing G Suite.
- juangacovas 6y agoLook for imapsync on other comments
- zapatos 6y ago> I also tried to enable less secure apps to access email option in google settings. But keep getting the Authentication error. Turning on 2FA and using Google's "app-specific password" eliminated errors of this sort for me recently.
- wfriesen 6y agoI've used gmvault to backup ~3GB with no issues. https://github.com/gaubert/gmvault https://github.com/gaubert/gmvault
- theandrewbailey 6y agoHave you tried Google Takeout? https://takeout.google.com https://takeout.google.com