summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@leap.se>2013-08-29 16:19:46 -0400
committerMicah Anderson <micah@leap.se>2013-08-29 16:19:46 -0400
commit37ac5a7a86796c6579f4b6b00ed0ecb5d8cd8370 (patch)
tree5ceffc64aa9adc8d0b28667c5d6e2f28a10e063c
parent40a4e7a9e939bbf5a8cd550dd6e64c029eb83273 (diff)
parentddcab83dda101ee335bbf37451f37e2bfe358c7f (diff)
Merge branch 'feature/3604' into develop
-rw-r--r--provider_base/files/service-definitions/v1/smtp-service.json.erb2
-rw-r--r--puppet/modules/site_postfix/manifests/mx.pp1
-rw-r--r--puppet/modules/site_shorewall/manifests/mx.pp2
3 files changed, 3 insertions, 2 deletions
diff --git a/provider_base/files/service-definitions/v1/smtp-service.json.erb b/provider_base/files/service-definitions/v1/smtp-service.json.erb
index 60129f5f..8fee9f8e 100644
--- a/provider_base/files/service-definitions/v1/smtp-service.json.erb
+++ b/provider_base/files/service-definitions/v1/smtp-service.json.erb
@@ -15,7 +15,7 @@
host = {}
host["hostname"] = node.domain.full
host["ip_address"] = node.ip_address
- host["port"] = 25 # hard coded for now, later node.smtp.port
+ host["port"] = 465 # hard coded for now, later node.smtp.port
if node['location']
location_name = underscore(node.location.name)
host["location"] = location_name
diff --git a/puppet/modules/site_postfix/manifests/mx.pp b/puppet/modules/site_postfix/manifests/mx.pp
index ed5b3832..18815f70 100644
--- a/puppet/modules/site_postfix/manifests/mx.pp
+++ b/puppet/modules/site_postfix/manifests/mx.pp
@@ -35,6 +35,7 @@ class site_postfix::mx {
preseed => true,
root_mail_recipient => $root_mail_recipient,
smtp_listen => 'all',
+ mastercf_tail => "smtps inet n - - - - smtpd\n -o smtpd_tls_wrappermode=yes\n -o smtpd_tls_security_level=encrypt\n",
require => [ X509::Key[$cert_name], X509::Cert[$cert_name],
User['vmail'] ]
}
diff --git a/puppet/modules/site_shorewall/manifests/mx.pp b/puppet/modules/site_shorewall/manifests/mx.pp
index 5ec95fdd..123ffec2 100644
--- a/puppet/modules/site_shorewall/manifests/mx.pp
+++ b/puppet/modules/site_shorewall/manifests/mx.pp
@@ -2,7 +2,7 @@ class site_shorewall::mx {
include site_shorewall::defaults
- $smtpd_ports = '25'
+ $smtpd_ports = '25,465'
# define macro for incoming services
file { '/etc/shorewall/macro.leap_mx':