-
-
Notifications
You must be signed in to change notification settings - Fork 361
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 Autoconfig, Autodiscover. Import exchangelib for Microsoft compatibility. #508
Comments
I'm not sure about this. This would mean maintaining a website and we don't have the money for this. Also, our users usually are advanced enough to configure the client. About auto-filtering this should be supported in the client first. |
No website is necessary?
|
You're right. I've read more about this. I don't think we want offlineimap to become a client of HTTP webservices. |
I understand the reluctance to take on web services. It's maybe a dilemma. However, if we could let the libraries fully handle the protocol communications, and only create/read/update/delete encapsulated abstract email message related objects produced or consumed by these libraries, as long as the mails sync properly with all imap as well as all newer EWS-enabled microsoft mail servers, I'm OK with offlineimap using a library which uses any protocol, such as EWS which happens to use SOAP/JSON/XML, to sync mails. All we care about is the mails and sync'ing them with the top mail servers on the internet. |
Sure! My point is more about the source code. It's highly tied to IMAP. Actually, offlineimap is written as a (big) wrapper of IMAP. I believe this would be hard to add any other protocol to the code base. I might be wrong, though. If you'd like to try this, please do! I wonder setting up a test suites would be great to track regressions while making strong changes like that in the code. |
I'm a huge supporter of test suites, without them, you're flying blind in the fog for sure going to accidentally release versions with preventable bugs.
|
Yes, that's what I've started to do in imapfw. |
Three layers would do this perfectly. |
Following up from #507 on the topic of auto-detecting which type of IMAP server we are talking to.
Let user enter only the email address. Most of the time, Offlineimap can use the standard autoconfig/autodiscover method to obtain the IMAP email server details.
autoconfig
(Thunderbird Linux open source servers). Docs here: https://developer.mozilla.org/en-US/docs/Mozilla/Thunderbird/Autoconfigurationautodiscover
(Microsoftoutlook.com
hotmail.com
office365.com
) docs: https://technet.microsoft.com/en-us/library/bb124251(v=exchg.160).aspxThis project is php example implementation of automating the email account setup, with only email address as input data.
https://github.com/Thorarin/MailClientAutoConfig
The text was updated successfully, but these errors were encountered: