Anonymous SMTP fails with server mismatch

(Adding spaces in FQDN’s because new users can only put two links)

Hi, new user, trying to switch from Duplicati on Unraid to Duplicacy (Duplicati hangs forever during backup to B2, unable to resolve).
I am using the saspus/duplicity-web docker on Unraid.
I got my fist backup to B2 working, now trying to add SMTP support to the schedule.

I run an anonymous SMTP to GMail relay in a docker container, I use this for many services in my network.
The server is configured as “smtp . home . insanegenius . net : 25”.

When I try to test sending an email I get this error:

Failed to send the email: x509: certificate is valid for afef2623e56c, not smtp . home . insanegenius . net

If I only use “smtp . home . insanegenius . net”, I get this error:

Failed to send the email: dial tcp: address smtp . home . insanegenius . net: missing port in address

If I specify “smtp://smtp . home . insanegenius . net:25”, I get this error:

Failed to send the email: dial tcp: address smtp://smtp . home . insanegenius . net:25: too many colons in address

If I specify “smtp://smtp. home. insanegenius. net”, I get this error:

Failed to send the email: dial tcp: address tcp///smtp. home. insanegenius. net: unknown port

How do I specify the server and use SMTP on port 25 with no authentication required?

Currently the authentication is required. That is, you must provide a username and a password. I think smtp.home.insanegenius.net:25, but not sure if the x509 certificate error was caused by the authentication.

I used smtp.home.insanegenius.net:25, and I added a dummy username and password, and I get:

Failed to send the email: x509: certificate is valid for afef2623e56c, not smtp.home.insanegenius.net

How do I proceed to get email working using anonymous vanilla SMPT?