3 # To generate a new key for your domain:
4 # /usr/bin/dkim-genkey -s mail -D /etc/dkim -d yourdomain.com
5 # Then append /etc/dkim/mail.txt to your dns zone file
7 # Append follow lines to your /etc/postfix/main.cf
9 # smtpd_milters = inet:localhost:2525
10 # non_smtpd_milters = inet:localhost:2525
12 # /etc/rc.d/postfix restart
13 # /etc/rc.d/dkim start
16 # Canonicalization simple
18 KeyFile /etc/dkim/mail.private
21 Socket inet:2525@localhost
22 SignatureAlgorithm rsa-sha1
27 # InternalHosts /etc/dkim/internal-hosts