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.
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.