Problem with SMTP Mail verification
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 20/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- docker
- Domain
- infrastructure
Research direction
Start with the /api/v4/email/test request and the log locations api4/system.go:207 and web/context.go:117. Check the reported SMTP connection timeout and the Docker deployment and Caddy reverse-proxy configuration. This issue does not define a code change or a clear completion condition; done would require identifying and documenting the cause or a verified configuration fix.
Written by the indexing model from the issue text.
Description
Hi,
I try to use a custom Mail Server to send emails to user, to verify login. I tried different settings but always get this error:
Here are my configs:
And here is my log:
{"timestamp":"2024-10-04 08:21:06.130 Z","level":"warn","msg":"Error decoding the config","caller":"api4/system.go:207","path":"/api/v4/email/test","request_id":"cii43nktxiffteigjih3eg8kwe","ip_addr":"172.18.0.3","user_id":"1rd9yxud3tbumd5b6kngjgpduo","method":"POST","error":"EOF"}
{"timestamp":"2024-10-04 08:21:16.133 Z","level":"error","msg":"Connection unsuccessful: unable to connect to the SMTP server: dial tcp 162.55.254.207:587: i/o timeout","caller":"web/context.go:117","path":"/api/v4/email/test","request_id":"cii43nktxiffteigjih3eg8kwe","ip_addr":"172.18.0.3","user_id":"1rd9yxud3tbumd5b6kngjgpduo","method":"POST","err_where":"testEmail","http_code":500,"error":"testEmail: Connection unsuccessful: unable to connect to the SMTP server: dial tcp 162.55.254.207:587: i/o timeout"}
I’ve double-checked the configuration of my web server, and everything seems to be set up correctly. However, I’m still encountering the issues. I would really appreciate any guidance or help you can provide.
One more thing, I am using caddy (as a reverse Proxy) with the following settings:
mattermost.techmountain.dev {
reverse_proxy mattermost:8065
}
I already asked this question here:
Thank you
Best regards,
lemmi25
- Dominant language
- Shell
- Stars
- 533
- Forks
- 284
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mattermost/docker
-
Difficulty 1/5 Under an hour Newbie friendliness 25/100
mattermost/docker#183 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
mattermost/docker#182 · 3 reactions ·
-
Security fixes Open
Difficulty 1/5 Under an hour Newbie friendliness 15/100
mattermost/docker#179 ·
-
Healthcheck failing with panic 'unknown userid 1003' since 10.10.1 update, but Mattermost runs fine Open
Difficulty 3/5 1-2 days Newbie friendliness 48/100
mattermost/docker#172 · 4 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
mattermost/docker#171 · 1 comment ·
All issues in mattermost/docker
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
danielmiessler/LifeOS#2218 ·
-
docs(agents): strengthen the no-backslash-escaped-backticks rule with an issue-creation example Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
oSoWoSo/vOid_Community_repOsitory#148 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
chore
Difficulty 1/5 Under an hour Newbie friendliness 91/100
alunduil/alunduil-chezmoi#792 ·