<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://q-old.deltaquadrant.org/index.php?action=history&amp;feed=atom&amp;title=MailServer_-_scalix_InstallationsSkript</id>
	<title>MailServer - scalix InstallationsSkript - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://q-old.deltaquadrant.org/index.php?action=history&amp;feed=atom&amp;title=MailServer_-_scalix_InstallationsSkript"/>
	<link rel="alternate" type="text/html" href="https://q-old.deltaquadrant.org/index.php?title=MailServer_-_scalix_InstallationsSkript&amp;action=history"/>
	<updated>2026-07-12T15:54:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://q-old.deltaquadrant.org/index.php?title=MailServer_-_scalix_InstallationsSkript&amp;diff=2809&amp;oldid=prev</id>
		<title>Zulasch: Die Seite wurde neu angelegt: == Installation ==  Folgender Skript ist im Original auf der offiziellen Scalix Homepage zu finden.  WICHTIG!!! Das Skript ist nur für i386 Systeme ! &lt;br/&gt;   &lt;br/&gt; &lt;br...</title>
		<link rel="alternate" type="text/html" href="https://q-old.deltaquadrant.org/index.php?title=MailServer_-_scalix_InstallationsSkript&amp;diff=2809&amp;oldid=prev"/>
		<updated>2008-01-10T18:57:43Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: == Installation ==  Folgender Skript ist im Original auf der offiziellen Scalix Homepage zu finden.  WICHTIG!!! Das Skript ist nur für i386 Systeme ! &amp;lt;br/&amp;gt;   &amp;lt;br/&amp;gt; &amp;lt;br...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Installation ==&lt;br /&gt;
&lt;br /&gt;
Folgender Skript ist im Original auf der offiziellen Scalix Homepage zu finden.&lt;br /&gt;
&lt;br /&gt;
WICHTIG!!!&lt;br /&gt;
Das Skript ist nur für i386 Systeme !&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# (C) 2006-2007 Christoph Lukas &amp;lt;christoph.lukas@gmx.net&amp;gt;&lt;br /&gt;
#  05-23-2007 modified to setup the mobile client by Peter Ulrich&lt;br /&gt;
#  06-11-2007 adapted for 11.1.0 Till Wimmer &amp;lt;scalix@tonarchiv.ch&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
# private message via scalix forums: http://www.scalix.com/forums/privmsg.php?mode=post&amp;amp;u=4501&lt;br /&gt;
&lt;br /&gt;
echo -n &amp;quot;What should the name of your primary mailnode be? &amp;quot;; read mnode&lt;br /&gt;
echo -n &amp;quot;Please enter the admin password for the Scalix admin user (sxadmin)? &amp;quot;; read admpwd&lt;br /&gt;
echo -n &amp;quot;Please enter a password for the ldap query user? &amp;quot;; read ldappwd&lt;br /&gt;
echo -n &amp;quot;Please enter a password for the db user? &amp;quot;; read dbpwd&lt;br /&gt;
echo -n &amp;quot;Please enter the external ip address of your Scalix box? &amp;quot;; read ip&lt;br /&gt;
&lt;br /&gt;
tomcatport=80&lt;br /&gt;
scalix11downloadurl=&amp;quot;http://downloads.scalix.com/.community/11.1/scalix-11.1.0-GA-debian-intel.tgz&amp;quot;&lt;br /&gt;
scalix11targz=&amp;quot;scalix-11.1.0-GA-debian-intel.tgz&amp;quot;&lt;br /&gt;
scalix11dir=&amp;quot;scalix-debian-11.1.0-GA/software/scalix_server&amp;quot;&lt;br /&gt;
ldomain=$(hostname -d)&lt;br /&gt;
host=$(hostname)&lt;br /&gt;
fqdn=$(hostname -f)&lt;br /&gt;
short=${host:0:1}${host: -1:1}&lt;br /&gt;
&lt;br /&gt;
# Update and install required packages&lt;br /&gt;
echo &amp;quot;deb http://ftp.debian.org/debian etch main non-free contrib&amp;quot; &amp;gt;&amp;gt; /etc/apt/sources.list&lt;br /&gt;
aptitude update&lt;br /&gt;
aptitude upgrade&lt;br /&gt;
aptitude install apache2 libapache2-mod-jk gawk krb5-config krb5-doc krb5-user libkadm55 libkrb53 \&lt;br /&gt;
       libglib2.0-0 libstdc++2.10-glibc2.2 libxml2 sgml-base xml-core postgresql libsasl2-modules \&lt;br /&gt;
       libsasl2-gssapi-mit sendmail elinks w3m sun-java5-jre libssl0.9.7 libstdc++5 wget&lt;br /&gt;
