1 |
--- smeserver-zarafa-0.9.0/root/etc/e-smith/templates/etc/zarafa/unix.cfg/unix.cfg.props 2008-09-27 00:38:13.000000000 +1000 |
2 |
+++ smeserver-zarafa-0.9.0/root/etc/e-smith/templates/etc/zarafa/unix.cfg/unix.cfg 2008-12-17 23:23:52.000000000 +1100 |
3 |
@@ -12,7 +12,7 @@ |
4 |
|
5 |
# Default email domain for constructing new users |
6 |
# Required, no default |
7 |
-default_domain = tallgrassranch.com |
8 |
+default_domain = { ${'zarafa-server'}{DomainName} || $DomainName; } |
9 |
|
10 |
# The lowest user id that is considered a regular user |
11 |
# Optional, default = 1000 |
12 |
--- smeserver-zarafa-0.9.0/root/etc/e-smith/templates/etc/zarafa/gateway.cfg/gateway.cfg.props 2008-10-02 02:34:30.000000000 +1000 |
13 |
+++ smeserver-zarafa-0.9.0/root/etc/e-smith/templates/etc/zarafa/gateway.cfg/gateway.cfg 2008-12-17 23:47:39.000000000 +1100 |
14 |
@@ -3,7 +3,7 @@ |
15 |
|
16 |
server_bind = 0.0.0.0 |
17 |
|
18 |
-server_socket = http://localhost:236/zarafa |
19 |
+server_socket = http://localhost:{${'zarafa-server'}{tcpport}||'236';}/zarafa |
20 |
|
21 |
# drop privileges and run the process as this user |
22 |
run_as_user = |
23 |
@@ -18,20 +18,20 @@ |
24 |
running_path = / |
25 |
|
26 |
# enable/disable POP3, and POP3 listen port |
27 |
-pop3_enable = no |
28 |
-pop3_port = 110 |
29 |
+pop3_enable = { if (${'zarafa-gateway'}{status} eq 'enabled') {'yes'} else {'no'}; } |
30 |
+pop3_port = { ${'zarafa-gateway'}{pop3port} || '110'; } |
31 |
|
32 |
# enable/disable Secure POP3, and Secure POP3 listen port |
33 |
-pop3s_enable = no |
34 |
-pop3s_port = 995 |
35 |
+pop3s_enable = { if (${'zarafa-gateway'}{status} eq 'enabled') {'yes'} else {'no'}; } |
36 |
+pop3s_port = { ${'zarafa-gateway'}{pop3sport} || '995'; } |
37 |
|
38 |
# enable/disable IMAP, and IMAP listen port |
39 |
-imap_enable = yes |
40 |
-imap_port = 144 |
41 |
+imap_enable = { if (${'zarafa-gateway'}{status} eq 'enabled') {'yes'} else {'no'}; } |
42 |
+imap_port = { ${'zarafa-gateway'}{imapport} || '144'; } |
43 |
|
44 |
# enable/disable Secure IMAP, and Secure IMAP listen port |
45 |
-imaps_enable = no |
46 |
-imaps_port = 993 |
47 |
+imaps_enable = { if (${'zarafa-gateway'}{status} eq 'enabled') {'yes'} else {'no'}; } |
48 |
+imaps_port = { ${'zarafa-gateway'}{imapsport} || '993'; } |
49 |
|
50 |
# Only mail folder for IMAP or all subfolders (calendar, contacts, tasks, etc. too) |
51 |
imap_only_mailfolders = yes |
52 |
--- smeserver-zarafa-0.9.0/root/etc/e-smith/templates/etc/zarafa/ical.cfg/ical.cfg.props 2008-09-18 10:43:22.000000000 +1000 |
53 |
+++ smeserver-zarafa-0.9.0/root/etc/e-smith/templates/etc/zarafa/ical.cfg/ical.cfg 2008-12-17 23:51:31.000000000 +1100 |
54 |
@@ -17,19 +17,20 @@ |
55 |
server_bind = 0.0.0.0 |
56 |
|
57 |
# wether normal connections can be made to the ical server |
58 |
-ical_enable = yes |
59 |
+ical_enable = { if (${'zarafa-ical'}{status} eq 'enabled') {'yes'} else {'no'}; } |
60 |
|
61 |
# port which the ical server listens on for normal connections |
62 |
ical_port = 8080 |
63 |
+ical_port = { ${'zarafa-ical'}{icalport} || '8008'; } |
64 |
|
65 |
# wether ssl connections can be made to the ical server |
66 |
-icals_enable = no |
67 |
+icals_enable = { if (${'zarafa-ical'}{status} eq 'enabled') {'yes'} else {'no'}; } |
68 |
|
69 |
# port which the ical server listens on for ssl connections |
70 |
-icals_port = 8443 |
71 |
+icals_port = { ${'zarafa-ical'}{icalsport} || '8443'; } |
72 |
|
73 |
# default connection to the Zarafa server |
74 |
-server_socket = http://localhost:236/zarafa |
75 |
+server_socket = http://localhost:{${'zarafa-server'}{tcpport}||'236';}/zarafa |
76 |
|
77 |
############################################################## |
78 |
# ICAL LOG SETTINGS |
79 |
--- smeserver-zarafa-0.9.0/root/etc/e-smith/templates/etc/zarafa/server.cfg/server.cfg.props 2008-10-18 01:24:44.000000000 +1100 |
80 |
+++ smeserver-zarafa-0.9.0/root/etc/e-smith/templates/etc/zarafa/server.cfg/server.cfg 2008-12-17 23:23:37.000000000 +1100 |
81 |
@@ -10,7 +10,7 @@ |
82 |
server_tcp_enabled = yes |
83 |
|
84 |
# Port to bind to |
85 |
-server_tcp_port = 236 |
86 |
+server_tcp_port = { ${'zarafa-server'}{TCPPort} || '236'; } |
87 |
|
88 |
# Accept unix pipe connections (not recommended to disable) |
89 |
server_pipe_enabled = yes |
90 |
@@ -98,7 +98,7 @@ |
91 |
server_ssl_enabled = no |
92 |
|
93 |
# Listen for SSL connections on this port |
94 |
-server_ssl_port = 237 |
95 |
+server_ssl_port = { ${'zarafa-server'}{SSLPort} || '237'; } |
96 |
|
97 |
# Required Server certificate, contains the certificate and the private key parts |
98 |
server_ssl_key_file = /etc/zarafa/ssl/server.pem |
99 |
@@ -176,7 +176,7 @@ |
100 |
# Name of the plugin that handles users |
101 |
# Required, default = ldap |
102 |
# Values: ldap, unix, db |
103 |
-user_plugin = db |
104 |
+user_plugin = { ${'zarafa-server'}{Plugin} || 'db'; } |
105 |
|
106 |
# configuration file of the user plugin, examples can be found in /usr/share/zarafa/example-config |
107 |
user_plugin_config = /etc/zarafa/unix.cfg |