fmartinou / whats-up-docker

What's up Docker ( aka WUD ) gets you notified when a new version of your Docker Container is available.
https://fmartinou.github.io/whats-up-docker
MIT License
983 stars 32 forks source link

Can't get SMTP working with M365 #414

Open bfellner opened 1 month ago

bfellner commented 1 month ago

I have configured the SMTP trigger for Microsoft 365 but have not received any emails. I turned on debug logging and kept seeing the below error for each container. For some reason I keep seeing the container show restarting all the time in the wud logs (watching docker.sock) but that may be something else entirely?

13:36:52.019  WARN whats-up-docker/trigger.smtp.m365: (container=local_big-bear-excalidraw)
    Error (D819461E6C7F0000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:354:
    )
13:36:52.019 DEBUG whats-up-docker/trigger.smtp.m365: (container=local_big-bear-excalidraw, err.code=ESOCKET)
    D819461E6C7F0000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:354:

    --
    Error: D819461E6C7F0000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:354:

Here is what I have set for the Environment Variables

Batchtitle ${count} updates available From bfellner@dopplegangers.net Host smtp.office365.com Mode simple Once \<empty> NOTE: I do have the env var set to false Pass P****P Port 587 Simplebody Container ${name} running with ${kind} ${local} can be updated to ${kind} ${remote} ${link} Simpletitle New ${kind} found for container ${name} Threshold all Tls { "verify": false, "enabled": true } To bfellner@dopplegangers.net User bfellner@dopplegangers.net