configuring offlinemap to get emails from Microsoft Exchange via Davmail I run into a problem, which could be fixed by changing "port" to "remoteport" in the remote-part of the config.
See also here:
https://github.com/OfflineIMAP/offlineimap/blob/master/offlineimap.conf
# This option stands in the [Repository RemoteExample] section.
# Specify the port. If not specified, use a default port.
#remoteport = 993