Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with SMTP Mail verification #152

Open
lemmi25 opened this issue Oct 12, 2024 · 1 comment
Open

Problem with SMTP Mail verification #152

lemmi25 opened this issue Oct 12, 2024 · 1 comment

Comments

@lemmi25
Copy link

lemmi25 commented Oct 12, 2024

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:

image

Here are my configs:

image

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:

Mattermost Community

Thank you

Best regards,
lemmi25

@lemmi25 lemmi25 closed this as completed Oct 12, 2024
@lemmi25 lemmi25 reopened this Oct 12, 2024
@lemmi25
Copy link
Author

lemmi25 commented Oct 12, 2024

I solved it myself by setting the Firewall rules correctly. Port 587 was not open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant