Skip to content

outlook.office365.com not doing TLS handshake #285

@Lem

Description

@Lem

First, I want to thank your for your project.

Currently I try to run it to fetch all mails via IMAP, got a working Oauth-Authentication but the connection to Microsofts server seems to have a problem.

The server-config in question is like in the example:

[IMAP-1993]
server_address = outlook.office365.com
server_port = 993
local_address = 127.0.0.1

If I'm connecting to the local proxy, a TCP connection will be established on port 993. But than there is no TLS handshake attempt.
Using wireshark I can see that the proxy is sending "A0001 AUTHENTICATE XOAUTH2 [...]" request in plain text on the established TCP connection.

If it metters: I'm using a venv and installed emailproxy via pip inside of it.

Do I need to add flag to the config that the proxy is doing TLS first?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions