The following describes the procedure to install Open-Xchange 0.8 RC1 on SME7 (started this thread with alpha9)
I've posted this here for testing, and requests for features to be included in this script.
I plan to change a lot on the interface (adding a server-manager panel for openexchange options and integrating user administration), however, at this point I'm just trying to keep the script working, with the progress made in sme 7 development.
You need 2 boxes, or network storage while reinstalling the same box.
Testing has been done on clean installations only, and included logging in with the mailadmin account, a useraccount with webmail access (existing sme user) and a user without webmail access (user doesn't exist in sme).
Get the following Java files (links are to Java License Agreement):
The jta files are in the same place.
jdk-1_5_0_03-linux-i586.binjavamail-1_3_2.zipjaf-1_0_2-upd.zipjta-1_0_1B-classes.zipjta-1_0_1B-doc.zip]jmx-1_2_1-ri.zipFrom 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...
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 will not 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. It does not include the initial script, so include that with the backup.
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 SME7-Open-Xchange.tgz
./Open-Xchange-install
Enter a new mailadmin password and wait untill it finishes. (This took ca 30 min. during tests)
You should be able to login at http://<yourdomain>/cgi-bin/login.pl with the mailadmin 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'
Notes:
mailadmin is the ox admin account, it doesn't have a mailaccount by default (webmail will fail)Quickfix: Add the mailadmin account to sme
Planning: Find out deps on mailadmin account, and alter to uid admin
users not added to sme do not have imap access.Quickfix: add users to sme after adding to ox
Planning: Full sme-ox collaboration integration
Setup on groupware is dead linkQuickfix: none (don't follow link)
Explanation: Links to umin, which isn't installed
Planning: Find out where link is created, and either remove or link to server-manager
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.
(edit) Typo