From 47e1772347cb579d3b50c075a9e117a48b5a9396 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Mon, 13 Jun 2022 20:22:54 +0200 Subject: Mailserver config. --- manifests/mailserver.pp | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'manifests') 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(', ') ; + } } -- cgit v1.2.3