# Enable DKIM in Postfix on Ubuntu

**URL:** <https://meta.discourse.org/t/enable-dkim-in-postfix-on-ubuntu/5487>\
**Category:** Self-Hosting\
**Tags:** email, how-to\
**Created:** [1 באפריל,‏ 2013,‏ 7:17pm UTC](https://meta.discourse.org/t/enable-dkim-in-postfix-on-ubuntu/5487 "2013-04-01T19:17:45Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [1 באפריל,‏ 2013,‏ 7:52pm UTC](https://meta.discourse.org/t/enable-dkim-in-postfix-on-ubuntu/5487/3 "2013-04-01T19:52:42Z")

</div>

Also just as a reminder, **I strongly recommend anyone configuring email in Discourse to send a test email**. You can do this from the admin panel, under Email logs, at the top where the button says “send test email”.

![](https://global.discourse-cdn.com/meta/original/1X/fa1e7abfc08963a2b090741118fa3434c821b53a)

This email contains crucial, _extremely_ important tips to get your Discourse forum email notifications working:

> This is a test email sent from your Discourse forum at:

> [**http://forum.example.org**](http://forum.example.com)
> 
> Email deliverability is complicated. Here are a few important things you should check first:
> 
> - Know how to view the _raw source of the email_ in your mail client, so you can examine the email headers for important clues. in Gmail, it is the “show original” option in the drop-down menu on each mail.
> 
> - **IMPORTANT:** Does your ISP have a reverse DNS record entered to associate the domain names and IP addresses you send mail from? [Test your Reverse PTR record](http://mxtoolbox.com/ReverseLookup.aspx) here. If your ISP does not enter the proper reverse DNS pointer record, it’s very unlikely any of your email will be delivered.
> 
> - Is your domain’s SPF record correct? You can [test your SPF record](http://www.kitterman.com/spf/validate.html) here.
> 
> - Check to make sure the IPs of your mail server are [not on any email blacklists](http://whatismyipaddress.com/blacklist-check).
> 
> - Verify that your email server is _definitely_ sending a fully-qualified hostname that resolves in DNS in its HELO message. If not, this will cause your email to be rejected by many mail services.
> 
> - Configure [DKIM email key signing](http://www.dkim.org/) in your email software, and place the public DKIM key in your DNS records. This is not required, but will significantly improve email deliverability.
> 
> We hope you received this email deliverability test OK!
> 
> Good luck,
> 
> Your friends at [Discourse](http://www.discourse.org)

---

_[View the full topic](https://meta.discourse.org/t/enable-dkim-in-postfix-on-ubuntu/5487)._
