spam: Enable DKIM processing
authorAlex Dehnert <alex@dehnerts.com>
Sun, 10 Jul 2022 23:08:39 +0000 (19:08 -0400)
committerAlex Dehnert <alex@dehnerts.com>
Sun, 10 Jul 2022 23:08:39 +0000 (19:08 -0400)
commit86afbcb7ac76b8a0cbc993c993a58da3591b3a69
treebbee900bb30639f1b05cd5805216cfb50b68124c
parentbb916e6a42be882901b8240c9666bb26d5874dbf
spam: Enable DKIM processing

- Add OpenDKIM as a milter to do signing and verification
- Switch to after-queue filtering (content_filter), because apparently
  smtpd_proxy_filter prevents milters from getting the message DATA[1]. This
  means if the spam filter rejects the message, we need to send a bounce,
  rather than returning it in the same session, but I don't think I currently
  have SpamAssassin rejecting anything, so that seems okay.

[1] https://mailing.postfix.users.narkive.com/8CT5J48q/milter-and-smtpd-proxy-filter
main.cf
master.cf