opendkim

Installation
SKILL.md

Identity

  • Unit: opendkim.service
  • Daemon: opendkim
  • Config: /etc/opendkim.conf
  • Key directory: /etc/opendkim/keys/
  • Socket: /run/opendkim/opendkim.sock (unix) or 127.0.0.1:8891 (inet)
  • User: opendkim
  • Milter group: opendkim (Postfix user must be a member)
  • Logs: journalctl -u opendkim, /var/log/mail.log (milter events appear in mail log)
  • Distro install: apt install opendkim opendkim-tools / dnf install opendkim

Key Operations

Operation Command
Status systemctl status opendkim
Generate key pair opendkim-genkey -b 2048 -d example.com -s mail -D /etc/opendkim/keys/example.com/
List current keys ls -la /etc/opendkim/keys/
Print public key (for DNS) cat /etc/opendkim/keys/example.com/mail.txt
Related skills
Installs
1
GitHub Stars
5
First Seen
Mar 18, 2026