Error connecting to SMTP Server: "either ServerName or InsecureSkipVerify must be specified in the tls.Config" #569
Labels
No Label
dependencies
duplicate
help wanted
invalid
kind/bug
kind/feature
needs reproduction
question
security
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vikunja/vikunja#569
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The api fails with the following error when it tries to send a mail. The SMTP config is correct as it works with other applications and the gomail test snippet. I am not sure if this a problem with my setup, vikunja or gomail.
Error
Config
Test
The following code works, but only when
ServerName
is also specified otherwise it will fail with the same error as vikunja. But in vikunjaInsecureSkipVerify
should be set totrue
and as such not requireServerName
.That's an interesting error, I'll take a look. It could be I just missed
ServerName
in theTLSConfig
option of gomailer.I'll also add a cli command to be able to debug this more easy.
Test PR is up: #571
I've also included a possible fix in it which made the error go away in my tests.
Great, Thanks! Verified the PR works.
Great!
I'll close this issue since it is resolved and the fix already merged in master. Feel free to reopen this or another one.