I can't get it to install under Ubuntu as it needs Apache 2.2 and Ubuntu doesn't have it available in dapper.
This is my latest installation test (I have tried the Makefile provided in the wiki, which installs an early release and webmail gives me an expired error, the etch install script gives me the same problem that I have now).
Scalix Install Notes
Install Debian 3.1
upgrade to Etch
installed common stuff, (ssh, proftpd, mc, zip, unzip)
download Scalix-11.0.1-GA.debian.tgz
tar xvzf Scalix-11.0.1-GA.debian.tgz
mkdir -p /home/packages/binary
cp scalix-debian-11.0.1-GA/software/scalix_server/*.deb /home/packages/binary
cp scalix-debian-11.0.1-GA/third_party/libical/*.deb /home/packages/binary
cd /home/packages
dpkg-scanpackages binary /dev/null | gzip -9c > binary/Packages.gz
nano -w /etc/apt/sources.list
Code: Select all
deb http://debian.yorku.ca/debian/ etch main contrib non-free
deb-src http://debian.yorku.ca/debian/ etch main
deb http://security.debian.org/ etch/updates main
deb file:///home/packages binary/
apt-get update
apt-get install sun-java5-jre apache2 (installs java 1.5.10 and apache 2.2)
apt-get remove exim4-daemon-light
apt-get install scalix-server postfix
/opt/scalix/bin/ommakeom
(check for errors)
cd /home/<username>
./install.sh (custom scalix config program)
Code: Select all
#!/bin/bash
echo -n "What should the name of your primary mailnode be? "; read mnode
echo -n "Please enter the admin password for the Scalix admin user (sxadmin)? "; read admpwd
echo -n "Please enter a password for the ldap query user? "; read ldappwd
echo -n "Please enter a password for the db user? "; read dbpwd
echo -n "Please enter the external ip address of your Scalix box? "; read ip
tomcatport=8080
ldomain=$(hostname -d)
host=$(hostname)
fqdn=$(hostname -f)
short=${host:0:1}${host: -1:1}
# Setup mailnode
export PATH=/opt/scalix/bin:$PATH
##ommakeom #Already done
sxconfig --set -t general.usrl_cn_rule='G S'
sxconfig --set -t general.usrl_authid_rule='l@'
sxconfig --set -t orniasys.name_part_1='"C" <S>' -t orniasys.domain_part_1="$ldomain"
omaddmn -m $mnode
omrc -n
omaddu -n sxadmin/$mnode --class limited -c admin -p "$admpwd" sxadmin
omconfenu -n "sxadmin/$mnode"
omlimit -u "sxadmin/$mnode" -o -i 0 -m 0
omaddu -n sxqueryadmin/$mnode --class limited -c admin -p $ldappwd sxqueryadmin@$fqdn
omaddpdl -l ScalixUserAdmins/$mnode
omaddpdl -l ScalixUserAttributesAdmins/$mnode
omaddpdl -l ScalixGroupAdmins/$mnode
omaddpdl -l ScalixAdmins/$mnode
omon -s all
cd /tmp
apt-get install scalix-postgres scalix-tomcat-connector scalix-tomcat
apt-get install scalix-mobile scalix-platform scalix-res scalix-sac \
scalix-sis scalix-swa
# Setup DB
cd /opt/scalix-postgres/bin
./sxpsql-setpwd $dbpwd
./sxpsql-whitelist 127.0.0.1 $ip
# Configure Scalix
files="/var/opt/scalix/sx/webmail/swa.properties /var/opt/scalix/sx/caa/scalix.res/config/ubermanager.properties
/var/opt/scalix/sx/res/config/res.properties /var/opt/scalix/sx/platform/platform.properties
/var/opt/scalix/sx/mobile/mobile.properties /var/opt/scalix/sx/sis/sis.properties"
for file in $files; do
sed -e "s;%LOCALDOMAIN%;$ldomain;g" \
-e "s;%LOCALHOST%;$fqdn;g" \
-e "s;%PLATFORMURL%;$fqdn;g" \
-e "s;__SECURED_MODE__;false;g" \
-e "s;ubermanager/__FQHN_HOST__@__KERBEROS_REALM__;;g" \
-e "s;__KERBEROS_REALM__;;g" \
-e "s;__FQHN_FOR_KDC_HOST__;;g" \
-e "s;__FQHN_QUERY_SERVER_NAME__;$fqdn;g" \
-e "s;__UBERMGR_USE_EXTERNAL_AUTH__;false;g" \
-e "s;__UBERMGR_ALLOW_EXTERNAL_AUTH__;false;g" \
-e "s;__UBERMGR_MAXLIST_SIZE__;100;g" \
-e "s;__UBERMGR_MAIL_DOMAINS_LIST__;$ldomain;g" \
-e "s;__UBERMGR_EXTERNAL_DOMAIN_AUTH_LIST__;;g" \
-e "s;__CONFIGURED__;true;g" \
-e "s;__FQHN_FOR_UBERMANAGER__;$fqdn;g" \
-e "s;__TOMCAT_PORT__;$tomcatport;g" \
-e "s;localhost;$fqdn;g" \
-e "s;%SIS-LANGUAGE%;English;g" \
-e "s;%INDEX-WHITELIST%;$fqdn;g" \
-e "s;%SEARCH-WHITELIST%;$fqdn;g" \
$file > $file.neu
mv $file.neu $file
done
# Write Ldappassword to psdata
cd /var/opt/scalix/sx/caa/scalix.res/config
echo "$ldappwd" > psdata
chown root:root psdata
chmod 400 psdata
/etc/init.d/scalix-tomcat restart
/etc/init.d/scalix restart
/etc/init.d/scalix-postgres restart
The above works, to a degree. Scalix installs, I can check it with lsof -i and see that it is listening. I can telnet the box under port 25, 143 and 110. login under sxadmin in pop (from telnet)
I can't get scalix-tomcat to work. It installs scalix-tomcat-connector that appearently starts looking for /htdocs and everything in debian is /var/www and it all breaks. I can't even call up a test.html in /var/www. If I move the scalix-tomcat-connector out of /etc/apache2/conf.d/ folder apache2 starts working properly again.
I am right now install OpenSuSE 10.1 (my DVD finally downloaded) to try the install and test scalix.
It shouldn't be this difficult.
Suggestions:
put the debian packages in a repository on a server some place that we can add to our /etc/apt/sources.list
Fix the scripts in the debian packages that get run after the apt-get install or dpkg-reconfigure. Parts of the above install.sh could be included into the packages confg script to check if /var/opt/scalix exists and start ommakeom or patchom to create the data store. Ask the user questions like passwords and autoconfig the files.
I still don't know why tomcat isn't working, it creates about 20 instances all listening on 8009 and 8005. if I try to hit the page (http://192.168.1.19:8009), I just get a blank page.
Beyond that, how do you setup a SmartHost with Auth. My test machine at home is connected to Bell Canada's sympatico (DSL). Sympatico blocks all port 25 traffic (virus and spam provention), I need to configure sendmail (or postfix, if I can get it installed with scalix) to send all mail to smtphm.sypatico.ca with a username and password for auth.
All references that I have found, show to add the SmartHost into the .mc or .cf files but they don't authenticate and all my test mail gets deferred.
I would also like to thank the person who created the original version of the script that I am using. It's a big timesaver from going into all the config files and setting things up by hand.
Thanks[/code]