Koozali.org: home of the SME Server

Smeserver-sogo : Need tests

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Smeserver-sogo : Need tests
« on: August 21, 2014, 11:52:16 PM »
Ola

New version of smeserver-sogo (ONLY for SME9) with some cool features like sieve and active-sync, and also a panel in the server-manager to enable easily settings. To be honest I went to read the code of ipasserelle-groupware, and I have learnt many things that I didn't know before.

somehow, thank to daniel for that release. I use smeserver-dovecot-extras to add sieve and a function that I don't use Sharedmailbox.( see dovecot db)

This version is a bit bleeding age and needs to be improved, it is working for me, but I need your tests, feedbacks....

What you could test :

-The upgrade from smeserver-sogo-1.1
-All the sync from mobile, cardav, caldav, thunderbird
-track errors in logs (/var/log/messages, /var/log/httpd/admin_error_log/ , var/log/sogo/sogo.log)
....

In other words, please use it to debug it, however in first use virtual machine.

Until this version is fully tested, you have to download it manually before to install it.

Code: [Select]
wget http://mirror.de-labrusse.fr/Sme-Server/sogo/smeserver-dovecot-extras-0.1.1-1.el6.fws.noarch.rpm
wget http://mirror.de-labrusse.fr/Sme-Server/sogo/smeserver-sogo-1.3-3.el6.sme.noarch.rpm
yum install --enablerepo=sogo,epel smeserver-dovecot-extras-0.1.1-1.el6.fws.noarch.rpm smeserver-sogo-1.3-3.el6.sme.noarch.rpm
signal-event post-upgrade; signal-event reboot
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: Smeserver-sogo : Need tests
« Reply #1 on: August 31, 2014, 07:04:28 PM »
new version, now sieve operates

Code: [Select]
wget http://mirror.de-labrusse.fr/Sme-Server/sogo/smeserver-dovecot-extras-0.1.1-1.el6.fws.noarch.rpm
wget http://mirror.de-labrusse.fr/Sme-Server/sogo/smeserver-sogo-1.3-4.el6.sme.noarch.rpm
yum install --enablerepo=sogo,epel smeserver-dovecot-extras-0.1.1-1.el6.fws.noarch.rpm smeserver-sogo-1.3-4.el6.sme.noarch.rpm
signal-event post-upgrade; signal-event reboot

no testers ?, i have had just one return about a french (merci jean-louis)
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

guest22

Re: Smeserver-sogo : Need tests
« Reply #2 on: September 01, 2014, 07:09:33 AM »
Hi,

Gave it a quick spin..

- Installs fine
- Sogo logfile is VERY verbose (I hope this can be turned off or levels lowered)
WOWhatdog shows many messages about killing processes and starting?
- /var log messages shows:
Sogod segfault with error 4 in libobjc.so.2.0.0
- Clicking Groups or Users in addressbook leads to error (Obect not found)

Did not test sync and thunderbird. Too much tech docs and manual settings :-)

guest

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: Smeserver-sogo : Need tests
« Reply #3 on: September 01, 2014, 12:33:02 PM »
Hi,

Gave it a quick spin..
thank
- Installs fine
- Sogo logfile is VERY verbose (I hope this can be turned off or levels lowered)
indeed, every actions is logged and archived
WOWhatdog shows many messages about killing processes and starting?
- /var log messages shows:
Sogod segfault with error 4 in libobjc.so.2.0.0
not normal, i will look on that

- Clicking Groups or Users in addressbook leads to error (Obect not found)
that's a sogo bug, the next release should correct this
Did not test sync and thunderbird. Too much tech docs and manual settings :-)

guest

needs sogo guru therefore
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline nicolatiana

  • *
  • 721
  • +0/-0
Re: Smeserver-sogo : Need tests
« Reply #4 on: September 12, 2014, 10:21:19 AM »
Dear Stephane

while dealing with Sogo contrib, did you discover some more things about Sieve, particularly where Sieve script are located ?

Nicola
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Smeserver-sogo : Need tests
« Reply #5 on: September 12, 2014, 11:03:06 AM »
Sieve scripts are saved in users' home dir, eg

/home/e-smith/files/users/dani/sieve/sogo.sieve (the script itself, as saved by SOGo)
/home/e-smith/files/users/dani/.dovecot.svbin (the compiled version, as used by dovecot)
C'est la fin du monde !!! :lol:

Offline nicolatiana

  • *
  • 721
  • +0/-0
Re: Smeserver-sogo : Need tests
« Reply #6 on: September 12, 2014, 12:11:58 PM »
Hi Daniel

mmmm . . ..
the question was related to this post: http://forums.contribs.org/index.php/topic,51035.0.html
because I was trying to solve this little issue about "mail from"
I'll give a look.

Nicola
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline nicolatiana

  • *
  • 721
  • +0/-0
Re: Smeserver-sogo : Need tests
« Reply #7 on: September 12, 2014, 12:18:23 PM »
Looked: in effect for a user that has autoresponder enabled on Sogo I find /home/e-smith/files/users/dani/sieve/tmp (all empty) and the binary /home/e-smith/files/users/dani/.dovecot.svbin.

Nicola
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline luism

  • 5
  • +0/-0
Re: Smeserver-sogo : Need tests
« Reply #8 on: October 07, 2014, 06:50:54 PM »
Hi
I have made a test with a virtual machine using VirtualBox
SME 9 x64 – server-only , fresh install

The installation was fine, no errors

After sogo installation I create a group, and a user in server-manager, then I login, with the new user, in sogo and everything is fine.
So far so good...
After that  I reboot the system, and when the system came up I can't login again on sogo.
Message : Wrong username or password
I thought I had done something wrong in the installation process, so I repeat all process from the begin, but he final result was the same. This time I take notes from every step.

These are all the steps that I made after the initial installation of SME-Server:
#yum update
#signal-event post-upgrade; signal-event reboot

#db yum_repositories set epel repository \
   Name 'Epel - EL6' \
   BaseUrl 'http://download.fedoraproject.org/pub/epel/6/$basearch' \
   MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&arch=$basearch' \
   EnableGroups no \
   GPGCheck yes \
   GPGKey http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL \
   Visible no \
   status disabled

#signal-event yum-modify

#yum install gcc kernel-devel dkms --enablerepo=epel

#mkdir /media/cdrom
#mount -t iso9660 /dev/cdrom /media/cdrom/
#sh /media/cdrom/VBoxLinuxAdditions.run

#ln -s ../init.d/vboxadd /etc/rc7.d/S30vboxadd

#signal-event post-upgrade; signal-event reboot

#db yum_repositories set stephdl repository \
    BaseURL http://mirror.de-labrusse.fr/smeserver/\$releasever \
    EnableGroups no GPGCheck yes \
    Name "Mirror de Labrusse" \
    GPGKey http://mirror.de-labrusse.fr/RPM-GPG-KEY \
    Visible yes status disabled

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

#signal-event yum-modify
#yum --enablerepo=stephdl,epel,sogo install smeserver-sogo

Output:
===================================================================================================
 Package                        Arch         Version                           Repository     Size
===================================================================================================
Installing:
 smeserver-sogo                 noarch       9:1.3-5.el6.sme                   stephdl        49 k
Installing for dependencies:
 dovecot-pigeonhole             x86_64       1:2.0.9-7.el6_5.1                 updates        98 k
 gnustep-base                   x86_64       1.23.0-1                          sogo          1.6 M
 gnustep-filesystem             noarch       2.6.2-1.el6                       epel          8.0 k
 gnustep-make                   x86_64       2.6.2-1.el6                       epel          265 k
 lasso                          x86_64       2.3.6-1.centos6                   sogo          664 k
 libevent                       x86_64       1.4.13-4.el6                      base           66 k
 libmemcached                   x86_64       0.49-1                            sogo          131 k
 libobjc                        x86_64       4.4.7-4.el6                       base           90 k
 libwbxml                       x86_64       0.11.2-4.centos6                  sogo           90 k
 memcached                      x86_64       1.4.4-3.el6                       base           68 k
 python-memcached               noarch       1.43-6.el6                        base           32 k
 smeserver-dovecot-extras       noarch       0.1.1-1.el6.sme                   stephdl       9.5 k
 sogo                           x86_64       2.2.9a-1.centos6                  sogo          3.1 M
 sogo-activesync                x86_64       2.2.9a-1.centos6                  sogo           74 k
 sogo-ealarms-notify            x86_64       2.2.9a-1.centos6                  sogo           10 k
 sogo-tool                      x86_64       2.2.9a-1.centos6                  sogo           37 k
 sope49-appserver               x86_64       4.9-20140927_1664.el6.1           sogo          885 k
 sope49-cards                   x86_64       2.2.9a-1.centos6                  sogo          168 k
 sope49-core                    x86_64       4.9-20140927_1664.el6.1           sogo          320 k
 sope49-gdl1                    x86_64       4.9-20140927_1664.el6.1           sogo          157 k
 sope49-gdl1-contentstore       x86_64       2.2.9a-1.centos6                  sogo           56 k
 sope49-gdl1-mysql              x86_64       4.9-20140927_1664.el6.1           sogo           32 k
 sope49-ldap                    x86_64       4.9-20140927_1664.el6.1           sogo           48 k
 sope49-mime                    x86_64       4.9-20140927_1664.el6.1           sogo          279 k
 sope49-sbjson                  x86_64       2.3.1-20140927_1664.el6.1         sogo           17 k
 sope49-xml                     x86_64       4.9-20140927_1664.el6.1           sogo          193 k
 xmlsec1                        x86_64       1.2.19-3.el6                      epel          172 k
 xmlsec1-openssl                x86_64       1.2.19-3.el6                      epel           74 k

Transaction Summary
===================================================================================================
Install      29 Package(s)

#signal-event post-upgrade;  signal-event reboot

In server-manager
I have created  a group (sogousers) and a user (test) belonging to the group

in my /var/log/sogo/sogo.log I have:
Oct 07 16:02:41 sogod [1833]: [ERROR] [we-rm] did not find locale for language: Portuguese
Oct 07 16:02:41 sogod [1833]: <0x0x7f14706ebf28[LDAPSource]> <NSException: 0x7f147066e6b8> NAME:LDAPException REASON:operation bind failed: Invalid credentials (0x31) INFO:{login = "cn=test,ou=groups,dc=server1,dc=pt"; }
Oct 07 16:02:41 sogod [1833]: <0x0x7f14706ec548[LDAPSource]> <NSException: 0x7f1470753d28> NAME:LDAPException REASON:operation bind failed: Invalid credentials (0x31) INFO:{login = "uid=test,ou=users,dc=server1,dc=pt"; }
Oct 07 16:02:41 sogod [1833]: SOGoRootPage Login from '192.168.70.188' for user 'test' might not have worked - password policy: 65535  grace: -1  expire: -1  bound: 0

The error in first line is caused because I used a Portuguese version of Firefox to access sogo (I think that is not the cause of the problem).

Someone else had the same kind of problems ?

LuisM

« Last Edit: October 07, 2014, 07:08:54 PM by luism »

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: Smeserver-sogo : Need tests
« Reply #9 on: October 07, 2014, 07:54:55 PM »
With the user 'test', can you log to the horde webmail ?, do you have settled a password ?
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline luism

  • 5
  • +0/-0
Re: Smeserver-sogo : Need tests
« Reply #10 on: October 07, 2014, 08:27:46 PM »
Hi, stephdl
thanks for the fast reply

Yes I set a password, and yes I can login in horde after the reboot (I don't have tested before the reboot), and I also was able to login on sogo before reboot the system.

Before the reboot everything works perfectly, in both trials.

It's probably a stupid mistake that I make (twice), but I can't see where. 

LuisM
« Last Edit: October 07, 2014, 08:30:01 PM by luism »

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: Smeserver-sogo : Need tests
« Reply #11 on: October 07, 2014, 09:04:10 PM »
please report

#rpm -qa sogo
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline luism

  • 5
  • +0/-0
Re: Smeserver-sogo : Need tests
« Reply #12 on: October 07, 2014, 09:14:21 PM »
#rpm -qa sogo

sogo-2.2.9a-1.centos6.x86_64
--------------------------------------------------------
New tries :
I created a new user (test2) and I was able to login and logout several times on Sogo, then I reboot again the system and the new user (test2) can't login also on Sogo.

And now the weirdest thing
I created a new user again (test3) was able to login sogo, then I remembered the test the user test3 on horde, and after several seconds, it show a message “Bad user or password”


Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: Smeserver-sogo : Need tests
« Reply #13 on: October 07, 2014, 09:53:23 PM »
Well I cannot reproduce but what I can see is that you have installed an alpha version (sogo 2.2.9a)

I have the feeling that Sogo is free to download of course but you are the beta/alpha testers, please note that for Microsoft you have to pay to be the testers.

-can you test without installed the virtualbox tools
-what is the history of this sme9 64, is it a recent installation, an upgrade of sme8 from an USB backup
-can you past the full sogo logs somewhere
-The log of installation could be also useful
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline TerryF

  • grumpy old man
  • *
  • 1,821
  • +6/-0
Re: Smeserver-sogo : Need tests
« Reply #14 on: October 08, 2014, 01:10:52 AM »
Stephdl

For testing purposes on SME9 are details as posted above to be used or are procedures as detailed in the Wiki?
--
qui scribit bis legit