diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-06-13 20:22:54 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-06-13 20:22:54 +0200 |
commit | 47e1772347cb579d3b50c075a9e117a48b5a9396 (patch) | |
tree | e080d20f6a7f65ae3ceff87d85a5a5a374200df2 /manifests | |
parent | mailserver smtp_listen => "all" (diff) | |
download | profiles-47e1772347cb579d3b50c075a9e117a48b5a9396.tar.gz profiles-47e1772347cb579d3b50c075a9e117a48b5a9396.tar.xz |
Mailserver config.
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/mailserver.pp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/manifests/mailserver.pp b/manifests/mailserver.pp index 8c7c32c..60a6bfd 100644 --- a/manifests/mailserver.pp +++ b/manifests/mailserver.pp @@ -4,4 +4,17 @@ class profiles::mailserver ( inet_protocols => 'all', smtp_listen => 'all', } + + $destinations = [ + 'adrift.space', + 'hornquist.se', + 'localhost', + 'localhost.localdomain', + ] + + postfix::config { + default: ensure => present ; + 'mydomain': value => 'adrift.space' ; + 'mydestination': value => $destinations.join(', ') ; + } } |