&lt;br /&gt;
# Remove sendmail startup links&lt;br /&gt;
# This disables outgoing mail&lt;br /&gt;
#/etc/init.d/sendmail stop&lt;br /&gt;
#update-rc.d -f sendmail remove&lt;br /&gt;
&lt;br /&gt;
# Download Scalix 11&lt;br /&gt;
cd /tmp/&lt;br /&gt;
wget -N $scalix11downloadurl&lt;br /&gt;
&lt;br /&gt;
# Extract and install packages&lt;br /&gt;
tar xvfz $scalix11targz&lt;br /&gt;
cd $scalix11dir&lt;br /&gt;
dpkg -i ../../third_party/libical/i386/libical*.deb&lt;br /&gt;
dpkg -i scalix-server_*.deb&lt;br /&gt;
dpkg -i scalix-postgres_*.deb scalix-tomcat-connector_*.deb scalix-tomcat_*.deb \&lt;br /&gt;
        scalix-mobile_*.deb scalix-platform_*.deb scalix-res_*.deb scalix-sac_*.deb \&lt;br /&gt;
        scalix-sis_*.deb scalix-swa_*.deb&lt;br /&gt;
cd&lt;br /&gt;
&lt;br /&gt;
# Setup mailnode&lt;br /&gt;
export PATH=/opt/scalix/bin:$PATH&lt;br /&gt;
ommakeom&lt;br /&gt;
sxconfig --set -t general.usrl_cn_rule=&amp;#039;G S&amp;#039;&lt;br /&gt;
sxconfig --set -t general.usrl_authid_rule=&amp;#039;l@&amp;#039;&lt;br /&gt;
sxconfig --set -t orniasys.name_part_1=&amp;#039;&amp;quot;C&amp;quot; &amp;lt;S&amp;gt;&amp;#039; -t orniasys.domain_part_1=&amp;quot;$ldomain&amp;quot;&lt;br /&gt;
omaddmn -m $mnode&lt;br /&gt;
omrc -n&lt;br /&gt;
omadmidp -a -s 66000 -n 100&lt;br /&gt;
omaddu -n sxadmin/$mnode --class limited -c admin -p &amp;quot;$admpwd&amp;quot; sxadmin&lt;br /&gt;
omconfenu -n &amp;quot;sxadmin/$mnode&amp;quot;&lt;br /&gt;
omlimit -u &amp;quot;sxadmin/$mnode&amp;quot; -o -i 0 -m 0&lt;br /&gt;
omaddu -n sxqueryadmin/$mnode --class limited -c admin -p $ldappwd sxqueryadmin@$fqdn&lt;br /&gt;
omaddpdl -l ScalixUserAdmins/$mnode&lt;br /&gt;
omaddpdl -l ScalixUserAttributesAdmins/$mnode&lt;br /&gt;
omaddpdl -l ScalixGroupAdmins/$mnode&lt;br /&gt;
omaddpdl -l ScalixAdmins/$mnode&lt;br /&gt;
omon -s all&lt;br /&gt;
&lt;br /&gt;
# Setup DB&lt;br /&gt;
cd /opt/scalix-postgres/bin&lt;br /&gt;
./sxpsql-setpwd $dbpwd&lt;br /&gt;
./sxpsql-whitelist 127.0.0.1 $ip&lt;br /&gt;
&lt;br /&gt;
# Configure Scalix&lt;br /&gt;
base=/var/opt/scalix/${short}&lt;br /&gt;
files=&amp;quot;$base/webmail/swa.properties \&lt;br /&gt;
       $base/caa/scalix.res/config/ubermanager.properties \&lt;br /&gt;
       $base/res/config/res.properties \&lt;br /&gt;
       $base/platform/platform.properties \&lt;br /&gt;
       $base/mobile/mobile.properties \&lt;br /&gt;
       $base/sis/sis.properties&amp;quot;&lt;br /&gt;
