| Linode Forum https://forum.linode.com/ |
|
| DKIM with Postfix (Ubuntu 12.04) https://forum.linode.com/viewtopic.php?f=11&t=10096 |
Page 1 of 1 |
| Author: | casey_friday [ Sun May 19, 2013 12:39 pm ] |
| Post subject: | DKIM with Postfix (Ubuntu 12.04) |
I'm trying to set up DKIM on my Postfix Mail Server, and I can't see to get it right. This is the error I get when I test: Code: casey@cosmos:~$ sudo opendkim-testkey -d friday-next.com -s fnmail -k /etc/mail/fnmail.private -vvv Here are my entries in the Linode DNS manager: Code: name = fnmail._domainkey I didn't copy the entire fnmail.txt file, just the part in the quotes. When I first copied the entire .txt file into value, this was the error I got: Code: casey@cosmos:~$ sudo opendkim-testkey -d friday-next.com -s fnmail -k fnmail.private -vvv Is this an issue of the DNS value not propagating because it takes a while, or am I missing something easy here? Also, when I set up the values in /etc/opendkim.conf for Domain, Keyfile, and Selector - do I just add more of those in that same config file for the other domains on my Linode? |
|
| Author: | casey_friday [ Sun May 19, 2013 12:54 pm ] |
| Post subject: | Re: DKIM with Postfix (Ubuntu 12.04) |
I waited a bit longer, and I'm now getting the following successful output from the test: Code: casey@cosmos:~$ sudo opendkim-testkey -d friday-next.com -s fnmail -k /etc/mail/fnmail.private -vvv When I sent a test message, I could see the header was being successfully added to the message, so all is well! Now my question is how do I enable DKIM for all mail-account domains on my Linode? I have these lines in my /etc/opendkim.conf file: Code: Domain friday-next.com Do I simply repeat those lines for every domain that needs DKIM on my Linode? |
|
| Author: | casey_friday [ Sun May 19, 2013 1:48 pm ] |
| Post subject: | Re: DKIM with Postfix (Ubuntu 12.04) |
I used KeyTable and SigningTable to achieve DKIM for multiple domains on the same Linode. You can find the tutorial I used here: http://blog.tjitjing.com/index.php/2012 ... ebian.html |
|
| Author: | Stever [ Mon May 20, 2013 10:29 am ] |
| Post subject: | Re: DKIM with Postfix (Ubuntu 12.04) |
casey_friday wrote: Code: opendkim-testkey: checking key 'fnmail._domainkey.friday-next.com' Glad you seem to have everything sorted. If you want to get rid of the "key not secure" warning you'll want to change the ownership/permissions on the private key files to make them unreadable by anyone but the user that opendkim is running under. |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|