(Edit:) I solved the issue in the title; new script are online; I've updated the instructions below (/edit)
Following up on some previous threads about
Open-Xchange I have made a script which makes for a nice start.
However, I could use some assistance with doing things right (secure).
Below is a howto on my open-xchange scripts, so you needn't start from scratch if you want to try this.
This works on a clean installation of SME7alpha4 and SME7alpha5.
This will absolutely not work on SME6.x.
You need 2 boxes, or network storage while reinstalling the same box.
Get the following Java files (links are to Java License Agreement):
The jta files are in the same place.
jdk-1_5_0_02-linux-i586.binjavamail-1_3_2.zipjaf-1_0_2-upd.zipjta-1_0_1B-classes.zipjta-1_0_1B-doc.zipjmx-1_2_1-ri.zip[/list]
From the directory containing the above, enter the following commands:
wget http://ainigma32.lir.dk/ainigma32/Open-Xchange-devel
chmod +x Open-Xchange-devel; ./Open-Xchange-devel
This should take some time depending on your download and computer speed...
(It took ca 30m on my DSL, 256M ram and 3000+ proc )
The script may halt on missing files. Here's what to do:
Check file OX-missing.list
pico OX-missing.list
Get any missing packages
You should re-run the wget file, it won't download existing packages.
It will place found packages in the right directory.
That goes for packages previously downloaded, packages in the current directory and packages downloaded just now, in that order.
When it's done you can save /SME7Open-Xchange-devel.tgz so you can skip the download if you're going to start over.
Copy /SME7Open-Xchange.tgz to a clean installation (or a network path while you reinstall the same box). You should move into it's dir or specify a path with the tarball. Then execute the install script.
tar -zxPf SME7Open-Xchange.tgz
./Open-Xchange-install
Enter the admin password and wait untill it finishes. (Took ca 5 minutes with 256M ram and 3000+ proc )
You should be able to login at http://<yourdomain>/cgi-bin/login.pl with the admin account.
You can add users as follows:
/usr/local/ox/sbin/adduser_ox \
--username='doej' \
--passwd='<yourpass>' \
--name='John' \
--sname='Doe' \
--maildomain='<yourdomain>' \
--ox_timezone='Europe/Amsterdam'
Note: The correct-filespool script from open-xchange is commented out.
It takes way long, and it doesn't fix anything I've seen.
Also: I've used a lot of sources for this, including the phpwiki page right here on contribs.org, and would like to thank everyone posting helpfull info on this. I'll try to work out a list of sources to put into a later (hopefully completely working) version of this howto.
And last of all: To get this to work on SME6.x I would have to build openldap --enable-aci compatible with glibc2.2, for a start. This isn't going very well with me. If anyone knows how to do that, that would be great.