Got stuck with configuring SPF and DKIM in Postfix on Ubuntu server

Please, can some one point me in the right direction, I got stuck with configuring SPF and DKIM in Postfix on Ubuntu server. The error is as follows:

> root@domainname:~# opendkim-testkey -d domainname.com -s 201610 -vvv

opendkim-testkey: using default configfile /etc/opendkim.conf

opendkim-testkey: checking key '201610.domainkey.domainname.com'

opendkim-testkey: No key

I followed the documentation at https://www.linode.com/docs/email/postf … n-debian-8">https://www.linode.com/docs/email/postfix/configure-spf-and-dkim-in-postfix-on-debian-8

Thanks

2 Replies

Hello,

Did you generate the key? Also, when following the instructions, did you change the input to match your domain name? The following part is where I'm thinking something may have went wrong:

https://www.linode.com/docs/email/postf … e-opendkim">https://www.linode.com/docs/email/postfix/configure-spf-and-dkim-in-postfix-on-debian-8#configure-opendkim

Good luck!

Sorry, it took a while to reply. I only wanted to setup postfix for send-only-email and I abondoned the idea of DKIM

thanks

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct