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 when you re-initialize the mac address.

nano /etc/udev/rules.d/70-persistent-net.rules

You will see two sets of line like this

# PCI device 0x8086:/sys/devices/pci0000:00/0000:00:03.0 (e1000)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="08:00:22:55:6c:17", ATTR{dev_id}=="0x0", ATTR{type}=="1",
KERNEL=="eth*", NAME="eth0"

# PCI device 0x8086:/sys/devices/pci0000:00/0000:00:03.0 (e1000)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="08:00:27:fe:3d:54", ATTR{dev_id}=="0x0", ATTR{type}=="1",
KERNEL=="eth*", NAME="eth1"

This is udev adding lines here because it has detected a new network
adaptor with a different mac address. So we want to delete the first two
sets of lines (the first set of comment line and the SUBSYSTEM line) and
editing the "eth1" back to "eth0"

Like this:

# PCI device 0x8086:/sys/devices/pci0000:00/0000:00:03.0 (e1000)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="08:00:27:fe:3d:54", ATTR{dev_id}=="0x0", ATTR{type}=="1",
KERNEL=="eth*", NAME="eth0"


Now save, and one more thing to edit:

nano /etc/network/interfaces

and set it static:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.3.2
netmask 255.255.255.0
gateway 192.168.3.1
dns-nameservers 208.67.222.222


Now save, and

/etc/network/interfaces restart


I think this should do the job. 208.67.222.222 is opendns by the way. Hit
me up with your progress!



-Marc



On Mon, Nov 11, 2013 at 5:36 PM, Burk Al <burkal...@gmail.com> wrote:

> Hi,
>
> My new client is a small office of 5 users. They are all seasoned Exchange
> Server & MS Outlook users. They left their big enterprise and started their
> own company.
> Right now, they are using Outlook 2013 and problematic email service and
> not-so-user-friendly webmail from Godaddy. By time, I fiured that some of
> the problems are because of Outlook 2013's poor IMAP implementation.
>
> They are pressing me to find them a cost effective alternative solution.
> They are not willing to replace Outlook 2013 with another client. They are
> not using features like Calendar, Task or mailbox sharing or such but they
> want to have 1 personal address book and 1 domain global address book,
> which are also available to them when they are using the webmail.
>
> I have setup an email server with postfix, dovecot, myself, roundcube on
> ubuntu. I showed them the roundcube interface, which they liked. Since I
> havent done the switch yet, I have no idea how well dovecot's IMAP service
> will work with Outlook 2013. And I have no idea how I can provide them
> those 2 address book solutions which would be available both on Outlook
> 2013 and on webmail.
>
> I am not sure if I can use LDAP to achieve what I am looking for. And even
> if I can, then I have no idea how to do that.
>
> Then I heard about sogo. Now I am thinking sogo might be my solution. Even
> I might get rid of the IMAP and connect my clients to the server natively.
>
> What do you think?
>
> Thanks...
>
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to