Well after searching in this forum and some other places… & install desinstall quite some time… I finally get it to work ! pffff…
This runs on a Client OsX Tiger.
I'll soon try to do it again on ServerOsX Tiger (test one)
And then I'll try to set it up to bind to my Kerberos/ldap server (my final goal)
Now getting emails in Maill.app :
Now, I'm gonna describe what I did to make it work.
It may not work for you as it worked for me…
so beware…
Here, I assume you're logged in as your 'macosXaccount' and you have admin rights :
0) DNS DNS DNS…
I strongly suggest that you get your DNS up and running before doing anything else.
I won't cover this DNS part here… try afp548.com or apple.com if you need to do it.
I do have a DNS server with my MacOsX Server.
1) After some try you do need TIGER. v 10.4.3 with all updates. (I don't talk about iTunes, etc…)
only System/security if so, and of course JAVA
1a) When it wasn't working I installed XCode - don't know if it helped?
at least it did for Installing Propertylist editor…
1b) So You'll need All Java updates and to install Java 1.5
1c) Get Firefox (well it seems it works in Safari but I made my first try with Firefox, so as you want)
when you're done
2) launch /Applications/Utilities/Netinfo Manager.app'
Authenticate
Enable Root user and if it's the first time then you'll be prompt to set a password do so and quit.
3) Go to system preferences/account and make a new User
name:zimbra
shortname:zimbra
Password:thepasswordyouwant
As you're here enable fast user switching (very very handy… :-) for what's coming next…)
4) launch DiskUtility and verify Permissions
5) getting Java 1.5 to work:
Launch Terminal and run :
java -version
it should still tell you build 1.4.xxxx something but not 1.5
5.1) while still logged in as 'you'
Launch /applications/Utilities/Java/J2SE 5.0/Java Preferences
set your preferences to java 1.5
attention you have to stuff to do
I) Java Applet Runtime Settings
choose J2SE 1.5
II) Java Applet Runtime Parameters
Drop J2SE 5.0 at the top
5.2) fast user switch to log into your ROOT account
and repeat 5.1)
5.3) you'll do it for zimbra later…
5.4)Launch Terminal and run
java -version
it should still tell you build 1.4.xxxx something & not 1.5… it's OK will take care of this now :
5.5)
I read this from
(actually I've read the google cache)
in short:
as you're already in your root account you don't need to type su
5.5.1) launch a new terminal window and type:
cd /System/Librairy/Frameworks/JavaVM.framework/Version
let's make sure again that 1.5 is here type:
ls
if you don't see 1.5.0 well you should reinstall JAVA J2SE 1.5
5.5.2) type:
rm CurrentJDK
hit enter and type:
ln -s 1.5.0 CurrentJDK
hit enter and verify by typing:
java -version
it should still tell you build 1.5.0 something :)
you're done with JAVA.
5.5.3) launch DiskUtility and verify Permissions (again;)
6) Now let's install zimbra
still Logged in as root…
launch the zcs.mpkg
and install
install should be ok and prompt you to run a command as ROOT in the terminal.
Copy the line /opt/zimbra/libexec/zmsetup.pl
Quit installer, go back in terminal, and type:
/opt/zimbra/libexec/zmsetup.pl
(N.B.: if you didn't print nor copy the command, you can copy it again by doing:
ctrl-click zcs.mpkg / show packages contents,
and navigate to /Ressources/English.lproj/Conclusion.txt
you'll find the command here and be able to copy it.
follow the instructions :
you then should be prompt to set the admin password
(I didn't wrote this so If my memory is good it should be, in front of the 2 stars ** {number 5 ??})
set the admin password
hit enter
it should prompt you to hit 'a' to Save & install.
7) you're almost done
PS: if you go to /Users/ the zimbra home directory should be an alias pointing to /opt/zimbra/
if not well you missed something (when installing zimbra)
So we have:
Java 1.5 running
zimbra user created
zimbra installed
admin (zimbra admin) with a password (admin@yourdomain.com)
…
8) launch DiskUtility and verify Permissions (again;)
9) be sure zimbra user is owner and can rxw on /opt/ ; /opt/zimbra/*
do a command-I to check it.
10) Now you can fast User switch and log in as zimbra User (not an admin User by the way)
10.1) Verify your home path is /opt/zimbra/
10.2) Launch Terminal:
and type:
zmcontrol startup
hit enter and when done type:
zmcontrol status
YOU SHOULD HAVE EVERYTHING RUNNING. !!!!
at least I did.
11) If you're succesfull,
11.1) launch NetworkUtility.app
and do a portscan on 127.0.0.1 or localhost or zimbra.yourdomain.com as you like
you should see at least:
80
389
7071
and some others…
get Firefox launched (or safari but begin with firefox…)
type:
https://zimbra.yourdomain.com:7071
you'll be prompt because of the certificate is not trusted… just set it up so you'll accept it (always trust for example)
You're at the logging page so log in:
admin@zimbra.yourdomain.com
yourpassword
here we go :
go in general settings and right now just uncheck ssl on POP & IMAP (we'll do a step by step and later recheck ssl settings) and check clear text passwords.
I KNOW CLEARTEXT PASSWORDS SUCKS BUT THIS IS FOR TESTING PURPOSE !!!!
WHEN EVRYTHING WILL WORK FINE THEN I'LL GO AND CHECK SSL AND UNCHECK CLEARTEXT PASSWORDS !!!!!
12) go in some other OsX Client, launch mail and add a new account.
12.1) fill in user, email, etc…
I tryied with admin user
so, New Imap account:
emailaddres:
admin@zimbra.yourdomain.com
full name:
admin@zimbra.yourdomain.com
Incoming: 192.168.x.x (actually I've put the IP to bypass any DNS glitch, I'll set the name later)
User name:
admin@zimbra.yourdomain.com
Password: yourpassword
smtp : 192.168.x.x ( the same here : I've put the IP to bypass any DNS glitch, I'll set the name later)
Collect your mail…
TODOs:
I will later test POP account in Mail.app
then enable ssl stuff…
this is not done yet.
I also will try to make a startupitem…
this is not done either.
need to test calendars, etc…, and windows outlook too…
lot of stuff…
I'll post here when (if) done.
Hope this will help OsX Guys…
s3nz3x
PS:excuse my bad english… french guy here.