Skip to content

Instantly share code, notes, and snippets.

@felixhummel
Created February 18, 2018 03:53
Show Gist options
  • Save felixhummel/a5be5fc2181ed7644a0576aa17f81cd8 to your computer and use it in GitHub Desktop.
Save felixhummel/a5be5fc2181ed7644a0576aa17f81cd8 to your computer and use it in GitHub Desktop.
opendkim salt

Generate the key-pair:

salt-call state.apply postfix.opendkim_genkey

Get the public key and set it on your DNS server:

salt-call file.read /etc/opendkim/keys/felixhummel.de/mail.txt

... to be continued

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment