Re: [SOGo] ANN: SOGo v2.3.19 released!

2017-01-11 Thread p...@szladovics.hu

2017-01-11 21:44 keltezéssel, "Kai-Uwe Rommel" (kai-uwe.rom...@ars.de) írta:


users-requ...@sogo.nu wrote on 11.01.2017 21:23:36:
>
> 2017-01-11 21:09 keltezéssel, "Kai-Uwe Rommel" 
(kai-uwe.rom...@ars.de) írta:

> users-requ...@sogo.nu wrote on 11.01.2017 20:57:42:
> >> On 2017-01-11 2:55 PM, "Kai-Uwe Rommel" (kai-uwe.rom...@ars.de) 
wrote:

> >> Does the new release require configuration changes?
> > Increase your number of sogod workers - your 3 EAS devices are
> > consuming the default 3 allocated.
>
> I already have
>
> WOWorkersCount = 16;
>
> in sogo.conf.
>
> Kai-Uwe Rommel
>
> The sogo.conf not enough. If you have CentOS, then you need to check
> the settings in /etc/sysconfig/sogo file. The init script read it,
> and if the settings not in this file (or they've commented out),
> then starts sogod service with 3 workers by default, and the
> sogo.conf settings will be ignored.

My /etc/sysconfig/sogo only contains a few comment lines.
So what is /etc/sogo/sogo.conf for?

Kai-Uwe Rommel 



Based on above:

PREFORK=16
--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] ANN: SOGo v2.3.19 released!

2017-01-11 Thread p...@szladovics.hu

2017-01-11 21:09 keltezéssel, "Kai-Uwe Rommel" (kai-uwe.rom...@ars.de) írta:


users-requ...@sogo.nu wrote on 11.01.2017 20:57:42:
>> On 2017-01-11 2:55 PM, "Kai-Uwe Rommel" (kai-uwe.rom...@ars.de) wrote:
>> Does the new release require configuration changes?
> Increase your number of sogod workers - your 3 EAS devices are
> consuming the default 3 allocated.

I already have

WOWorkersCount = 16;


in sogo.conf.

Kai-Uwe Rommel 



The sogo.conf not enough. If you have CentOS, then you need to check the 
settings in /etc/sysconfig/sogo file. The init script read it, and if 
the settings not in this file (or they've commented out), then starts 
sogod service with 3 workers by default, and the sogo.conf settings will 
be ignored.

I think...

Peti
--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] ANN: SOGo v3.2.5 released!

2017-01-11 Thread p...@szladovics.hu

2017-01-11 11:34 keltezéssel, Alessio Cecchi (ales...@skye.it) írta:


Il 10/01/2017 19:27, Ludovic Marcotte (lmarco...@inverse.ca) ha scritto:

The Inverse Team is pleased to announce the immediate availability of
SOGo v3.2.5. This is a minor release of SOGo which focuses on small new
features and improved stability over previous versions.


Hi,

after the upgrade, from 3.2.4, when I logoff from web interface I see 
a "Proxy Error", in the log file I found these errors:


sogo.log:

Jan 11 11:26:55 sogod [1115]: 17.92.31.6 "POST 
/SOGo/so/ales...@skye.it/Mail/0/folderINBOX/view HTTP/1.1" 200 
31788/45 0.775 - - -1704K
Jan 11 11:28:03 sogod [1115]: SOGoUserHomePage user 'ales...@skye.it' 
logged off
Jan 11 11:28:03 sogod [1115]: 17.92.31.6 "GET 
/SOGo/so/ales...@skye.it/logoff HTTP/1.1" 302 0/0 0.006 - - 0
EXCEPTION:  NAME:NSRangeException 
REASON:in substringWithRange:, range { 0, 9223372036854775807 } 
extends beyond size (0) INFO:(null)
Jan 11 11:28:03 sogod [1100]: <0x0x7f11a81f2fa0[WOWatchDogChild]> 
child 1121 exited
Jan 11 11:28:03 sogod [1100]: <0x0x7f11a81f2fa0[WOWatchDogChild]> 
(terminated due to signal 6)
Jan 11 11:28:03 sogod [1100]: <0x0x7f11a7f90a90[WOWatchDog]> child 
spawned with pid 1207
Jan 11 11:28:03 sogod [1115]: 79.9.31.86 "GET /SOGo/so/ HTTP/1.1" 200 
7612/0 0.021 24990 69% 0
Jan 11 11:28:03 sogod [1207]: <0x0x7f11a8122d70[WOHttpAdaptor]> 
notified the watchdog that we are ready


apache-error.log:

[Wed Jan 11 11:28:03.415834 2017] [proxy_http:error] [pid 1041:tid 
139931989018368] (20014)Internal error: [client 17.92.31.6:50278] 
AH01102: error reading status line from remote server 127.0.0.1:2, 
referer: https://sogo-v3.alessio.net/SOGo/so/ales...@skye.it/Mail/view


[Wed Jan 11 11:28:03.415907 2017] [proxy:error] [pid 1041:tid 
139931989018368] [client 17.92.31.6:50278] AH00898: Error reading from 
remote server returned by 
/SOGo/so/ales...@skye.it/Mail/0/folderINBOX/expunge, referer: 
https://sogo-v3.alessio.net/SOGo/so/ales...@skye.it/Mail/view


Did you restart the memcached and/or apache services?
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] AD avatar - How to?

2017-01-09 Thread p...@szladovics.hu
2017-01-09 13:46 keltezéssel, Christoph Kreutzer 
(kreutzer.christ...@gmail.com) írta:

Hi Alex,

That's easy.
SOGo by default uses the photo LDAP attribute. You need to create a 
Mapping from photo to thumbnailPhoto or jpegPhoto, or both. See the 
documentation for LDAP UserSource mapping, I don't have it in my mind.


It should look somehow like
photo = ("thumbnailPhoto", "jpegPhoto")


You're right! 
https://sogo.nu/files/docs/SOGoInstallationGuide.html#_ldap_attributes_mapping
I searched 'jpegphoto' and 'thumbnailphoto', but neither on the doc. But 
this link contains the "photo" part. :) Thanks.

--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] AD avatar - How to?

2017-01-09 Thread p...@szladovics.hu
2017-01-09 12:29 keltezéssel, Alexandre Zuotoski Neto 
(t...@csmcalderaria.com.br) írta:


Hi!

   I saw that SOGo now supports active directory avatars (I guess that 
it also supports MS-AD thumbnalPhoto/jpegPhoto attribute). Is it 
correct? If so, how to do it, please?


Thanks you!



Hi Alexandre,

For example: if you have a thumbnail in /path/example.jpg, then you can 
do it with the following method.


   echo "dn: cn=example.user,dc=example,dc=com
   changetype: modify
   add: jpegPhoto
   jpegPhoto:< file://path/example.jpg
   -
   add: thumbnailPhoto
   thumbnailPhoto:< file://path/example.jpg" | ldapmodify -D
   cn=administrator,dc=example,dc=com -W

It adds both attribute to the user's attributes after you give the 
administrator' password.

You need the ldap-utils package for do that.

If user have an other jpeg thumbnail avater, then you need to use the 
"replace" command instead of "add". I think you can use the ldbmodify 
instead of ldapmodify with similar syntax, but not sure to same. I 
usually use above.


Cheers,
Peti
--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] dovecot-sogo3 and shared folders

2016-11-24 Thread p...@szladovics.hu

2016-11-24 19:04 keltezéssel, "Frank Soyer" (fso...@systea.fr) írta:


