--- 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 +++ smeserver-zarafa-0.9.0/root/etc/e-smith/templates/etc/zarafa/unix.cfg/unix.cfg 2008-12-17 23:23:52.000000000 +1100 @@ -12,7 +12,7 @@ # Default email domain for constructing new users # Required, no default -default_domain = tallgrassranch.com +default_domain = { ${'zarafa-server'}{DomainName} || $DomainName; } # The lowest user id that is considered a regular user # Optional, default = 1000 --- 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 +++ smeserver-zarafa-0.9.0/root/etc/e-smith/templates/etc/zarafa/gateway.cfg/gateway.cfg 2008-12-17 23:47:39.000000000 +1100 @@ -3,7 +3,7 @@ server_bind = 0.0.0.0 -server_socket = http://localhost:236/zarafa +server_socket = http://localhost:{${'zarafa-server'}{tcpport}||'236';}/zarafa # drop privileges and run the process as this user run_as_user = @@ -18,20 +18,20 @@ running_path = / # enable/disable POP3, and POP3 listen port -pop3_enable = no -pop3_port = 110 +pop3_enable = { if (${'zarafa-gateway'}{status} eq 'enabled') {'yes'} else {'no'}; } +pop3_port = { ${'zarafa-gateway'}{pop3port} || '110'; } # enable/disable Secure POP3, and Secure POP3 listen port -pop3s_enable = no -pop3s_port = 995 +pop3s_enable = { if (${'zarafa-gateway'}{status} eq 'enabled') {'yes'} else {'no'}; } +pop3s_port = { ${'zarafa-gateway'}{pop3sport} || '995'; } # enable/disable IMAP, and IMAP listen port -imap_enable = yes -imap_port = 144 +imap_enable = { if (${'zarafa-gateway'}{status} eq 'enabled') {'yes'} else {'no'}; } +imap_port = { ${'zarafa-gateway'}{imapport} || '144'; } # enable/disable Secure IMAP, and Secure IMAP listen port -imaps_enable = no -imaps_port = 993 +imaps_enable = { if (${'zarafa-gateway'}{status} eq 'enabled') {'yes'} else {'no'}; } +imaps_port = { ${'zarafa-gateway'}{imapsport} || '993'; } # Only mail folder for IMAP or all subfolders (calendar, contacts, tasks, etc. too) imap_only_mailfolders = yes --- 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 +++ smeserver-zarafa-0.9.0/root/etc/e-smith/templates/etc/zarafa/ical.cfg/ical.cfg 2008-12-17 23:51:31.000000000 +1100 @@ -17,19 +17,20 @@ server_bind = 0.0.0.0 # wether normal connections can be made to the ical server -ical_enable = yes +ical_enable = { if (${'zarafa-ical'}{status} eq 'enabled') {'yes'} else {'no'}; } # port which the ical server listens on for normal connections ical_port = 8080 +ical_port = { ${'zarafa-ical'}{icalport} || '8008'; } # wether ssl connections can be made to the ical server -icals_enable = no +icals_enable = { if (${'zarafa-ical'}{status} eq 'enabled') {'yes'} else {'no'}; } # port which the ical server listens on for ssl connections -icals_port = 8443 +icals_port = { ${'zarafa-ical'}{icalsport} || '8443'; } # default connection to the Zarafa server -server_socket = http://localhost:236/zarafa +server_socket = http://localhost:{${'zarafa-server'}{tcpport}||'236';}/zarafa ############################################################## # ICAL LOG SETTINGS --- 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 +++ smeserver-zarafa-0.9.0/root/etc/e-smith/templates/etc/zarafa/server.cfg/server.cfg 2008-12-17 23:23:37.000000000 +1100 @@ -10,7 +10,7 @@ server_tcp_enabled = yes # Port to bind to -server_tcp_port = 236 +server_tcp_port = { ${'zarafa-server'}{TCPPort} || '236'; } # Accept unix pipe connections (not recommended to disable) server_pipe_enabled = yes @@ -98,7 +98,7 @@ server_ssl_enabled = no # Listen for SSL connections on this port -server_ssl_port = 237 +server_ssl_port = { ${'zarafa-server'}{SSLPort} || '237'; } # Required Server certificate, contains the certificate and the private key parts server_ssl_key_file = /etc/zarafa/ssl/server.pem @@ -176,7 +176,7 @@ # Name of the plugin that handles users # Required, default = ldap # Values: ldap, unix, db -user_plugin = db +user_plugin = { ${'zarafa-server'}{Plugin} || 'db'; } # configuration file of the user plugin, examples can be found in /usr/share/zarafa/example-config user_plugin_config = /etc/zarafa/unix.cfg