Skip to content

Commit

Permalink
Add additional headers to DKIM signature
Browse files Browse the repository at this point in the history
By default OpenDKIM will sign just `From`, `To`, `Sender`,
`Subject` and `Date`.

It makes sense to also sign other headers (especially `Reply-To`)
to make sure nobody fiddles with the email.
  • Loading branch information
bokysan committed Sep 17, 2019
1 parent ecfb59d commit 4d6919e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions opendkim.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ SignatureAlgorithm rsa-sha256

UserID opendkim:opendkim
Socket inet:8891@localhost

SignHeaders From,Sender,To,CC,Subject,Message-Id,Date,MIME-Version,Content-Type,Reply-To
OversignHeaders From,Sender,To,CC,Subject,Message-Id,Date,MIME-Version,Content-Type,Reply-To

0 comments on commit 4d6919e

Please sign in to comment.