# Verwenden Sie DreamHost SMTP für ausgehende E-Mails

**URL:** <https://meta.discourse.org/t/use-dreamhost-smtp-for-outgoing-email/44074>\
**Category:** Sysadmins\
**Tags:** how-to\
**Created:** [11. Mai 2016 um 19:16 UTC](https://meta.discourse.org/t/use-dreamhost-smtp-for-outgoing-email/44074 "2016-05-11T19:16:02Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Scriblet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/scriblet/32/55838_2.png) [@Scriblet](https://meta.discourse.org/u/Scriblet)\
**Post date:** [11. Mai 2016 um 19:16 UTC](https://meta.discourse.org/t/use-dreamhost-smtp-for-outgoing-email/44074/1 "2016-05-11T19:16:02Z")

</div>

Hi guys, I’m a noob, but I just got Discourse (running on Digital Ocean) to use Dreamhost SMTP for sending mail and what I figured out SHOULD help you guys with things beyond Dreamhost.

You got to figure out your homie server, instead of putting [mail.yourdomain.com](http://mail.yourdomain.com) you have to put  
one of the homie servers such as:  
[sub3.mail.dreamhost.com](http://sub3.mail.dreamhost.com)  
[sub4.mail.dreamhost.com](http://sub4.mail.dreamhost.com)  
[sub5.mail.dreamhost.com](http://sub5.mail.dreamhost.com)  
[homie.mail.dreamhost.com](http://homie.mail.dreamhost.com)  
To figure out which one of these servers are your homies, check out:  
[http://wiki.dreamhost.com/Certificate\_Domain\_Mismatch\_Error](http://wiki.dreamhost.com/Certificate_Domain_Mismatch_Error)

See, when I check webmail at my domain I get this:

 ![](https://global.discourse-cdn.com/meta/original/3X/9/a/9a1ae58a234aad8f9c53039e077cc5de1cc57596.PNG)  
What that means, is that there’s a conflict between the SSL certificate because the dreamhost doesn’t assign individual certificates for your specific website, but instead uses their certificate from [dreamhost.com](http://dreamhost.com)

In the admin panel for discourse it shows up like this:  
Argument: {“type”=\>“signup”, “user\_id”=\>1, “email\_token”=\>“9067a99d7782276fb747e3c5041ca6e0”, “current\_site\_id”=\>“default”}  
Error: Jobs::HandledExceptionWrapper: Wrapped OpenSSL::SSL::SSLError: hostname “[mailyourdomainhere.com](http://mailyourdomainhere.com)” does not match the server certificate

To fix this, configure your discourse app.yml like this

 ![](https://global.discourse-cdn.com/meta/original/3X/0/5/0570c88f95745220ba915585c411769c0b79f317.PNG)

Since the bottom level domain is now dreahost, the SSL certificate checks out and your e-mails will start going through!

Things I also tried that probably didn’t matter:  
I changed the notification e-mail in discourse to [noreply@mydomain.org](mailto:noreply@mydomain.org)  
I created a [noreply@mydomain.org](mailto:noreply@mydomain.org) on dreamhost

I hope someone found this helpful and it will likely fix other SMTP issues with other sites! Feel free to correct anything I said, I just started using linux yesterday to get this all to work and have literally had to google how to move around in putty/linux.

---

_[View the full topic](https://meta.discourse.org/t/use-dreamhost-smtp-for-outgoing-email/44074)._
