-
-
Notifications
You must be signed in to change notification settings - Fork 78
[O365] Connection fails with "no response" #134
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
Comments
imap-backup ChecksPlease try running setup in verbose mode: imap-backup setup --verbose Then, go to your account and do 2 things:
outlook.office365.com ChecksThis article indicates a series of possible problems and solutions for outlook.office365.com Edit: added link |
Good idea - I didn't think for a I now get the following, so I think this probably isn't an issue with
Did you mean to include a link? I've had a read around, and I suspect this may be out of my control... |
You're right, I didn't include the link. I've edited the comment. The link is https://support.microsoft.com/en-us/office/pop-imap-and-smtp-settings-for-outlook-com-d088b986-291d-42b8-9564-9c414e2aa040 |
I think I'll close this, as I'm pretty confident it's actually an issue with Microsoft... thanks for the input! |
Authentication with IMAP is not anymore possible with basic password auth. Information:
Are you planning to integrate oauth2 into imap-backup? Otherwise backuping office 365 / exchange online will not be possible anymore. |
Hi @vielhuber It's a shame Office 365 is removing basic authentication. Implementing OAuth2 involves a lot of work. A PR would be welcome, but it would need to be well tested and documented. |
You're right, perhaps a tool like https://emailengine.app/ could be an answer to this problem. Just also found the open source repo https://github.com/simonrob/email-oauth2-proxy. On the other hand if you have successfully generated an access token (instead of a password), the implementation should be easy. The steps I would see are:
I don't have the ability and experience to provide a PR for this. Any chance to support you in another way? The question is if it is worth it - or outside of imap-backup's scope. |
I've come to the conclusion that https://github.com/simonrob/email-oauth2-proxy is a very attractive solution to this problem. |
I've successfully started the proxy and am trying now to connect via imap-backup: config.json {
"username": "xxx@xxx.xxx",
"password": "xxx",
"local_path": "xxx",
"server": "localhost",
"connection_options": {
"port": 1993,
"ssl": {
"verify_mode": 0
}
}
}, However, I get:
I think this is totally unencrypted, is this possible with imap-backup at all to connect to a local proxy? |
Got it running when setting up an encrypted proxy. |
Hi @vielhuber imap-backup defaults to activating ssl when connecting. Please try setting this to
|
I'm closing as the README now recommends email-oauth2-proxy |
I've been using this to backup emails from
outlook.office365.com
for some time (thanks, great project!)Unfortunately, a while ago, it started failing - looking in to it now, I run the
setup
subcommand, select the account, and use the "test connection" action... after a second or so it responds as follows:Attempting to run a backup produces the following output:
I have updated to v8.0.1, and I've tried changing / confirming my password with no joy.
Any ideas? Happy to provide more info if it would be helpful!
The text was updated successfully, but these errors were encountered: