422 Unprocessable Entity at sending emails with bitnami and plesk

I was able to set up discourse using the bitnami docker image. As I was at the step where i’m trying to send a test email, and getting this error:

There was a problem sending the test email. Please double-check your mail settings, verify that your host is not blocking mail connections, and try again.

I’m using a server with a static IP on which the docker image is running. A Plesk server is used for the DNS entries and mailing.

The strange thing is, if I use another mailing service like Office365 or GMX, it’s working. But if I use different accounts on this plesk server or another domain on the same server, I always get the error above.

Deep down in the logs the real error is “Completed 422 Unprocessable Entity in 5929ms (Views: 0.6ms | ActiveRecord: 0.0ms | Allocations: 58765”.

Is there a way to find out what the exact error might be?


Welcome aboard, Captain!

We don’t know much of anything about how Discourse works on Bitnami.

Troubleshooting Bitnami Installations

Then there is something wrong with that mail server or your configuration. The recommendation here is mostly to use services like the ones that you have working, because they work. There are a bunch of topics about that error, so you might check them. One reported that they were using the wrong port.

1 Like