さくらの VPS (CentOS) の Postfix で DKIM 対応にする

$ sudo yum install --enablerepo=epel dkim-milter
$ dkim-genkey -r -d pocari.org
$ sudo mkdir /etc/mail/dkim-milter/keys/pocari.org
$ sudo mv default.private /etc/mail/dkim-milter/keys/pocari.org/default
$ sudo mv default.txt /etc/mail/dkim-milter/keys/pocari.org
$ sudo chown -R dkim-milter:dkim-milter /etc/mail/dkim-milter/keys/pocari.org

  /etc/mail/dkim-milter/keys/pocari.org/default.txt を zone ファイルに登録。

$ dig default._domainkey.pocari.org TXT

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_5.3 <<>> default._domainkey.pocari.org TXT
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18053
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;default._domainkey.pocari.org. IN      TXT

;; ANSWER SECTION:
default._domainkey.pocari.org. 300 IN   TXT     "v=DKIM1\; g=*\; k=rsa\; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDUWmQHRIpLQ3OO6RUt7QSguR4tuWZzm6mBRB3e1Q+irkdZ5MgARUx27dU31oHVVcyUZquYztnuunnRpOim/VE0YwpJmNSfwxA4lTyQsP6cG9a+qujew6ddljixy+fBGLKyZBT4sKEPoCNFHSlvwLUHrfgiSIHDfdDoBHNgMYl8AQIDAQAB"

;; Query time: 12 msec
;; SERVER: 210.224.163.4#53(210.224.163.4)
;; WHEN: Wed Oct 26 12:42:11 2011
;; MSG SIZE  rcvd: 299

$ diff -u /etc/mail/dkim-milter/dkim-filter.conf.org /etc/mail/dkim-milter/dkim-filter.conf
$ sudo vim /etc/mail/dkim-milter/keys/keylist

- refs.: HOWTO Setup dkim-milter with postfix under CentOS 5
  http://wiki.cementhorizon.com/display/CH/HOWTO+Setup+dkim-milter+with+post ...