Skip to content

Commit

Permalink
Merge pull request #29 from tallenaz/master
Browse files Browse the repository at this point in the history
Add SenderHeaders option to opendkim.conf
  • Loading branch information
lvicainne authored May 27, 2022
2 parents 3d1bc37 + 7d9d086 commit 121f577
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
String $removeoldsignatures = $opendkim::params::removeoldsignatures,
Optional[Integer] $maximum_signed_bytes = $opendkim::params::maximum_signed_bytes,
Optional[String] $trustanchorfile = $opendkim::params::trustanchorfile,
Optional[Array] $senderheaders = $opendkim::params::senderheaders,
Boolean $manage_private_keys = $opendkim::params::manage_private_keys,
Boolean $alldomain = $opendkim::params::alldomain,
Optional[String] $selector = $opendkim::params::selector,
Expand Down
1 change: 1 addition & 0 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
$trusted_hosts = ['::1', '127.0.0.1', 'localhost']
$maximum_signed_bytes = undef
$trustanchorfile = undef
$senderheaders = undef
$manage_private_keys = true
$alldomain = false
$selector = undef
Expand Down
4 changes: 4 additions & 0 deletions templates/etc/opendkim.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,7 @@ MaximumSignedBytes <%= @maximum_signed_bytes %>
<% if @trustanchorfile -%>
TrustAnchorFile <%= @trustanchorfile %>
<% end -%>

<% if @senderheaders -%>
SenderHeaders <%= @senderheaders.join(',') %>
<% end -%>

0 comments on commit 121f577

Please sign in to comment.