So You'd Like to Send Some Email (Through Code)

Created on 2020-10-03T23:40:23+00:00

Return to the Index

This card pertains to a resource available on the internet.

This card can also be read via Gemini.

Reverse DNS

SPF

v=spf1 a mx ip4:10.0.0.1 ip4:10.0.0.2 ~all

DKIM

Generate them with OpenSSL:

$ openssl genrsa -out rsa.private 1024
$ openssl rsa -in rsa.private -out rsa.public -pubout -outform PEM

Add some more TXT records to your DNS:

_domainkey.example.com "o=~; r=contact@example.com"
selector._domainkey.example.com "k=rsa; p={public-key-base64-string-here}"