&lt;br /&gt;
for file in $files; do&lt;br /&gt;
sed -e &amp;quot;s;%LOCALDOMAIN%;$ldomain;g&amp;quot; \&lt;br /&gt;
    -e &amp;quot;s;%LOCALHOST%;$fqdn;g&amp;quot; \&lt;br /&gt;
    -e &amp;quot;s;%PLATFORMURL%;$fqdn;g&amp;quot; \&lt;br /&gt;
    -e &amp;quot;s;__SECURED_MODE__;false;g&amp;quot; \&lt;br /&gt;
    -e &amp;quot;s;ubermanager/__FQHN_HOST__@__KERBEROS_REALM__;;g&amp;quot; \&lt;br /&gt;
    -e &amp;quot;s;__KERBEROS_REALM__;;g&amp;quot; \&lt;br /&gt;
    -e &amp;quot;s;__FQHN_FOR_KDC_HOST__;;g&amp;quot; \&lt;br /&gt;
    -e &amp;quot;s;__FQHN_QUERY_SERVER_NAME__;$fqdn;g&amp;quot; \&lt;br /&gt;
    -e &amp;quot;s;__UBERMGR_USE_EXTERNAL_AUTH__;false;g&amp;quot; \&lt;br /&gt;
    -e &amp;quot;s;__UBERMGR_ALLOW_EXTERNAL_AUTH__;false;g&amp;quot; \&lt;br /&gt;
    -e &amp;quot;s;__UBERMGR_MAXLIST_SIZE__;100;g&amp;quot; \&lt;br /&gt;
    -e &amp;quot;s;__UBERMGR_MAIL_DOMAINS_LIST__;$ldomain;g&amp;quot; \&lt;br /&gt;
    -e &amp;quot;s;__UBERMGR_EXTERNAL_DOMAIN_AUTH_LIST__;;g&amp;quot; \&lt;br /&gt;
    -e &amp;quot;s;__CONFIGURED__;true;g&amp;quot; \&lt;br /&gt;
    -e &amp;quot;s;__FQHN_FOR_UBERMANAGER__;$fqdn;g&amp;quot; \&lt;br /&gt;
    -e &amp;quot;s;__TOMCAT_PORT__;$tomcatport;g&amp;quot; \&lt;br /&gt;
    -e &amp;quot;s;localhost;$fqdn;g&amp;quot; \&lt;br /&gt;
    -e &amp;quot;s;%SIS-LANGUAGE%;German;g&amp;quot; \&lt;br /&gt;
    -e &amp;quot;s;%INDEX-WHITELIST%;$fqdn;g&amp;quot; \&lt;br /&gt;
    -e &amp;quot;s;%SEARCH-WHITELIST%;$fqdn;g&amp;quot; \&lt;br /&gt;
    -e &amp;quot;s;%IMAPHOST%;$fqdn;g&amp;quot; \&lt;br /&gt;
    -e &amp;quot;s;%SMTPHOST%;$fqdn;g&amp;quot; \&lt;br /&gt;
    -e &amp;quot;s;%LDAPPORT%;389;g&amp;quot; \&lt;br /&gt;
    -e &amp;quot;s;%DBHOST%;$fqdn:5733;g&amp;quot; \&lt;br /&gt;
    -e &amp;quot;s;%DBPASSWD%;$dbpwd;g&amp;quot; \&lt;br /&gt;
    $file &amp;gt; $file.neu&lt;br /&gt;
mv $file.neu $file&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
# Write Ldappassword to psdata&lt;br /&gt;
cd ${base}/caa/scalix.res/config&lt;br /&gt;
echo &amp;quot;$ldappwd&amp;quot; &amp;gt; psdata&lt;br /&gt;
chown root:root psdata&lt;br /&gt;
chmod 400 psdata&lt;br /&gt;
cd&lt;br /&gt;
&lt;br /&gt;
# Write worker config:&lt;br /&gt;
cat &amp;lt;&amp;lt; EOF &amp;gt; /etc/opt/scalix-tomcat/connector/jk/workers.conf&lt;br /&gt;
JkWorkerProperty worker.list=$mnode&lt;br /&gt;
JkWorkerProperty worker.$mnode.host=$ip&lt;br /&gt;
JkWorkerProperty worker.$mnode.port=8009&lt;br /&gt;
EOF&lt;br /&gt;
&lt;br /&gt;
# patch connector conf&lt;br /&gt;
patch -s /etc/apache2/conf.d/scalix-tomcat-connector.conf &amp;lt;&amp;lt; EOF&lt;br /&gt;
--- scalix-tomcat-connector.conf   2007-06-11 11:23:46.000000000 +0200&lt;br /&gt;
+++ /etc/apache2/conf.d/scalix-tomcat-connector.conf   2007-06-11 11:27:14.000000000 +0200&lt;br /&gt;
@@ -35,7 +35,8 @@&lt;br /&gt;
 # JkRequestLogFormat set the request format&lt;br /&gt;
 JkRequestLogFormat &amp;quot;%w %V %T&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
-Include /etc/opt/scalix-tomcat/connector/jk/instance-*.conf&lt;br /&gt;
+#Include /etc/opt/scalix-tomcat/connector/jk/instance-*.conf&lt;br /&gt;
+Include /etc/opt/scalix-tomcat/connector/jk/app-*.conf&lt;br /&gt;
 Include /etc/opt/scalix-tomcat/connector/jk/workers.conf&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
EOF&lt;br /&gt;
&lt;br /&gt;
# Restart Tomcat&lt;br /&gt;
/etc/init.d/scalix-tomcat restart&lt;br /&gt;
&lt;br /&gt;
# Setup Apache&lt;br /&gt;
ln -s /opt/scalix/global/httpd/scalix-web-client.conf /etc/apache2/conf.d&lt;br /&gt;
cat &amp;lt;&amp;lt; EOF &amp;gt; /etc/apache2/conf.d/scalix-access.conf&lt;br /&gt;
&amp;lt;Location /&amp;gt;&lt;br /&gt;
        Allow from all&lt;br /&gt;
&amp;lt;/Location&amp;gt;&lt;br /&gt;
EOF&lt;br /&gt;
/etc/init.d/apache2 restart&lt;br /&gt;
&lt;br /&gt;
cat &amp;lt;&amp;lt; EOT&lt;br /&gt;
#####################################################&lt;br /&gt;
# You should now be able to access scalix at:&lt;br /&gt;
# http://$fqdn/sac&lt;br /&gt;
# http://$fqdn/webmail&lt;br /&gt;
#####################################################&lt;br /&gt;
EOT&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Zulasch</name></author>
	</entry>
</feed>