summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-06-08 12:58:24 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-06-08 13:04:52 +0100
commitdf3a212a99ae0e4b250519f9e4fc274e772699bc (patch)
tree5d9698a3798f5ac2a31bf9b47d664453116735ba
parentc0e89b2a64c326e6cb04a02e6759e9c9c2cd57f6 (diff)
downloadpykolab-df3a212a99ae0e4b250519f9e4fc274e772699bc.tar.gz
Replace the values with variables
-rw-r--r--share/templates/amavisd.conf.tpl10
1 files changed, 5 insertions, 5 deletions
diff --git a/share/templates/amavisd.conf.tpl b/share/templates/amavisd.conf.tpl
index bdf91a8..4c8e3a7 100644
--- a/share/templates/amavisd.conf.tpl
+++ b/share/templates/amavisd.conf.tpl
@@ -18,7 +18,7 @@ use strict;
\$daemon_user = 'amavis'; # (no default; customary: vscan or amavis), -u
\$daemon_group = 'amavis'; # (no default; customary: vscan or amavis), -g
-\$mydomain = 'example.com'; # a convenient default for other settings
+\$mydomain = '$primary_domain'; # a convenient default for other settings
\$MYHOME = '/var/spool/amavisd'; # a convenient default for other settings, -H
\$TEMPBASE = "\$MYHOME/tmp"; # working directory, needs to exist, -T
@@ -56,10 +56,10 @@ use strict;
version => 3,
timeout => 5,
tls => 0,
- base => 'dc=example,dc=org',
- query_filter => '(|(mail=%m)(alias=%m))',
- bind_dn => 'uid=kolab-service,ou=Special Users,dc=example,dc=org',
- bind_password => 'Welcome2KolabSystems'
+ base => '$ldap_base_dn',
+ query_filter => '$ldap_filter',
+ bind_dn => '$ldap_bind_dn',
+ bind_password => '$ldap_bind_pw'
};
@local_domains_maps = ( [".\$mydomain"] ); # list of all local domains