Followed the instructions here [1]. Seems to work, using the modified (truncated) passenger_wsgi.py
file [2].
Email settings: used mail.stacky.net
, port 587 (see this thread [3]) with a user I created through Dreamhost web panel. Checked "Use TLS".