You are here: Foswiki>HomeInfra Web>SPFDKIM (26 Aug 2015, AdminUser)Edit Attach
http://en.open-lamp.com/authenticate-emails-with-dkim-on-debian-or-ubuntu-linux/

Generate the keys

cd /etc/exim4
openssl genrsa -out dkim.private 1024
openssl rsa -in dkim.private -out dkim.public -pubout -outform PEM

Apply the keys in /etc/exim4.conf.template
# DKIM loading
DKIM_CANON = relaxed
DKIM_DOMAIN = ${sender_address_domain}
DKIM_PRIVATE_KEY = CONFDIR/dkim.private
DKIM_SELECTOR = dkim

DNS TXT records for SPF and DKIM

; SPF
vervest.org.    IN      TXT "v=spf1 a mx -all"
; DKIM
dkim._domainkey.vervest.org. IN TXT "v=DKIM1; k=rsa; s=email; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDDJHl/pdmbD0MeemgIC1QCSXR2jqZtTFvQy8HIdEMrpw1kH0k02sffDkMTK/D/WGXbLJoRzr2rOcBNFc6C+X1R/MmTWvOQ7DXgWZHPWcsGxOY6l2LVFtCeGDJb9jER8FXs28tkW1V7rTgKqcsm5TnzBYZv8LHWClwKlkNaWNCjUQIDAQAB"
Topic revision: r1 - 26 Aug 2015, AdminUser - This page was cached on 04 Jun 2017 - 05:09.

This site is powered by FoswikiCopyright © by Eddy Vervest