summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-06-13 20:22:54 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-06-13 20:22:54 +0200
commit47e1772347cb579d3b50c075a9e117a48b5a9396 (patch)
treee080d20f6a7f65ae3ceff87d85a5a5a374200df2
parentmailserver smtp_listen => "all" (diff)
downloadprofiles-47e1772347cb579d3b50c075a9e117a48b5a9396.tar.gz
profiles-47e1772347cb579d3b50c075a9e117a48b5a9396.tar.xz
Mailserver config.
-rw-r--r--manifests/mailserver.pp13
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(', ') ;
+ }
}