500 5.5.1 Invalid command: Cannot send mail with Discourse on new install but can from command line (on digital ocean)

Hi,
It also worked for me. I made some changes to mail settings and it started to work. Sorry for not indicating that I got it to work.