Custom mail server not working

I have installed ODK on ubuntu20 in Linode. I have added custom mail server. and Build and restart the service container. docker compose build service && docker compose up -d service.

After adding custom mail server i am not able to create new user. Trying to reset the password its keep scrolling. and users not able to receive the mails.

Here are the attached screenshot for .env file and errors logs.

I appreciate your support.

odk-central-env suggests you should use port 587. And if you do, EMAIL_SECURE should be set to false.

1 Like

Thanks @yanokwa for your response.

Yes, i did the same but still getting issue. You can see the .env file smtp setting.

Also i have attached the email logs. Even creating user still scrolling if we use these Smtp setting.


Is there anyone who can help me?

Are you still getting 500 errors once you change the port? Or is the problem you are getting no errors, but the messages are not being delivered.