How to add dreamhost smtp in discourse

That port should be correct. Have you rebuilt your Docker image?