summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf/templates/kolab_smtpdpolicy.conf.template19
-rw-r--r--conf/templates/master.cf.template9
2 files changed, 19 insertions, 9 deletions
diff --git a/conf/templates/kolab_smtpdpolicy.conf.template b/conf/templates/kolab_smtpdpolicy.conf.template
new file mode 100644
index 0000000..e38d3cb
--- /dev/null
+++ b/conf/templates/kolab_smtpdpolicy.conf.template
@@ -0,0 +1,19 @@
+# (c) 2005 Steffen Hansen <steffen@klaralvdalens-datakonsult.se> (Klaralvdalens Datakonsult AB)
+#
+# This program is Free Software under the GNU General Public License (>=v2).
+# Read the file COPYING that comes with this packages for details.
+
+# this file is automatically written by the Kolab config backend
+# manual additions are lost unless made to the template in the Kolab config directory
+
+ldap_uri: @@@ldap_uri@@@
+basedn: @@@user_dn_list@@@
+binddn: @@@php_dn@@@
+bindpw: @@@php_pw@@@
+domain: @@@postfix-mydomain@@@
+@@@if postfix-allow-unauthenticated@@@
+allow_unauth: 1
+@@@else@@@
+allow_unauth: 0
+@@@endif@@@
+permithosts: @@@kolabhost|join,@@@
diff --git a/conf/templates/master.cf.template b/conf/templates/master.cf.template
index 0cef15f..a4357d0 100644
--- a/conf/templates/master.cf.template
+++ b/conf/templates/master.cf.template
@@ -76,15 +76,6 @@ smtp-amavis unix - - n - 2 smtp
-o smtpd_soft_error_limit=1001
-o smtpd_hard_error_limit=1000
kolabpolicy unix - n n - - spawn user=@l_nusr@ argv=@l_prefix@/etc/kolab/kolab_smtpdpolicy
- -ldap @@@ldap_uri@@@
- -basedn @@@user_dn_list@@@
- -binddn @@@php_dn@@@
- -bindpw @@@php_pw@@@
- -domain @@@postfix-mydomain@@@
-@@@if postfix-allow-unauthenticated@@@
- -allow-unauth
-@@@endif@@@
- -permithosts @@@kolabhost|join,@@@
kolabfilter unix - n n - - pipe user=@l_nusr@ flags=n argv=@l_prefix@/bin/php
-c @l_prefix@/etc/apache/php.ini