diff options
author | Bruno Cornec <bruno@victoria.frmug.org> | 2024-02-20 20:20:00 +0100 |
---|---|---|
committer | Bruno Cornec <bruno@victoria.frmug.org> | 2024-02-20 20:20:00 +0100 |
commit | 6ea5ab04fc45a455ddad30046769c2b6389a8e25 (patch) | |
tree | 98f99c2504ea4958cd8a899b13664af511783072 /modules | |
parent | b10fb4efb60acfed2924bc870f81c63dd406f9cd (diff) | |
download | puppet-6ea5ab04fc45a455ddad30046769c2b6389a8e25.tar puppet-6ea5ab04fc45a455ddad30046769c2b6389a8e25.tar.gz puppet-6ea5ab04fc45a455ddad30046769c2b6389a8e25.tar.bz2 puppet-6ea5ab04fc45a455ddad30046769c2b6389a8e25.tar.xz puppet-6ea5ab04fc45a455ddad30046769c2b6389a8e25.zip |
Adds entry point for dkim in postfix server conf
Diffstat (limited to 'modules')
-rw-r--r-- | modules/postfix/manifests/server.pp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/postfix/manifests/server.pp b/modules/postfix/manifests/server.pp index 85ab261c..ef6ef4e8 100644 --- a/modules/postfix/manifests/server.pp +++ b/modules/postfix/manifests/server.pp @@ -2,6 +2,8 @@ class postfix::server inherits postfix { include postgrey include amavis include spamassassin + include opendkim + include opendkim::variable File['/etc/postfix/main.cf'] { content => template('postfix/main.cf'), @@ -10,4 +12,18 @@ class postfix::server inherits postfix { file { '/etc/postfix/transport_regexp': content => template('postfix/transport_regexp'), } + +class { '::opendkim': + socket => 'inet:'.$socketp.'@127.0.0.1', + trusted_hosts => ['::1','127.0.0.1','localhost'], + keys => [ + { + domain => $domain, + selector => $selector, + publickey => 'p=yourPublicKey', + privatekey => 'Your Private Key', + signingdomains => $sdomain, + } + ] + } } |