OfflineIMAP / offlineimap

Read/sync your IMAP mailboxes (python2) [LEGACY: move to offlineimap3]
http://www.offlineimap.org
Other
1.78k stars 363 forks source link

STARTTLS feature not easy to figure out #719

Open pvanhoof opened 2 years ago

pvanhoof commented 2 years ago

It's quite hard to figure out that in .offlineimaprc you need to do:

remotehost = mail.domain.ext ssl = no starttls = yes remoteport = 143

To use STARTLS on 143/imap instead of wrapped SSL 993/imaps. While increasingly IMAP server softwares are no longer enabling by default the 993 wrapped SSL. Case example is Cyrus IMAP which by default doesn't enable it.

I think that when ssl = yes and starttls = yes that offlineimap could give the user a warning that it'll pick wrapped SSL instead of STARTLS on 143. And I think if port 993 is closed, it could retry on 143 with STARTTLS.

xeruf commented 1 year ago

software is moving from SSL to STARTTLS? That seems very odd.