summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@pardus.de>2010-05-16 09:08:31 (GMT)
committerGunnar Wrobel <wrobel@pardus.de>2010-05-16 09:08:31 (GMT)
commit9c0d3944a37c97ba807cdeca8759cb210194837f (patch)
tree87dfa461fa3c3ea52aedaf457420d15fffae73a7
parentf5ea3d5c9baa19b6d82605b2e158ba39285ced7d (diff)
downloadkolab-conf-9c0d3944a37c97ba807cdeca8759cb210194837f.tar.gz
Adapt port policy.
kolab/issue4311 (Activate port 587 for email submission)
-rw-r--r--conf/templates/main.cf.template.in1
-rw-r--r--conf/templates/master.cf.template.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/conf/templates/main.cf.template.in b/conf/templates/main.cf.template.in
index 9bd9b5d..3c56fdb 100644
--- a/conf/templates/main.cf.template.in
+++ b/conf/templates/main.cf.template.in
@@ -161,6 +161,7 @@ smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated,
check_policy_service unix:private/kolabpolicy
smtpd_sender_restrictions = permit_mynetworks,
check_policy_service unix:private/kolabpolicy
+submission_sender_restrictions = check_policy_service unix:private/kolabpolicy
kolabpolicy_time_limit = 3600
kolabpolicy_max_idle = 20
diff --git a/conf/templates/master.cf.template.in b/conf/templates/master.cf.template.in
index fc8f498..cc0acab 100644
--- a/conf/templates/master.cf.template.in
+++ b/conf/templates/master.cf.template.in
@@ -22,6 +22,7 @@ KOLAB_META_END
-o smtpd_enforce_tls=yes
-o smtpd_sasl_auth_enable=yes
-o smtpd_client_restrictions=permit_sasl_authenticated,reject
+ -o smtpd_sender_restrictions=${submission_sender_restrictions}
#628 inet n - n - - qmqpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup