[FR] Support unsafe SMTP without TLS

Hi,

I have in my setup in-cluster smtp proxy (app → mailpit → upstream smtp). The goal was to centralise access and to ensure that I don’t start spamming mails :slight_smile: . I don’t have certificate for this proxy, so the connection is in plaintext.

So I’d like to request an option, á la VIKUNJA_MAILER_SKIPTLSVERIFY to allow Vikunja connecting over plaintext smtp.

Cheers!

There is VIKUNJA_MAILER_AUTHTYPE: plain which I use for my local SMTP relay container.

I checked with this setting and also with skiptlsverify and I get

level=ERROR msg="Error sending test mail: dial failed: SMTP AUTH failed: unencrypted connection"

Edit: the answer was in this log message lol

I removed mailer username and password - no auth is needed - no unencrypted connection issue.

So my final mailer config only has host, port, and fromemail.

Marking your message as solution, just LOL

I never needed to ask anyone to get mine working :wink: