Koozali.org: home of the SME Server

Is anyone running SOGo in a production environment?

Offline kevinb

  • *
  • 237
  • +0/-0
Is anyone running SOGo in a production environment?
« on: July 15, 2009, 04:39:25 PM »
I have been testing SOGo on a second server authenticating to SME via the LDAP contrib and I have to say I am very impressed with SOGo and the Thunderbird integrator. This is the best "Thunderbird/Linux server" replacement for "Outlook/Exchange" I have come across so far.

It is beyond my skill set but I believe SOGo could be run directly on an SME server.

Does anyone have any experiences with SOGo or OGO in a production environment?

Thank you,

Kevin

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Is anyone running SOGo in a production environment?
« Reply #1 on: July 15, 2009, 05:53:27 PM »
as SOGo has RPMs only for Centos5 (i.e. SME8 ), you could test it yourself..

if I'll find the time, I'll try to rebuild the src rpm for SME 7.. but don't hold your breath :wink:

EDIT: I'm reading the installation & configuration guide.. it's not a joke.. but interesting

Ciao
Stefano
« Last Edit: July 15, 2009, 06:03:48 PM by Stefano a.k.a. nenonano »

Offline kevinb

  • *
  • 237
  • +0/-0
Re: Is anyone running SOGo in a production environment?
« Reply #2 on: July 15, 2009, 08:17:09 PM »
I would start with:



Code: [Select]
#Install the LDAP contrib and phpmyadmin

yum install -y e-smith-base+ldap e-smith-samba+ldap --enablerepo=smetest --enablerepo=smeupdates-testing --enablerepo=smecontribs install smeserver-phpmyadmin mod_ssl
yum update -y
signal-event post-upgrade;  signal-event reboot; exit

 
# For testing I prefer simple passwords

/sbin/e-smith/db configuration setprop passwordstrength Users none


# This may not be required:

config setprop mysqld LocalNetworkingOnly no
expand-template /etc/my.cnf
sv t /service/mysqld

# Using phpmyadmin create "sogo" db and "sogo" user with "sogo" password with full control of the "sogo" db.


Code: [Select]
# Setup Sogo

# Setup package repositories

db yum_repositories set sogo repository Name 'sogo' BaseURL 'http://inverse.ca/downloads/SOGo/CentOS5/$basearch' GPGCheck no status disabled

yum install --enablerepo=sogo sogo
yum install --enablerepo=sogo sope49-gdl1-mysql
 
# Set sogo user password.
passwd sogo
sogo

su sogo

# Base config
defaults write sogod SOGoServerTimeZone "America/Phoenix"
defaults write sogod WOParsersUseUTF8 YES
defaults write sogod WOMessageUseUTF8 YES
defaults write sogod SOGoDefaultMailDomain "<domain>.<tdl>"
defaults write sogod NGUseUTF8AsURLEncoding YES
defaults write sogod WOUseRelativeURLs NO
defaults write sogod SOGoDefaultLanguage French
defaults write sogod SOGoAppointmentSendEMailNotifications YES
defaults write sogod SOGoFoldersSendEMailNotifications YES
defaults write sogod SOGoACLsSendEMailNotifications YES
defaults write sogod WOPort 20000
defaults write sogod WOApplicationRedirectURL http://sogo.<domain>.<tdl>
 
# Authentication
defaults write sogod SOGoAuthenticationMethod LDAP
defaults write sogod SOGoLDAPSources '({CNFieldName = cn; IDFieldName = uid; UIDFieldName = uid; baseDN = "ou=Users,dc=<domain>,dc=<tdl>"; bindDN = "uid=root,ou=Users,dc=<domain>,dc=<tdl>"; bindPassword = <SME root password>; canAuthenticate = YES; displayName = "Accounts"; hostname = "localhost"; id = shared; isAddressBook = YES; port=389})'
 
# DB
defaults write sogod SOGoProfileURL 'mysql://sogo:sogo@localhost:3306/sogo/sogo_user_profile'
defaults write sogod OCSFolderInfoURL 'mysql://sogo:sogo@localhost:3306/sogo/sogo_folder_info'
 
# SMTP
defaults write sogod SOGoMailingMechanism smtp
defaults write sogod SOGoSMTPServer localhost
 
# IMAP
defaults write sogod SOGoDraftsFolderName Drafts
defaults write sogod SOGoSentFolderName Sent
defaults write sogod SOGoTrashFolderName Trash
defaults write sogod SOGoOtherUsersFolderName "Other Users"
defaults write sogod SOGoSharedFolderName "Shared Folders"
defaults write sogod SOGoFallbackIMAP4Server localhost
 
exit
 
chkconfig sogod on
service sogod restart

reboot


Test by pointing your browser to: http://sogo.<domain>.<tdl>/SOGo

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Is anyone running SOGo in a production environment?
« Reply #3 on: July 15, 2009, 10:09:23 PM »
Code: [Select]
# Setup Sogo

# Setup package repositories

db yum_repositories set sogo repository Name 'sogo' BaseURL 'http://inverse.ca/downloads/SOGo/CentOS5/$basearch' GPGCheck no status disabled
I would advice not to mix RHEL5/CentOS5 packages with SME Server 7.x which is based on RHEL4/CentOS4. It might lead to unexpected behavior.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Is anyone running SOGo in a production environment?
« Reply #4 on: July 15, 2009, 10:18:34 PM »
I would advice not to mix RHEL5/CentOS5 packages with SME Server 7.x which is based on RHEL4/CentOS4. It might lead to unexpected behavior.

I agree.. I'm trying to rebuild all the rpms for CentOS4.. stay tuned

Stefano

Offline kevinb

  • *
  • 237
  • +0/-0
Re: Is anyone running SOGo in a production environment?
« Reply #5 on: July 16, 2009, 03:30:28 AM »
Oops .. good point.

I was playing with this on SME8b4.

Offline smiit

  • ***
  • 41
  • +0/-0
Re: Is anyone running SOGo in a production environment?
« Reply #6 on: September 18, 2009, 10:19:47 PM »
Has anyone had any more success attempting to install SOGo on a test SME8.04b server?

The package seems to install cleanly and starts with a /etc/init.d/sogod start command

Where it appears to get tricky is the httpd redirects and which template alias fragments would be required.

A yum install puts the default SOGo.conf file under /etc/httpd/conf.d but I'm not sure if that's read in correctly by Apache and/or if another Alias or VirtualHost fragment pointing to the /usr/GNUstep/System/Library/SOGo/WebServerResources Directory is needed along with any other Directory commands.  The SOGo.conf file has multiple alias and LocationMatch directives.

I've tested SOGo on a simpler CentOS 5 mail server package called iRedMail and it works very nicely.  It seems to me there shouldn't be too many hurdles to incorporating it into SME8 as a powerful contrib.

Offline kevinb

  • *
  • 237
  • +0/-0
Re: Is anyone running SOGo in a production environment?
« Reply #7 on: September 18, 2009, 10:52:32 PM »
If anyone can move forward on this I'll test!

At this time I have settled on installing SOGO on another server with its own LDAP and DB. IMAP is still on SME. And now my challenge is how to get the correct ports redirected for external access.

Kevin

Offline alefattorini

  • ***
  • 61
  • +0/-0
  • www.nethserver.org
    • www.nethserver.org
Re: Is anyone running SOGo in a production environment?
« Reply #8 on: March 02, 2010, 05:31:25 PM »
We have made rpm for Sme, install notes here:
http://smeserver.nethesis.it/sogo/

What's sogo?
http://www.scalableogo.org

Your Comments Are Appreciated

Offline fpausp

  • *
  • 728
  • +0/-0
Re: Is anyone running SOGo in a production environment?
« Reply #9 on: July 23, 2010, 06:05:32 PM »
Sogo 1.3 is out (July 21st 2010) and I thought I should try the new version. I installed Sogo the last time in a vmware weeks ago and it worked for me but now I cant logon. I installed Sogo as in the wiki described. Additionally I had to install libevent-1.1a-3.2.1.i386.rpm because of a dep.. problem.

Has anyone tried Sogo 1.3 or can help me ?
Viribus unitis

Offline mdo

  • *
  • 355
  • +0/-0
Re: Is anyone running SOGo in a production environment?
« Reply #10 on: July 23, 2010, 11:31:49 PM »
I upgraded my existing SOGo (1.2) installation on SME8b5 to the new 1.3 version (see updated Wiki: http://wiki.contribs.org/Sogo#Upgrade) and all seems to work as before here.

Although I noticed that I am running a newer version of libevent (libevent-1.4.13-1) but cannot remember whether there were specific dependencies in the past.
...

Offline fpausp

  • *
  • 728
  • +0/-0
Re: Is anyone running SOGo in a production environment?
« Reply #11 on: July 25, 2010, 12:43:35 PM »
Hi, I tried the upgrade but i have no /etc/rc7.d/S85.. file. After a reboot I lost the whole site in the browser.

Code: [Select]
https://sme8b5vm/SOGo


Not Found

The requested URL /SOGo was not found on this server.


???

« Last Edit: July 25, 2010, 12:45:19 PM by fpausp »
Viribus unitis

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Is anyone running SOGo in a production environment?
« Reply #12 on: July 25, 2010, 04:09:42 PM »
Code: [Select]
https://sme8b5vm/SOGo

Not Found

The requested URL /SOGo was not found on this server.
Since I am unfamiliar with the SOGo packaet, som general troubleshooting tips to see if we can find out where things might be wrong.
1. You are sure the address is correct you did not make a typo?
2. Check if the configuration file of the apache webserver is correct:
Code: [Select]
httpd -t3. See if the webserver is up and running:
Code: [Select]
sv -s httpd-e-smithAbove should report something like this:
Code: [Select]
run: httpd-e-smith: (pid 2062) 338694s, normally down4. Check if you can still access server-manager

Please report your findings.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline fpausp

  • *
  • 728
  • +0/-0
Re: Is anyone running SOGo in a production environment?
« Reply #13 on: July 26, 2010, 10:52:46 PM »
Hi, I tried a new installation 30 minutes ago on a sme8b5 virtual machine with all updates:

Code: [Select]
# Adding the repositories:

db yum_repositories set sogo repository \
     BaseURL http://inverse.ca/downloads/SOGo/RHEL5/i386 \
     EnableGroups yes \
     GPGCheck no \
     Name "Inverse SOGo Repository" \
     Visible yes \
     status disabled

db yum_repositories set nethsme repository \
     BaseURL http://smeserver.nethesis.it/releases/8/i386 \
     EnableGroups yes \
     GPGCheck yes \
     Name "Nethesis SME Repository" \
     Visible yes \
     status disabled

signal-event yum-modify

# Installing the GPG key to verify the packages:

wget http://smeserver.nethesis.it/releases/RPM-GPG-KEY-nethesis
rpm --import RPM-GPG-KEY-nethesis


# Get and install libevent-1.1a-3.2.1.i386.rpm

wget ftp://mirror.switch.ch/pool/3/mirror/centos/5.4/os/i386/CentOS/libevent-1.1a-3.2.1.i386.rpm
yum localinstall libevent-1.1a-3.2.1.i386.rpm


signal-event yum-modify

yum install smeserver-sogo --enablerepo=nethsme --enablerepo=sogo

signal-event post-upgrade; signal-event reboot

It´s working, I think I played too much with the old sme8b5 virtual machine.

Thanks for you help and sorry for the effort.

fpausp
Viribus unitis

Offline gregswallow

  • *
  • 651
  • +1/-0
Re: Is anyone running SOGo in a production environment?
« Reply #14 on: October 23, 2011, 03:48:08 AM »
Hi all,

Sogo 2.0 rpms are available now that might work on SME8 - http://www.sogo.nu/files/downloads/SOGo/RHEL5/nightly/

Anyone interested in working on that?  Looks pretty good.... http://www.sogo.nu/

Greg

edit - I made a bug report - track progress here: http://bugs.contribs.org/show_bug.cgi?id=6767
« Last Edit: October 23, 2011, 04:07:52 AM by gregswallow »