Skip to content

Instantly share code, notes, and snippets.

View owenthewizard's full-sized avatar

Owen Walpole owenthewizard

View GitHub Profile
@owenthewizard
owenthewizard / dkim_rotation.sh
Created June 26, 2020 21:43 — forked from Frederick888/dkim_rotation.sh
Automatic DKIM key rotation with CloudFlare
#!/usr/bin/env bash
# Read https://www.linode.com/docs/email/postfix/configure-spf-and-dkim-in-postfix-on-debian-8 first!
# Run this script at the beginning of each month
# (Optional) Email notification if the script is interrupted
#function notify() {
# printf 'Refer to the logs for further info.\n' | mail -s 'DKIM rotation process was interrupted' 'admin@example.com'
#}
#