Configure DKIM with Ubuntu

im trying to configure / set up DKIM in ubuntu to be used with sendmail or specifically PHP mail function… found some articles on hot to configure it for postfix, … but didnt get anything for sendmail with ubuntu… im using ubuntu with LAMP install… step- step guide will be appreciated or pls point to some articles…[not familiar with linux cmds]

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello there,

A DKIM record is another measure that can prevent spoofing and improve mail reliability. You can use any online tool to generate the key for you.

We do have an article on How To Install and Configure DKIM with Postfix on Debian Wheezy

Once created you can use a DKIM checker tool like the one provided from mxtoolbox or mail-tester and check whether the generated key is valid.

Hope that this helps!

hi in this particular line in /etc/opendkim.conf Socket inet:8891@localhost do we need to change to 1234@localhost to work with digital oceon ?? and thanks for the link i have executed this command root@ubuntu:/etc/opendkim/keys# opendkim-genkey -D /etc/opendkim/keys/ -d -s default how to get the public key and private key after this step ??

am i missing something ??