summaryrefslogtreecommitdiffstats
path: root/share
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 12:58:24 +0100
commit0843e90fc61b28a8cf13aa1e1443585873c4a1da (patch)
tree139d358556985a43ef8bc87cedc83cb59ba3031a /share
parent3bcf9a6e60580006182e3521cae4ea68f188f882 (diff)
downloadpykolab-0843e90fc61b28a8cf13aa1e1443585873c4a1da.tar.gz
Replace the values with variables
Diffstat (limited to 'share')
-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