Hi Burk!
How many domains does your client own?
I used this:
pa...@vdevices.com wrote this:
Here's a good tutorial that covers Samba4 and OpenChange installation for
SOGo:
http://iabsis.com/EN/article/35/Installation-de-Samba4-et-Openchange-sur-un-serveur-Debian-ou-Ubuntu
-Pablo
You will need OpenChange if you want to have your Outlook client machines
use the MAPI service (exchange connectivity).
SOgo will give you a web interface for your webmail, but it will also help
you with providing synchronization to smartphones.. (from my understanding
of what is SOGo).
iGestis is neat. You can setup Company and Employees right off the bat, and
getting the users to work with the Samba4 domain and emails all in one
shot.
IF you decide to download the SOSI virtual machine:
You will want to rename the root password and the samba4 Administration
password.
Apparently the root password for the virtual machine is Passw0rd but that
never worked for me. (It's also documented in the comments of the Virtual
Machine page. So what I did was to simply take a Ubuntu 12.04 iso and
boot the virtual machine with it, gain a chroot shell, and passwd root. ;)
Once you rain root shell:
apt-get update ; apt-get install igestis igestis-openchange
next:
nano /etc/samba/smb.conf
remove the comment on the line where it says:
obey pam restrictions = yes
(there is a # and comments on that same line.. either remove the comment or
place it on a different line).
Next:
You set up the samba4 Administrator password with:
samba-tool user setpassword administrator
You will also have to put the same password in two different places:
nano /etc/saslauthd.conf
and put your password at that line
ldap_bind_pw: this_is_your_password_here_lol
The 3rd place to edit the Administrator password for when you get this
changed is in SOGo. So we su into sogo user and we use the default write
command:
su - sogo -s /bin/bash
defaults write sogod SOGoUserSources '({CNFieldName = displayName;
IDFieldName = cn; UIDFieldName = sAMAccountName; IMAPHostFieldName =;
baseDN = cn=Users,dc=domain,dc=local; bindDN =
cn=Administrator,cn=Users,dc=domain,dc=local; bindPassword
= this_is_your_password_here_lol; canAuthenticate = YES; displayName =
Shared Addresses; hostname = localhost; id = public; isAddressBook =
YES; port = 389;})'
exit
So *now you're good to go! (reboot that virtual-machine!)
The SOSI virtual machine comes with a 250gig dynamically allocated virtual
hard-drive. If you wish to re-size this, this can be done by growing the
size of the virtual hard-drive first in VirtualBox then carefully using
gparted (or anything you prefer to use really..as long it resizes the
filesystems properly!).
Also, I find that VirtualBox works *best when you only declare one CPU to
the virtual-machine. This was irritating for a while: I allocated many CPUs
to my virtual machine and I had all kinds of scripts hang.. but when I use
only 1 CPU it works great. This is something that Virtual-Box has been
struggling for a while now. VMWare draws much better performance for SMP in
guest operating systems in my opinion..
And for when it comes with IMAP, I prefer to use Cyrus-IMAP. Anyway it's
recommended around here to use Cyrus instead of Dovecot with SOGo and
OpenChange.
Over here: I am currently setting up a server for 25 users and two domains.
(If your client only use one domain name then this is a piece of cake!)
I am to the point where I have to start setting up aliases. I want to be
able to have users in SOGo to send using more than one email address (in
the From: section). *Do you have any insight about this?*
From what I can see around, I need to work with the attribute mail from
objectClass inetOrgPerson.. I now have to add more email addresses in
there. Can this get done using the iGestis web interface?
Also another thing I want to setup are mail forwards. My understanding is
that I need to do that from the postfix end. I really wonder if mail
forwards can be setup using LDAP.
Another thing about VirtualBox:
While it's all nice to setup the virtual machine from the console itself,
the moment you run the virtual machine in headless mode, the actual console
will be non functional (keyboard strokes will not work!). I think this has
to do with grub kicking in graphical mode (with a blank screen during
startup). VRDP enabled was not working for me (using Ubuntu 12.04 64bit)
until I did this:
nano /etc/default/grub
# Uncomment to disable graphical terminal (grub-pc only)
GRUB_TERMINAL=console
and updating grub with
update-grub
and reboot!
PS: another thing I had to do first thing I imported the virtual-machine
was to assign it's bridged interface to the proper network interface my
host is using. Another important thing to do (using the console in root) is
to make sure the virtual machine is using your virtualized network
interface on eth0 in the guest.
Every time you will import a virtual machine you will have to do this!
Especially