Hi list,
and sorry if this question was already answered, I can't find any doc :
I'm testing Sogo 3 (what a pleasure ! ;) bravo to all the team for 
this work !) and wonder if there is some doc ot tuto about sharing 
email folders. The system is a CentOS7 with dovecot (provided by 
VestaCP that I'm adapting for Sogo), auth on mysql. Actualy all other 
functionnalities work like a charm, mails, calendars, address books, 
and sharing this last two... But not folders.
I've read here some posts, particularly from Jonathan Dumaresq : where 
have you found this conf ?


Thanx for all informations !
Frank



Hi Frank,

I used AD for auth, but I think this little difference won't confuse you.
You have to some changes in your dovecot.conf file:

1. In the mail_plugins line you need to add the acl plugin.

   Example:
   Before: mail_plugins = quota notify
   After: mail_plugins = acl quota notify

2. Into the "plugins" section you need to insert two lines:

  acl_shared_dict = file:/var/mail/shared-mailboxes.db
  acl = vfile

(Of course change the path similar to your environment).

3. At the end of the config you need to add two sections (based on your 
environment):


   namespace {
  type = private
  separator = /
  prefix =
  inbox = yes
   }
   namespace {
  type = shared
  separator = /
  prefix = shared/%%u/
  location = maildir:/var/mail/%%u:INDEX=/var/mail/%u/shared/%%u
  list = children
   }

4. And finally you have to restart the dovecot service.

I think that above will be enough for the happiness.

Cheers,
Peti
--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Instant messaging

2016-08-01 Thread p...@szladovics.hu

2016-08-01 15:31 keltezéssel, s...@adeux.net írta:

Hi,

Thanks for the replies.

Generally, I try to avoid using java as a security measure.

@Corrado: JSXC could be interesting but still needs an XMPP server.

@Peter: Thanks - I had found openfire and was thinking of using it in a 
chrooted jail to keep the JRE separate from  the main sogo installation.  I 
have also found Astrachat as a potential cadidate app for Ios/Android access.

Thanks for the suggestions.


Just a notice: if you keep your JRE as up2date, you won't need to fear 
of anything.

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Instant messaging

2016-08-01 Thread p...@szladovics.hu

2016-08-01 16:31 keltezéssel, "sg gs" (s...@mail.com) írta:

ok, i've got you wrong - sorry for this.
(i suceeded to integrate xmpp services (ejabberd) within the sogo web 
interface (sogo-2.3.12). it tried the same thing with soge-3.1.x but 
did not succeed.)




Ah, that's clear.
I didn't do similar things. Separated services with separated clients, 
but same user/password.

--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Instant messaging

2016-08-01 Thread p...@szladovics.hu

2016-08-01 15:10 keltezéssel, "sg gs" (s...@mail.com) írta:

(how) did you manage to make it working in sogo-3.1.x?


I don't understand your question.
The SOGo just a frontend service, the Openfire Jabber is an other one 
above the Samba4 AD.

They are managed with their configurations separately.

*Sent:* Monday, August 01, 2016 at 3:01 PM
*From:* "Szládovics Péter (p...@szladovics.hu)" <users@sogo.nu>
*To:* users@sogo.nu
*Subject:* Re: [SOGo] Instant messaging
2016-08-01 11:29 keltezéssel, s...@adeux.net írta:
> Hi,
>
> Has anyone implemented instant messaging in a sogo environment? Are 
ther any open source apckages that allow this cross platform - ie 
iphone, android, web?


Hi, I use openfire for instant messaging based on the same ldap 
(samba4 AD).


--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Instant messaging

2016-08-01 Thread p...@szladovics.hu

2016-08-01 11:29 keltezéssel, s...@adeux.net írta:

Hi,

Has anyone implemented instant messaging in a sogo environment?  Are ther any 
open source apckages that allow this cross platform - ie iphone, android, web?


Hi, I use openfire for instant messaging based on the same ldap (samba4 AD).

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] ANN: SOGo Package Repositories

2016-07-19 Thread p...@szladovics.hu

2016-07-19 18:13 keltezéssel, Ludovic Marcotte (lmarco...@inverse.ca) írta:


Hello,

Over the past 10 years, Inverse has been developing SOGo and providing 
everything (software packages, documentation, etc.) completely free of 
charge. A massive number of organizations worldwide have successfully 
deployed SOGo and benefit for free from the continuous enhancements of 
the software.


After many months of discussion and thinking, we made the decision to 
close down the public package repositories. From now on, in order to 
access the production builds of SOGo for various Linux distributions, 
you will need a proper support contract from Inverse. The options are 
listed here:


https://sogo.nu/support/index.html#support-plans

Payments can be made by credit card.

We hope that this move will help Inverse to:

  * increase its investments in SOGo
  * accelerate SOGo v3 evolution by adding more features (S/MIME,
alternate storage backends, etc.)
  * expedite bugs fixing and small feature additions
  * invest in gravitational projects
  * extend its support to more Linux distributions
  * create a VAR channel to resell and participate in providing support

Tying up package repositories to a support agreement is important for 
us as Inverse strives to offer stellar support and we want to bring 
more value for the money to each customer. Current organizations that 
have a support contract with us will automatically get access to the 
package repositories. Official packages also offer the advantage of 
being thoroughly tested before they are released.


SOGo will continue to remain entirely Free and Open Source. The source 
code will always be fully available and we will keep using the current 
licenses. Nightly builds will also remain available to all, as well as 
the ZEG configured with the latest software.


Thanks for your support and understanding. Together, we all make SOGo 
better!




Hi Ludovic,

These reasons are absolutely understandable, but I think the community 
needs some extra documentation about the package creation for various 
distributions (RHEL, Debian, Ubuntu what supported by you with 
repositories earlier).
I think some of us have infrastructure to keep 3rd party repositories 
for compatible packages with the olders.


Example, I can build packages for Ubuntu, and serve it for other 
interested community users. Not all branches, but the main stable v3 
branch is distributable by me - after some days later than the stable 
release is launched.


The main point is the fully compatibility with older (created by you) 
packages.
If you have build scripts or anything what can help us in this 
procedure, that should be awesome.


Thanks a lot,
Peti
--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] AD avatar

2016-07-13 Thread p...@szladovics.hu
2016-07-13 18:35 keltezéssel, Alexandre Zuotoski Neto 
(t...@csmcalderaria.com.br) írta:
Hi! Is there any way to map avatar from AD? I already use the AD 
avatar in Roundcube, GLPI, Spark, etc., but couldn't find the field to 
map in SOGo.


Do you mean from jpegPhoto and/or thumbnailPhoto attribute?
I'm interested in this method too :)

If isn't any way for set it, then it should be a fancy feature request 
(like the LDAP Attributes Mapping method).

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Wrong weeknumber (+1)?

2016-06-17 Thread p...@szladovics.hu
2016-06-17 09:56 keltezéssel, "Ruud van Lent" (ruud.van.l...@zonnet.nl) 
írta:


Hi,
I'm using SOGo 3.x (latest) and just got into some 'problems' with the 
weeknumbers in my calendar.

It says the week is 25 when in fact the week is 24...

Is that some setting that I have missed?



I think your SOGoFirstWeekOfYear settings is wrong. Check your SOGo 
configuration.

Documentation: https://sogo.nu/files/docs/SOGoInstallationGuide.html

Find the keyword: SOGoFirstWeekOfYear
--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] SOGo V3 ldap authentication (samba4)

2016-06-15 Thread p...@szladovics.hu

Hi,

2016-06-15 09:37 keltezéssel, Christian Mack 
(christian.m...@uni-konstanz.de) írta:

Hello


Am 15.06.2016 um 01:33 schrieb Maxime RUBINO
(maxime.rub...@sfproduction.fr):

Hi,

I have setup a new server with SOGo V3, i use SOGo V2 many years with
~20 users.

I need activesync and openchange so i have installed Samba4, same as
sogo v2...

I read the install doc to see what changed between v2 and v3 and
surprissddd in my sogo.log :

Jun 15 01:10:51 sogod [1657]: [ERROR] <0x0x55d7f7df2760[LDAPSource]>
Could not bind to the LDAP server ldap://127.0.0.1:389/ (389) using the
bind DN: cn=,cn=Users,dc=xxx,dc=xx
Jun 15 01:10:51 sogod [1657]: [ERROR] <0x0x55d7f7df2760[LDAPSource]>
 NAME:LDAPException REASON:*operation bind
failed: Strong(er) authentication required (0x8)* INFO:{"error_code" =
8; login = "cn=xx,cn=Users,dc=xxx,dc=x"; }

I have already set samba complexity off with : samba-tool domain
passwordsettings set --complexity=off

i have no idea and "Stronger authentication required" is a wrong message
error beacause i use password > 20 carac (~117bits)

do you have an idea ?


There was a samba security update, which introduced new parameters.
I assume, you where hit by that.
See
https://www.samba.org/samba/latest_news.html#4.4.2
Section "New Options and Defaults:"


Try this (/etc/samba/smb.conf, global section):

tls priority = SECURE192:+SECURE128:-VERS-SSL3.0
tls enabled = yes
ldap server require strong auth = no

--
users@sogo.nu
https://inverse.ca/sogo/lists