summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-03-08 13:07:44 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-03-08 13:07:44 -0300
commit2c3e2c08895b3dccd4ba283e1b5a3a5d1ea0511e (patch)
tree90cbbecd35edacc7ec6f9e3a5a66130343aadbed
parente4fe6cad936b939bcefc734e4dd6178cf95a2afe (diff)
downloadpuppet-mail-2c3e2c08895b3dccd4ba283e1b5a3a5d1ea0511e.tar.gz
puppet-mail-2c3e2c08895b3dccd4ba283e1b5a3a5d1ea0511e.tar.bz2
Use 2048 bits for DKIM key size
-rw-r--r--manifests/opendkim.pp2
-rw-r--r--manifests/opendkim/key.pp2
2 files changed, 2 insertions, 2 deletions
diff --git a/manifests/opendkim.pp b/manifests/opendkim.pp
index f688c04..14b47a7 100644
--- a/manifests/opendkim.pp
+++ b/manifests/opendkim.pp
@@ -82,6 +82,6 @@ class mail::opendkim {
postfix::config { "milter_protocol": value => '2' }
postfix::config { "milter_default_action": value => 'accept' }
- postfix::config { "smtpd_milters": value => 'inet:localhost:12301' }
+ postfix::config { "smtpd_milters": value => 'inet:localhost:12301' }
postfix::config { "non_smtpd_milters": value => 'inet:localhost:12301' }
}
diff --git a/manifests/opendkim/key.pp b/manifests/opendkim/key.pp
index d653f31..f4bd353 100644
--- a/manifests/opendkim/key.pp
+++ b/manifests/opendkim/key.pp
@@ -8,7 +8,7 @@ define mail::opendkim::key() {
}
exec { "opendkim-genkey-${name}":
- command => "opendkim-genkey -s mail -d ${name}",
+ command => "opendkim-genkey -b 2048 -s mail -d ${name}",
cwd => "/etc/opendkim/keys/${name}",
user => root,
group => root,