corecode / dma

The DragonFly Mail Agent, a small Mail Transport Agent (MTA), designed for home and office use.
Other
226 stars 50 forks source link

Confusing logs: Within a STARTTLS session: "Server does not support STARTTLS" #103

Closed ghost closed 2 years ago

ghost commented 2 years ago

After starting a STARTTLS session, an additional EHLO command is sent by DMA. Its response is parsed and certain information is printed to the logs.

There are servers that do not advertise STARTTLS within an already active STARTTLS session. Example: smtp.office365.com (one may use openssl s_client to check this).

For these kind of servers, the logs are something like the following:

which may be considered confusing.

Please let me know if there is a misunderstanding on my side about this issue being only relevant for the logs.

corecode commented 2 years ago

these are DEBUG log messages and can be ignored.