SYNOPSYS

DomainKeys Identified Mail

DOCUMENTATION

name

PROCEDURE

/usr/sbin/opendkim-genkey -D /etc/dkimkeys -d asynk.ch -s 2021 chown opendkim:opendkim /etc/dkimkeys/2021.* chmod 0600 /etc/dkimkeys/2021.*

/etc/dkimkeys/2021.private /etc/dkimkeys/2021.txt » /var/cache/bind/asynk.ch && /usr/sbin/rndc reload asynk.ch

mkdir -p /var/spool/postfix/run/opendikim/ chown opendkim:opendkim /var/spool/postfix/run/opendikim chmod 750 /var/spool/postfix/run/opendikim

/usr/sbin/usermod postfix -G opendkim

/etc/opendkim.conf

1
2
3
4
5
6
Mode                    sv      # signing & verify capabilities

Domain                  asynk.ch
Selector                2021
KeyFile                 /etc/dkimkeys/2021.private
Socket                  local:/var/spool/postfix/run/opendikim/opendkim.sock

postfix mtpd_milters = unix:/run/opendikim/opendkim.sock non_smtpd_milters = $smtpd_milters

Something

1
some code