Skip to content

Problem with SMTP Mail verification #152

@lemmi25

Description

@lemmi25

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions