Re: [SOGo] expire-autoreply script stop working

2014-01-27 Thread Jean Raby

On 14-01-27 10:24 AM, Alessio Fattorini wrote:

Il 22/01/2014 21:28, Jean Raby ha scritto:


My guess is that the password you provided to sogo-tool is wrong or the user is
not a master user.


# grep sogo /etc/dovecot/master.users
sogo


How do you use this file from dovecot.conf?
This file usually contains username:password, but it probably depends on how 
you're using it in dovecot.conf.



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


Re: [SOGo] expire-autoreply script stop working

2014-01-22 Thread Jean Raby

On 14-01-21 11:17 AM, Alessio Fattorini wrote:

Hi all,
after the shell change for user sogo, from /bin/bash to /sbin/nologin my
expire-autoreply vacation script stop working.
that would be strange.  On which platform to you have this problem? It works 
fine here on ubuntu 12.04.


0 0 * * *  sogo/usr/sbin/sogo-tool expire-autoreply sogo:wi***

I wrote this month ago, as suggested in documentation and sogo package

I try with this (like an email suggest me)
sudo -u sogo /usr/sbin/sogo-tool expire-autoreply -p /var/lib/sogo/credentials

but i obtain this error:

2014-01-23 00:05:42.282 sogo-tool[9279] Could not login 'alessio' on Sieve
server: <0x0x8fb34d4[NGSieveClient]: socket= connectedTo=<0x0x8fb57ec[NGInternetSocketAddress]: host=localhost
port=4190>>>: (null)
2014-01-23 00:05:42.287 sogo-tool[9279] An error occured while removing
auto-reply of user alessio

My guess is that the password you provided to sogo-tool is wrong or the user is 
not a master user.


alessio is the user with vacation activated
Can you explain how change script please? If i should change
I should use sudo, how can i use sudo into cron?

Don't use sudo, cronjobs for users with no shell work fine:

$ grep sogo /etc/password

sogo:x:1000:1000:sogo,,,:/home/sogo:/usr/sbin/nologin


/etc/cron.d/sogo:
* * * * * sogo echo I have no shell | logger

/var/log/syslog:

Jan 22 15:27:01 sogo cron[1015]: (*system*sogo) RELOAD (/etc/cron.d/sogo)
Jan 22 15:27:01 sogo CRON[2874]: (sogo) CMD (echo I have no shell | logger)
Jan 22 15:27:01 sogo logger: I have no shell

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


Re: [SOGo] Active Sync support in SOGo

2014-01-10 Thread Jean Raby

On 14-01-10 8:05 AM, Szládovics Péter wrote:

2014-01-10 13:30 keltezéssel, Ludovic Marcotte írta:

On 2014-01-10 7:00 AM, Szládovics Péter wrote:

It will be released with the new SOGo release or with a separated package?

I'm not sure I fully understand your question but it'll be part of the next
"major" version of SOGo but it'll be bundled as a separate RPM/deb.


Thanks your answer!
I meant separated release period/time.

When will be the next "major" release about? Q1 maybe, or later?

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


Re: [SOGo] Sieve problem

2014-01-08 Thread Jean Raby

On 14-01-08 6:07 AM, Christian Mack wrote:

Hello Christian Rößner

Am 2013-12-27 13:14, schrieb Christian Rößner:


I created an imap folder with German Umlauts. The folder is displayed
correctly in the SOGo web interface and also in Apple Mail

On the filesystem side Dovecot has encoded the folder name

When I log into the web interface and choose setting and create a
simple fileinto rule, I get a list of all available folders.
Unfortunately the imap folder with the German Umlauts is displayed
wrong. It seems SOGo does use the Dovecot encoded folder name and not
the name as is seen in the Email view of the web interface

This creates a wrong sieve script and if the rule is triggered,
Dovecot creates a new folder, which looks exactly like the encoded
version



This definitely looks like a bug.
So this should go into the bug tracker.

I've already filed a bug for this: http://sogo.nu/bugs/view.php?id=2569
It will be fixed for the next release.


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


Re: [SOGo] Samba4 & anonymous bind

2014-01-06 Thread Jean Raby

You needn't use an account with administrative rights to bind to Samba 4 AD DC
(or Microsoft AD DS). It is a common misconception (or plain laziness) that an
administrator account has to be used for this kind of operations. It is
perfectly good with an account that is a member of the Domain Users group
(ordinary domain user account).

That is perfectly true. Don't use the admin user to bind to AD. It isn't 
required.

However, I don't know whether the password
changing ability is affected. If so, make the bind user account member of the
Account Operators group. That way you give the account sufficient rights to
manipulate S4 ADDC-accounts but the Administrator account. And maintain some
level of security.


The password changing is done with the credentials of the logged in user. SOGo 
sends the old passwd along with the new password when doing the ldap modify 
operation. (for the curious: 
https://github.com/inverse-inc/sogo/commit/d7e6648396acfb4cafbfb7a8b338a3e292c7ba19#diff-3def561ac819d0cad0891746f3f84a2aR635)


So there's basically no reason to use a privileged user to bind to the 
directory.
--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] Headsup: Dovecot 2.1.17 now in sogo wheezy repos

2013-12-16 Thread Jean Raby

Hi,

I've just uploaded dovecot 2.1.17 to our repos for debian wheezy (both amd64 and 
i386).  I did this since the package shipped with wheezy (2.1.7) contains a 
bug[1] in the handling of sieve commands that was fixed upstream back in 
February 2013. Unfortunately, the commit never found its way back to debian 
stable.


The package is essentially a rebuild of the package found in debian jessie, no 
patch added.


If for some reason you don't want to use this package, you'll need to manually 
exclude it.


Thanks.

[1] http://sogo.nu/bugs/view.php?id=2230
[2] http://hg.rename-it.nl/dovecot-2.1-pigeonhole/rev/32d178f5e1a2

--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

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


Re: [SOGo] ANN: SOGo 2.1.1b

2013-12-13 Thread Jean Raby

Hi,

the 2.1.1b ZEG is now available for download:
  http://www.sogo.nu/downloads/zeg.html

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


Re: [SOGo] Why not use Samba4 as LDAP?

2013-12-10 Thread Jean Raby

On 13-12-09 11:19 PM, Burk Al wrote:

Now I am wondering what could I have been missing? Why would I want to go with
an additional ldap server if Samba4 can act as one?

For normal use, using samba4 as the LDAP server for sogo should work just fine.
There is however a limitation in openchange/sogo design:  all calls to it are 
blocking, while the rest of samba is non-blocking.


This causes issues when debugging samba/openchange/sogo, since one must run 
samba as a single process/thread (samba -i -M single).


LDAP requests made from the SOGo backend will always block while calling the 
ldap server.  However, since the process is running in a single thread and that 
thread is blocked, the LDAP server will never get the request. Hence the process 
will simply stall until a timeout is reached.


If you run SOGo with the samba4 ldap backend, you won't be able to run gdb 
against it.  This means that in case of a crash, it will be really hard to get a 
meaningful stack trace, so we won't be able to help out as much.




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


Re: [SOGo] SOGoPasswordChangeEnabled from System to Domain

2013-12-06 Thread Jean Raby

On 13-12-06 11:04 AM, Laz C. Peterson wrote:


Are there any plans or is it even possible to move the 
SOGoPasswordChangeEnabled from the system preferences to the domain preferences?

I have about the same number of OpenLDAP (with ppolicy) and Active Directory 
servers.  And, I cannot figure out how to possibly allow password changing with 
AD.  (Only get Unhandled policy error: 32764.)  So it would be nice to specify 
at the domain level whether or not the user can change their password.


What version of sogo/sope are you running?
Support for changing password against AD/samba4 has been added recently (2.1.0) 
and it shouldn't try to use password policy if your LDAP server is AD compatible.


Logs with LDAPDebugEnabled=YES;  would also be useful.


Or, if anyone knows how to allow password change using AD (Windows 2003 
functional level) user source, I would be most appreciative for some tips!

Thanks again SOGo users.
~Laz Peterson--
users@sogo.nu
https://inverse.ca/sogo/lists



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


Re: [SOGo] SOGo + Internet Explorer 11

2013-12-06 Thread Jean Raby

On 13-12-05 10:38 AM, Szládovics Péter wrote:

2013-12-05 16:24 keltezéssel, Francis Lachapelle írta:

Note that full support for IE11 won’t be available until next release even
though it has been improved in 2.1.1b.


Could you please tell us about the status of activesync support?


It should be production ready by friday.

(but I'm not telling you which ;)
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Issue with Big5 character set when viewing email, but displaying fine when replying.

2013-12-06 Thread Jean Raby

On 13-12-05 6:52 PM, Laz C. Peterson wrote:

I will send this exact same message from my Gmail account shortly.
Please do,  we need to see a mail sample (with headers) to be able to understand 
why it breaks.

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


Re: [SOGo] Nightly updates not working since 2.1.1b

2013-12-06 Thread Jean Raby

On 13-12-05 3:25 PM, Martin Lehmann wrote:

I don't get an error. But packages containing 2.1.1b aren't updated.
The other packages were updated.

And, as I can see, the files in the repository are all up-to-date. Therefore, I
think it's a naming problem.

can you show the output from these commands:

yum info sogo
rpm -q sogo




Am 05.12.2013 21:16, schrieb Jean Raby:

On 13-12-05 3:05 PM, Martin Lehmann wrote:

Hi,

the nightly updates for CentOS5 x86_64 aren't working since release of 2.1.1b..

The problem seems to be the naming of the packages. All packages containing
2.1.1b aren't updated.
Other packages like sope-core, which have only the daily timestamp in there
name, are updated.

what error do you get?


Greetz,
Martin






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


Re: [SOGo] Nightly updates not working since 2.1.1b

2013-12-05 Thread Jean Raby

On 13-12-05 3:05 PM, Martin Lehmann wrote:

Hi,

the nightly updates for CentOS5 x86_64 aren't working since release of 2.1.1b..

The problem seems to be the naming of the packages. All packages containing
2.1.1b aren't updated.
Other packages like sope-core, which have only the daily timestamp in there
name, are updated.

what error do you get?


Greetz,
Martin


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


[SOGo] ANN: SOGo 2.1.1b

2013-12-04 Thread Jean Raby

Hi,

we've just released SOGo 2.1.1b which contains the following changes:

Enhancements
 - updated CKEditor to version 4.3.0 and added tab module

Bug fixes
 - HTML formatting is now retained when forwarding/replying to a mail using the
   HTML editor.
 - put the text part before the HTML part when composing mail to fix a display
   issue with Thunderbird (#2512)

For the complete changelog, see 
https://github.com/inverse-inc/sogo/commits/SOGo-2.1.1b


Thanks.

--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

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


Re: [SOGo] Clustering SOGo?

2013-12-04 Thread Jean Raby

On 13-12-04 9:06 AM, Martin Rabl wrote:

Hi,

is it possible using two or more instances of SOGo (not workers), where every
instance runs on an own server, which are accessing to one database together?

The idea is running a own SOGo instance in our DMZ so the users can
read their mail, events etc. from home.


That will work, but you need to make sure that the c_*location fields in the 
sogo_folder_info table are set properly.


If you're using a FQDN, it should just work. If not, you'll need to update your 
sogo config and all the rows in the table to use a hostname that is reachable 
from both servers.

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


Re: [SOGo] TB 24.1.1 + sogo connector 24.0.2 + sogo integrator 24.0.2 + lightning 2.6.3

2013-11-28 Thread Jean Raby

On 13-11-27 8:07 AM, Rainer Ruprechtsberger wrote:

On 2013-11-26 21:48, Jean Raby wrote:
[...]

can you guys try this extension:

http://inverse.ca/downloads/extensions/nightly/sogo-integrator-24.0.2-a3d9676e41-sogo-demo.xpi

[...]

Thank you, works for me (well.. first tests succeeded anyway).

/rupi

P.S. To spare some other noobs some trouble (in hindsight it seems
  obvious.. :) - If you take this to upgrade from the original
  24.0.2 release you need to bump the version (24.0.2a for example),
  not only in your update.php and file name but also in the
  'install.rdf' on root level of the extension (em:version="24.0.2a")


24.0.3 is now available from our website: 
http://www.sogo.nu/english/downloads/frontends.html

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


Re: [SOGo] TB 24.1.1 + sogo connector 24.0.2 + sogo integrator 24.0.2 + lightning 2.6.3

2013-11-26 Thread Jean Raby

On 13-11-26 1:39 PM, Milos Wimmer wrote:

On Tue, 26 Nov 2013, Arnaud LE NORCY wrote:


i confirm: no calendar visible => and the usual add/subscribe/remove
buttons are missing.


ok, I think we have enough confirmations that it is 'global' problem.

Indeed.

can you guys try this extension:

http://inverse.ca/downloads/extensions/nightly/sogo-integrator-24.0.2-a3d9676e41-sogo-demo.xpi

Customize it for your site of course.

As a side note, if you want to try something new, it might be easier to manage 
your custom preferences like this:


  git clone https://github.com/inverse-inc/sogo-integrator.tb24.git
  pushd sogo-integrator.tb24/custom
  cp -a sogo-demo yoursite
  # tweak your config in the 'yoursite'
  popd
  cd sogo-integrator.tb24
  make build=yoursite

Let me know if the new version fixes the issues you were having. We'll release a 
new version if it does.


Thanks.


I opened bug in SOGo bugzilla
  http://www.sogo.nu/bugs/view.php?id=2510

and in Lighting bugzilla
  https://bugzilla.mozilla.org/show_bug.cgi?id=943457

Milos


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


Re: [SOGo] problems with webinterface/email since 2.1X

2013-11-22 Thread Jean Raby

On 13-11-22 8:56 AM, Daniel Erlacher wrote:

hello

since an upgrade on Debian to sogo 2.1
i get an error if I want to access the email / web interface
caledar and address book on the web interface work fine!


Can you get a backtrace of of crashing sogod?
Please see instructions here: 
http://www.sogo.nu/english/nc/support/faq/article/how-do-i-debug-sogo.html


Also, have you updated all the sope packages when you upgraded to sogo 2.1.1 ?


*
Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /SOGo/so/web3p1/Mail/view.

Reason: Error reading from remote server
*

in the sogo LOG file I see this:

2013-11-22 14:51:07.840 sogod[15821] WARNING: IMAP4 connection pooling is 
disabled!
Nov 22 14:52:07 sogod [15812]: [WARN] <0x0x7f7d603f7fb0[WOWatchDogChild]> 
safety belt -- sending KILL signal to pid 15821
Nov 22 14:52:07 sogod [15812]: <0x0x7f7d603f7fb0[WOWatchDogChild]> child 15821 
exited
Nov 22 14:52:07 sogod [15812]: <0x0x7f7d603f7fb0[WOWatchDogChild]>  (terminated 
due to signal 9)
Nov 22 14:52:07 sogod [15812]: <0x0x7f7d600bf250[WOWatchDog]> child spawned 
with pid 16016
2013-11-22 14:52:08.191 sogod[16016] Note: Using UTF-8 as URL encoding in 
NGExtensions.
Nov 22 14:52:08 sogod [16016]: <0x0x7f7d60245c00[SOGoCache]> Cache cleanup 
interval set every 300.00 seconds
Nov 22 14:52:08 sogod [16016]: <0x0x7f7d60245c00[SOGoCache]> Using host(s) 
'127.0.0.1' as server(s)
2013-11-22 14:52:08.195 sogod[16016] Note(SoObject): SoDebugKeyLookup is 
enabled!
2013-11-22 14:52:08.195 sogod[16016] Note(SoObject): SoDebugBaseURL is enabled!
2013-11-22 14:52:08.195 sogod[16016] Note(SoObject): relative base URLs are 
enabled.
2013-11-22 14:52:08.200 sogod[16016] ERROR(-[NGBundleManager bundleWithPath:]): 
could not create bundle for path: 
'/usr/share/GNUstep/Libraries/gnustep-base/Versions/1.20/Resources/SSL.bundle'
2013-11-22 14:52:08.212 sogod[16016] WOCompoundElement: pool embedding is on.
2013-11-22 14:52:08.212 sogod[16016] WOCompoundElement: id logging is on.
2013-11-22 14:52:08.236 sogod[16016] WARNING: IMAP4 connection pooling is 
disabled!
Nov 22 14:53:08 sogod [15812]: [WARN] <0x0x7f7d603f7fb0[WOWatchDogChild]> 
safety belt -- sending KILL signal to pid 16016
Nov 22 14:53:08 sogod [15812]: <0x0x7f7d603f7fb0[WOWatchDogChild]> child 16016 
exited
Nov 22 14:53:08 sogod [15812]: <0x0x7f7d603f7fb0[WOWatchDogChild]>  (terminated 
due to signal 9)
Nov 22 14:53:08 sogod [15812]: <0x0x7f7d600bf250[WOWatchDog]> child spawned 
with pid 16068
**


please help



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


Re: [SOGo] Password change behavior

2013-11-21 Thread Jean Raby

On 13-11-21 6:45 AM, Jean Raby wrote:

On 13-11-21 12:09 AM, Laz C. Peterson wrote:

Yikes.

Then if it shouldn’t matter, I’m sure there’s something else going on here.

I'll test it. But why are you running with a 10 seconds cache expiration? that's
really low.

I think you're running with passwordpolicy enable in sogo, but the 
passowrdpolicy overlay is not enabled in openldap.


Just disable password policy in your sogo user source and it will work properly.

Also, you didn't provide your config file, it would have saved us time and 
trouble if you had...


(finally, unless you have a good reason to set the cache cleanup interval so 
low, you're probably better off keeping it at its default value)

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


Re: [SOGo] v2.1.1 - Rule sieve

2013-11-21 Thread Jean Raby

On 13-11-21 6:47 AM, Christian Naumer wrote:

Am 21.11.2013 08:52, schrieb VILLEMUR Jacques:

Hello,
Following the update ( -> 2.1.1 ) I can not change/add sieves rules in 
"prefences".
The fields of the filter box is empty after clic on the filter.
This is a bug?

As I can reproduce it at our site and the online demo I filed a bug report.

http://www.sogo.nu/bugs/view.php?id=2504

Can anybody test the provided patch?

https://github.com/inverse-inc/sogo/commit/5536f8967eea7c441d4e89bd246d1c113d0d8445

Apply it and restart sogo.

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


Re: [SOGo] Password change behavior

2013-11-21 Thread Jean Raby

On 13-11-21 12:09 AM, Laz C. Peterson wrote:

Yikes.

Then if it shouldn’t matter, I’m sure there’s something else going on here.
I'll test it. But why are you running with a 10 seconds cache expiration? that's 
really low.


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


Re: [SOGo] Password change behavior

2013-11-20 Thread Jean Raby

On 13-11-20 7:55 PM, Laz C. Peterson wrote:

I do have “SOGoCacheCleanupInterval” set to 10, if that makes any difference.

Why is the cleanup interval set so low?

It should work anyway, but I'm curious. Also, for the record, I was testing with 
chrome. (with the default cache cleanup interval: 300)

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


Re: [SOGo] Password change behavior

2013-11-20 Thread Jean Raby

On 13-11-20 4:16 PM, Laz C. Peterson wrote:

Can someone please fill me in on the expected behavior of SOGo after the user 
changes their password through preferences?

My users, who can change their passwords just fine through the preferences, get 
stuck in SOGo after changing the password.  It appears as if they are still 
logged in, but if they go to write a new message or click on a different 
feature (such as Calendar), they are presented with a login box.  (At this 
point, they can log in fine using their new password.)

I want to confirm that this is by design, or if there is something I need to 
look into.  It seems that either the user should not have to relog in at all, 
or that the user should immediately be logged off and presented with a new 
login screen.

Can you explain or post your sogo configuration?
Anything relevant in the logs?

I just tested this with sogo using openldap as its auth backend and it works as 
designed. That is:  when I change my password, I can still use sogo without 
having to log back in.




Thanks for any help.
~Laz--



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


[SOGo] ANN: SOGo v2.1.1

2013-11-19 Thread Jean Raby
The Inverse Team is pleased to announce the immediate availability of SOGo 
2.1.1. This is a minor release of SOGo which focuses on improved stability over 
previous versions.



 What is SOGo

SOGo is a free and modern scalable groupware server. It offers shared calendars, 
address books and emails through your favorite Web browser or by using a native 
client such as Mozilla Thunderbird and Lightning, Apple Calendar and Address 
Book (OSX and iOS) and Microsoft Outlook.


SOGo is standard-compliant and supports CalDAV, CardDAV, GroupDAV and reuses 
existing IMAP, SMTP and database servers - making the solution easy to deploy 
and interoperable with many applications.


SOGo features :

 * Scalable architecture suitable for deployments from dozen to many thousand 
users
 * Rich Web-based interface that shares the look and feel, the features and the
   data of Mozilla Thunderbird and Lightning
 * Improved integration with Mozilla Thunderbird and Lightning by using the
   SOGo Connector and the SOGo Integrator
 * Native compatibility for Microsoft Outlook 2003, 2007 and 2010
 *

   Two-way synchronization support with any SyncML-capable devices (BlackBerry,
   Palm, Windows CE, etc.) by using the Funambol SOGo Connector

 * Excellent native integration with Apple software (OSX and iOS) and
   Android-based devices

and many more! SOGo and our connectors are completely free.


 Changes from the previous release

*New features*

 * creation and modification of mail labels

*Enhancements*

 * the color picker is no longer a popup window

*Bug fixes*

 * fixed utf8 character handling in special folder names
 o Special folder names can now be set as UTF8 or modified UTF7 in sogo.conf
 * fixed reply-to header not being set for auxiliary IMAP accounts
 * fixed handling of broken/invalid email addresses

New extensions for Mozilla Thunderbird 24 have also been released. They include 
support for synchronizing mail labels.


Seehttp://www.sogo.nu/bugs/changelog_page.php?project_id=1for closed tickets 
andhttps://github.com/inverse-inc/sogo/commits/SOGo-2.1.1for the complete change 
log.



 Getting SOGo

SOGo is free software and is distributed under the GNU GPL. As such, you are 
free to download and try it by visiting the following page :


http://www.sogo.nu/downloads/backend.html

You can also download the sources by following the instructions on this page:

http://www.sogo.nu/development/source_code.html

Frontend clients such as Mozilla Thunderbird, Mozilla Lightning (Inverse 
Edition), SOGo Connector and SOGo Integrator extensions are available for 
download from :


http://www.sogo.nu/downloads/frontends.html

Documentation about the installation and configuration of SOGo, Thunderbird or 
mobile devices is available from :


http://www.sogo.nu/downloads/documentation.html

You can also try our online SOGo demo at :

http://www.sogo.nu/tour/online_demo.html


 Upgrading to v2.1.1

No special measure needs to be taken when upgrading from v2.1.1.


 How can I help ?

SOGo is a collaborative effort in order to create the best Free and Open Source 
groupware solution.


There are multiple ways you can contribute to the project :

 * Documentation reviews, enhancements and translations
 * Write test cases - if you know Python, join in!
 * Feature requests or by sharing your ideas (see the roadmap)
 * Participate to the discussion in mailing lists
 *

   Patches for bugs or enhancements (http://www.sogo.nu/bugs)

 *

   Provide new translations
   
(http://sogo.nu/english/support/faq/article/how-to-translate-sogo-in-another-language-2.html)

Feel free to send us your questions. You can also post them to the SOGo mailing 
list:http://sogo.nu/lists/



 Getting Support

For any questions, do not hesitate to contact us by writing tosupp...@inverse.ca 



Customer support packages for SOGo are available 
fromhttp://inverse.ca/support.html

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

Re: [SOGo] No child available to handle incoming request

2013-11-14 Thread Jean Raby

On 13-11-14 4:24 AM, Eray Aslan wrote:

I am getting a bunch of lines similar to

Nov 14 11:14:11 sogod [26929]: [ERROR] <0x0x7f0fa669b2a8[WOWatchDog]> No
child available to handle incoming request!

This means that there is no sogo process available to handle the incoming 
request.

How many processes do you have running? Are they all blocked on some tasks?



in my logs.  I am not sure what it signifies or how to remedy it.  My
google-fu failed me.  Any ideas/recommendations on what it means and
what knob to use?



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


Re: [SOGo] ANN: SOGo v2.1.0

2013-11-11 Thread Jean Raby

On 13-11-07 10:16 PM, Francis Lachapelle wrote:

The Inverse Team is pleased to announce the immediate availability of SOGo
2.1.0. This is a minor release of SOGo which focuses on improved stability over
previous versions.

Hi everyone,

a ZEG version 2.1.0 is also available for download: 
http://www.sogo.nu/downloads/zeg.html

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


Re: [SOGo] Setting up Postfix/SMTP Auth service using ldap

2013-10-18 Thread Jean Raby

On 13-10-18 10:55 AM, John Tolson wrote:


*/etc/postfix/sasl/stmpd.conf*
pwcheck_method: saslauthd
mech_list: plain login
log_level: 7
saslauthd_path: /var/spool/postfix/var/run/saslauthd/mux


Is saslauth really listening there?

If it is not, you need to update /etc/default/saslauthd (saslauthd -m 
/var/spool/postfix/var/run/saslauthd)  Check the ubuntu documentation regarding 
this: https://help.ubuntu.com/community/Postfix#Authentication

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


Re: [SOGo] Setting up Postfix/SMTP Auth service using ldap

2013-10-17 Thread Jean Raby

On 13-10-17 11:38 AM, John Tolson wrote:

Hello All,

I am new to Sogo and Postfix but have a great understanding of Unix and Unix
administration.  I have download the virtual appliance and have configured it
with a new domain, to send out mail *LOCALLY*  (POSTFIX/SMTP) and receive mail
LOCALLY and Remotely with a client. (imap).  My challenge now is to configure
the server to allow users to authenticate against the postfix and to send mail
from any client software.  I think I am missing something small but I need HELP.
  I have been working on this on and off for about 8 weeks now and cannot figure
out my issue.

*Telnet test from remote machine (My Laptop)*
imac:~ jtolson $ echo -ne '\0sogo1\0sogo' | openssl enc -base64
AHNvZ28xAHNvZ28=

imac:~ jtolson $ telnet 10.1.2.130 25
Trying 10.1.2.130...
Connected to 10.1.2.130.
Escape character is '^]'.
220 *
EHLO tcusit.com 
250-tcusit.com 
250-PIPELINING
250-SIZE 1024
250-VRFY
250-ETRN
250-AUTH DIGEST-MD5 CRAM-MD5 NTLM LOGIN PLAIN
250-AUTH=DIGEST-MD5 CRAM-MD5 NTLM LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
AUTH PLAIN AHNvZ28xAHNvZ28=
535 5.7.8 Error: authentication failed: authentication failure

*
*
*From the /var/log/syslog on the server 10.1.2.130*
Oct 17 11:21:41 sogo postfix/smtpd[14957]: connect from unknown[172.16.1.8]
Oct 17 11:21:59 sogo postfix/smtpd[14957]: warning: SASL authentication failure:
Password verification failed
Oct 17 11:21:59 sogo postfix/smtpd[14957]: warning: unknown[172.16.1.8]: SASL
PLAIN authentication failed: authentication failure

*From the 10.1.2.130 mail server*
root@sogo:~# testsaslauthd -u sogo1 -p sogo
0: OK "Success."

Given the testsaslauthd comes back with a "0: OK "Success." tells me that the
ldap and saslauthd is working properly.  I know that the POSTFIX/SMTP is using
SASL authentication and is failing on the password from the log file.
  Postfix/SMTPD is configured with the SASL Authentication and the SASL
Authentication through ldap is working given my testsaslauthd test.  What am I
missing?  I am just trying to setup a simple mail server that I can use with
remote clients from mobile, macs and windows.

  Any guidance is appreciated.


This is not really a sogo related question and would probably be best answered 
in postfix / cyrus-sasl lists.


But,  do you see anything in the ldap logs when doing the auth against 
postfix?(that test should be done with 'olcLogLevel: stats' if you want to see 
something in the ldap logs)

Also, is there anything relevant in the saslauth logs?
Are you running postfix chrooted and the saslauthd socket file is outside of the 
chroot?(hint  saslauthd -m /var/spool/postfix/var/run/saslauthd)


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


Re: [SOGo] Status of my patches

2013-10-10 Thread Jean Raby

On 13-10-10 4:10 AM, Michel RENON wrote:

Hi,

Hi Michel,


I sent 3 patches since august (#0002311, #0002328, #0002393) and I would like to
have some information about their review.
As those patches were made for a customer, he would like to know if they'll
integrated in next version for TB24.

I saw that those 3 bugs have been assigned to 'jraby' on 2013-09-17. Should I
contact him directly ?
your patches will be merged in as soon as I have time to review/test them. 
Probably with the first release of the extensions for TB24.




Regards,
Michel Renon


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


[SOGo] Maintenance on inverse.ca tonight

2013-10-02 Thread Jean Raby

Hi everyone,

We're in the process of migrating most of our public facing infrastructure to a 
new datacenter. Starting around 8PM (EST) tonight (October 2nd), we will shut 
down all the services on inverse.ca in order to complete the migration.


Services should be back online a few hours after that, hopefully before 
midnight.

--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

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


Re: [SOGo] Updates.php script

2013-09-30 Thread Jean Raby

On 13-09-30 11:34 AM, Szládovics Péter wrote:


Change the line 79 of the aynam.php from:


To:
http://aynam.com/downloads/extensions/' .
$plugin["filename"] ?>

This shouldn't need any tweaking. If it does, enable mod_rewrite in apache.
If it still requires manual tweaking, then file in a bug, it shouldn't :-)

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


Re: [SOGo] v2.1 > Testing

2013-09-24 Thread Jean Raby

On 13-09-24 4:10 PM, Ludovic Marcotte wrote:

Hello,

In preparation for SOGo v2.1, which will happen in a few weeks, we would
appreciate if you could give a try to the upcoming nightly builds.

Here are the changes right now since 2.0.7:


...


While all of the above would need testing, the items in bold have the most 
impact.

Any feedback would be appreciated.



Don't forget to upgrade SOPE packages as well since some changes are not 
backward compatible. (aka SOGo will not work properly with older sope pkgs)


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


Re: [SOGo] depricated LDAP options working, new ones not

2013-09-24 Thread Jean Raby

On 13-09-24 1:57 PM, Mark Pavlichuk wrote:

If I use the deprecated way of specifying a starttls ldap addess things work 
ie. :

sudo -u sogo defaults write sogod SOGoUserSources '({CNFieldName = cn;
  IDFieldName = cn; UIDFieldName = uid;
  baseDN="ou=people,dc=strategicit,dc=homelinux,dc=net";
  bindDN="cn=admin,dc=strategicit,dc=homelinux,dc=net";
  bindFields = (uid); usePasswordAlgorithm = ssha;
  bindPassword = xx; canAuthenticate = YES; displayName =
  "Shared Addresses"; hostname = fusion.strategicit.homelinux.net;
id = shared;
  port = 389;
  encryption = starttls;
  isAddressBook = YES;})'

...but if I do things the new way ...  ie:

sudo -u sogo defaults write sogod SOGoUserSources '({CNFieldName = cn;
  IDFieldName = cn; UIDFieldName = uid;
  baseDN="ou=people,dc=strategicit,dc=homelinux,dc=net";
  bindDN="cn=admin,dc=strategicit,dc=homelinux,dc=net";
  bindFields = (uid); usePasswordAlgorithm = ssha;
  bindPassword = xx; canAuthenticate = YES; displayName =
  "Shared Addresses"; hostname =
ldap://fusion.strategicit.homelinux.net/!StartTLS; id = shared;
  isAddressBook = YES;})'


I just tested again here and both works :

sogo.log
Sep 19 16:23:33 sogod [12048]: <0x0x7f1190e78bd0[NGLdapConnection]> Using 
ldap_initialize for LDAP URL: ldap://127.0.0.1:3389/!StartTLS
2013-09-19 16:23:33.527 sogod[12048] -[NGLdapConnection 
_searchAtBaseDN:qualifier:attributes:scope:]: search at base 
'ou=people,dc=example,dc=com' filter '(|(uid=sogo1)(mail=sogo1))' for attrs '*'


slapd logs:
Sep 19 16:23:33 sogo slapd[1169]: conn=1938 fd=16 ACCEPT from IP=127.0.0.1:33868 
(IP=0.0.0.0:3389)

Sep 19 16:23:33 sogo slapd[1169]: conn=1938 op=0 EXT oid=1.3.6.1.4.1.1466.20037
Sep 19 16:23:33 sogo slapd[1169]: conn=1938 op=0 STARTTLS
Sep 19 16:23:33 sogo slapd[1169]: conn=1938 op=0 RESULT oid= err=0 text=
Sep 19 16:23:33 sogo slapd[1169]: conn=1938 fd=16 TLS established tls_ssf=128 
ssf=128
Sep 19 16:23:33 sogo slapd[1169]: conn=1938 op=1 BIND 
dn="cn=admin,dc=example,dc=com" method=128
Sep 19 16:23:33 sogo slapd[1169]: conn=1938 op=1 BIND 
dn="cn=admin,dc=example,dc=com" mech=SIMPLE ssf=0

Sep 19 16:23:33 sogo slapd[1169]: conn=1938 op=1 RESULT tag=97 err=0 text=
Sep 19 16:23:33 sogo slapd[1169]: connection_input: conn=1938 deferring 
operation: binding
Sep 19 16:23:33 sogo slapd[1169]: conn=1938 op=2 SRCH 
base="ou=people,dc=example,dc=com" scope=2 deref=0 
filter="(|(uid=sogo1)(mail=sogo1))"

Sep 19 16:23:33 sogo slapd[1169]: conn=1938 op=2 SRCH attr=*
Sep 19 16:23:33 sogo slapd[1169]: conn=1938 op=2 SEARCH RESULT tag=101 err=0 
nentries=1 text=




...SOGo fails to bind to LDAP.  From /var/log/sogo/sogo.log :

Sep 25 03:21:21 sogod [7923]: <0x0x7ffc74b043f0[SOGoCache]> Using host(s)
'localhost' as server(s)
2013-09-25 03:21:21.237 sogod[7923] Note(SoObject): SoDebugKeyLookup is enabled!
2013-09-25 03:21:21.237 sogod[7923] Note(SoObject): SoDebugBaseURL is enabled!
2013-09-25 03:21:21.237 sogod[7923] Note(SoObject): relative base URLs are 
enabled.
2013-09-25 03:21:21.240 sogod[7923] ERROR(-[NGBundleManager bundleWithPath:]):
could not create bundle for path:
'/usr/share/GNUstep/Libraries/gnustep-base/Versions/1.22/Resources/SSL.bundle'
2013-09-25 03:21:21.246 sogod[7923] WOCompoundElement: pool embedding is on.
2013-09-25 03:21:21.246 sogod[7923] WOCompoundElement: id logging is on.
192.168.1.109 - - [25/Sep/2013:03:21:21 GMT] "GET /SOGo HTTP/1.1" 302 0/0 0.129
- - 2M
2013-09-25 03:21:21.379 sogod[7923] WARNING(-[NSNull(misc) count]): called
NSNull -count (returns 0) !!!
192.168.1.109 - - [25/Sep/2013:03:21:21 GMT] "GET /SOGo/ HTTP/1.1" 200 3874/0
0.020 11821 67% 1M
Sep 25 03:21:30 sogod [7923]: [ERROR] <0x0x7ffc74b7d930[LDAPSource]> Could not
bind to the LDAP server ldap://fusion.strategicit.homelinux.net!StartTLS
(389) using the bind DN: cn=admin,dc=strategicit,dc=homelinux,dc=net
Sep 25 03:21:30 sogod [7923]: [ERROR] <0x0x7ffc74b7d930[LDAPSource]>
 NAME:LDAPException REASON:operation bind failed:
Confidentiality required (0xD) INFO:{login =
"cn=admin,dc=strategicit,dc=homelinux,dc=net"; }
Sep 25 03:21:30 sogod [7923]: SOGoRootPage Login from '192.168.1.109' for user
'fd-admin' might not have worked - password policy: 65535 grace: -1  expire: -1
bound: 0
192.168.1.109 - - [25/Sep/2013:03:21:30 GMT] "POST /SOGo/connect HTTP/1.1" 403
34/44 0.003 - - 476K
Sep 25 03:31:31 sogod [7899]: <0x0x7ffc74808b20[WOWatchDog]> Terminating with
SIGINT or SIGTERM

The only strange things I'm doing are setting options requiring certs in
OpenLDAP, ie:

olcTLSVerifyClient: demand
olcLocalSSF: 256
olcTLSCipherSuite: SECURE256
olcSecurity: ssf=256

...although I'm not sure if that could be making a difference.

You realize that 'olcTLSVerifyClient: demand' means that the LDAP server will 
validate the CLIENT certificate on TL

Re: [SOGo] Active Sync support in SOGo

2013-09-19 Thread Jean Raby

On 13-09-19 12:45 PM, MJ Ray wrote:

Could something semi-detached Funambol-like be done instead of moving
SOGo away from the GPL?

We're not moving SOGo away from the GPL.

the active sync stuff will have to be licensed under another license, but 
that's it.
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Proxy error

2013-09-10 Thread Jean Raby

On 13-09-10 3:00 PM, Groupe SOGo wrote:

hello;
now we get the proxy error when we click on "Address Book".
we looked into the log and this is the message in it :
Sep 10 22:45:00 sogod [4770]: [ERROR] <0x0x7f265d64d4d8[SOGoSQLUserProfile]>
failed to acquire channel for URL: postgresql://sogo:sogo@localhost:5432/sogo
Sep 10 22:45:00 sogod [4770]: [ERROR] <0x0x7f265d5f0a88[SOGoSQLUserProfile]>
failed to acquire channel for URL: postgresql://sogo:sogo@localhost:5432/sogo
Sep 10 22:45:00 sogod [4770]: [ERROR] <0x0x7f265d5f0a88[SOGoSQLUserProfile]>
failed to acquire channel for URL: postgresql://sogo:sogo@localhost:5432/sogo
Sep 10 22:45:00 sogod [4770]: [ERROR] <0x0x7f265d5f0a88[SOGoSQLUserProfile]>
failed to acquire channel for URL: postgresql://sogo:sogo@localhost:5432/sogo
Sep 10 22:45:01 sogod [4720]: <0x0x7f265d25c6e8[WOWatchDogChild]> child 4770 
exited
Sep 10 22:45:01 sogod [4720]: <0x0x7f265d25c6e8[WOWatchDogChild]> (terminated
due to signal 11, coredump)
Sep 10 22:45:01 sogod [4720]: <0x0x7f265d36c8e8[WOWatchDog]> child spawned with
pid 4825
we stuck with that proxy error.
you are stuck with a db connection issu, sogo cannot connect to the postgresql 
database and you can connect manually.

Have you checked the postgres logs?  anything relevant?   SSL issue?
What does tcpdump -i lo port 5432  tell about the connection?


help us go through.
Thanks

Le 10/09/2013 13:39, labolinux a écrit :


Thanks Christian Mack for the reply,
yes postgresql is running and we can connect to sogo database
using credentials sogo ,sogo?
Le 10/09/2013 14:44, Christian Mack a écrit :

Hello labolinux


Am 2013-09-10 10:26, schrieb labolinux:

Le 10/09/2013 09:54, labolinux a écrit :

Hi,
we installed sogo on centOS 6.3, we configured it.Users can have acces to
their account but we got this error when they want to access the
AddressBook.


   Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the
request /GET /SOGo/so/sogo.administrator/Contacts/view
/.

Reason: *Error reading from remote server*


How can we resolve it?
Thanks in advance!

When we check the logo this is what is in the log:

Sep 10 11:43:39 sogod [19491]: [ERROR]
<0x0x7f305ff2a498[SOGoSQLUserProfile]> failed to acquire channel for
URL: postgresql://sogo:sogo@localhost:5432/sogo/sogo_user_profile


Is your Postgresql running?
Can you connect the sogo database with user sogo and password sogo?


Kind regards,
Christian Mack





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


Re: [SOGo] nightly builds, Debian 32 Bit

2013-09-10 Thread Jean Raby

On 13-09-10 8:29 AM, Christian Mack wrote:

Hello  Mario Gruenwald


Am 2013-09-09 22:12, schrieb Mario Gruenwald:


Today i want to change from
   deb http://inverse.ca/debian wheezy wheezy
to
   deb http://inverse.ca/debian-nightly wheezy wheezy

Problem:
  sogo-openchange depends on sogo (= 2.0.7.20130829-1) [UNAVAILABLE]

When i search in
http://inverse.ca/debian-nightly/pool/wheezy/s/sogo/
i only find sogo_2.0.7.20130829-1_amd64.deb, but i need i386.

Any tips?



There is no support for 32-bit server from Invers.
So the only way is to compile it yourself from sources.
That's not accurate, we do provide builds for both 32 and 64bit platforms. 
There was a problem with the build scripts in the last few days that went unnoticed.


I've restarted the nightly builds, so new ones should be available soon.




Kind regards,
Christian Mack



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


Re: [SOGo] samba panic internal error

2013-09-05 Thread Jean Raby

On 13-09-05 10:53 AM, Fabio Onorini wrote:

[2013/09/05 14:47:50,  0]
mapiproxy/servers/default/nspi/dcesrv_exchange_nsp.c:1278(dcesrv_exchange_nsp_dispatch)
   dcesrv_exchange_nsp_dispatch
[2013/09/05 14:47:50,  0] ../lib/util/fault.c:72(fault_report)
   ===
[2013/09/05 14:47:50,  0] ../lib/util/fault.c:73(fault_report)
   INTERNAL ERROR: Signal 11 in pid 2207 (4.0.1)
   Please read the Trouble-Shooting section of the Samba HOWTO
[2013/09/05 14:47:50,  0] ../lib/util/fault.c:75(fault_report)
   ===
[2013/09/05 14:47:50,  0] ../lib/util/fault.c:144(smb_panic_default)
   PANIC: internal error


We'd need a backtrace to be able to diagnose this.
Can you try to setup the 'panic action' as described at the bottom of this page: 
http://www.sogo.nu/english/nc/support/faq/article/how-do-i-debug-sogo.html



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


Re: [SOGo] Re: Blank INBOX for one user and error in sogo.log

2013-08-30 Thread Jean Raby

On 13-08-30 5:34 AM, Cedric Foll wrote:

I've found the email which produce this problem.
The destination adress in the header look like that:

To: "mb >> \"MB Mxxx.yyy\"" 

It may be the cause of the problem?

Probably, can you open a bug with a sample mail that triggers this behavior?
Make that bug private if you must attach the real mail.

Thanks.


Regards

Le 30 août 2013 à 10:04, Cedric Foll  a écrit :


Hi,

One of my users can't access to his mails when he open his INBOX, his others 
imap folder work corectly

On solo.log I have this errors:
Aug 30 09:32:32 sogod [32375]: <0x0x7f44411840a0[NGImap4ResponseParser]> 
WARNING: IMAP4 envelope address not properly closed (c0=M,c1=i): (null)
Aug 30 09:32:32 sogod [32375]: <0x0x7f444117d270[NGImap4Client]> 
ERROR(-[NGImap4Client _processCommandParserException:]): catched IMAP4 parser 
exception NGImap4ParserException: unsupported fetch key: nil
Aug 30 09:32:32 sogod [32375]: [ERROR] <0x0x7f4441169d20[NGImap4Connection]> 
could not fetch 97 uids for url: imap://xxx.yyy@imap/INBOX/

Any idea?

Regards

--
Cedric Foll
Architecte infrastructures

Direction des Systèmes d'Information
Bureau  A2-177

Université Charles de Gaulle - Lille 3
Domaine universitaire du Pont de bois
BP 60149
59653 Villeneuve d'Ascq

Tel: 03 20 41 64 35
Fax   : 03 20 41 60 01
Portable : 06 37 24 06 55








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


Re: [SOGo] debugging the SOGo connector?

2013-08-29 Thread Jean Raby

On 13-08-29 1:07 PM, Daniel Pocock wrote:


Hi,

Is there any way to get a debug log file from the SOGo Connector?
To get debugging output of the TB plugins, enable the javascript dump() function 
by setting this TB preference:

  browser.dom.window.dump.enabled = true

And then run thunderbird from the console
  thunderbird.exe -console


Regards,

Daniel




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


Re: [SOGo] SOGo Integrator questions

2013-08-29 Thread Jean Raby

On 13-08-29 10:23 AM, Szládovics Péter wrote:

Dear Jean,

Thanks for your answers.
Where can I upload the Hungarian localized files for Integrator? (And the
Connector too)
I tried to find the possibilities on github, but I cannot do anything. Could you
help me please?


Best way is by doing a pull requests on github:

https://github.com/inverse-inc/sogo-integrator.tb17/tree/master/chrome/locale
https://github.com/inverse-inc/sogo-connector.tb17/tree/master/chrome/locale
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] SOGo Integrator questions

2013-08-29 Thread Jean Raby

On 13-08-29 9:00 AM, Szládovics Péter wrote:

Hi Adi,

Thanks your answers!
My answers below.

2013-08-29 14:18 keltezéssel, Adi Kriegisch írta:

Hi Péter,


 2. Folder sharing.
I can share contacts and calendars - it's cool too. But I cannot share
mailbox directories - or I don't know how can I do it.

This has nothing to do with SOGo or Integrator and is solely depending on
your imap server supporting such features.


On my server this feature is set up, and usable through SOGo web UI.
My question is, can I handle it through Thunderbird with Integrator extension
such as the web UI?

SOGo integrator does not add ACL management capabilities to TB.



 3. Filters.
Can I use server side filters (like as the SOGo webmail) - filter-,
forward-, and vacation settings? Or I need to install the sieve
extension?

This too depends on sieve (which needs to be supported on your mail server)
and on the client side currently is only available as a sieve plugin that
allows to edit rules in a text editor (in Thunderbird).
For kmail there seems to be some progress on the sieve support side that
provides (or will provide) a gui to edit rules to be released with kde
4.12.


It's true too (like above). Working on SOGo web UI, working with sieve
extension. Does not the Integrator support it accordingly?

SOGo integrator does not support setting sieve filters.
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] customizing extensions.rdf

2013-08-28 Thread Jean Raby

On 13-08-28 1:26 PM, Silver Salonen wrote:

On Wednesday 28 August 2013 11:32:25 Sebastián wrote:

Hi,

I'm a bit lost. When I uncompress the
sogo-integrator-17.0.5-sogo-demo.xpi file I find two extensions.rdf
file. Do I have to customize both?

./custom/sogo-demo/chrome/content/extensions.rdf
./chrome/content/extensions.rdf


No. You can actually ignore and just delete the whole './custom' directory.

this is actually a packaging error which Should Be Fixed(tm) in the next 
release.

The custom/ directory should only be found in the source tarball/git.
It is what we use to build the integrator for sogo-demo automatically, you could 
actually do the same for your site(s).  To do so, create a directory named from 
your site's name under custom/.  And put your custom files in it (see 
custom/sogo-demo for an example: 
https://github.com/inverse-inc/sogo-integrator.tb17).


Then, from the root of the source, run  'make build=sitename' to create the xpi 
properly named.



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


Re: [SOGo] Segfault on Gentoo / 2.0.3 and 2.0.7

2013-08-28 Thread Jean Raby

On 13-08-28 9:17 AM, Jean Raby wrote:

On 13-08-27 7:30 PM, Hannes Erven wrote:

* i still got segfaults when starting from the init script, while it ran
fine from the sogo-user's command prompt and via gdb.
Root cause: the init script created /var/run/sogod.pid, but sogo
expected it to be /var/run/sogo/sogod.pid .


Hi Hannes,  glad you got this sorted out.

I just tested this and sogod does segfault if it cannot write its pidfile...
I'll fix that.

Depressing fix ;-)

https://github.com/inverse-inc/sope/commit/3dcc9b1459bd8a3ab626f918dea5576defb86eea

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


Re: [SOGo] Segfault on Gentoo / 2.0.3 and 2.0.7

2013-08-28 Thread Jean Raby

On 13-08-27 7:30 PM, Hannes Erven wrote:

* i still got segfaults when starting from the init script, while it ran
fine from the sogo-user's command prompt and via gdb.
Root cause: the init script created /var/run/sogod.pid, but sogo
expected it to be /var/run/sogo/sogod.pid .


Hi Hannes,  glad you got this sorted out.

I just tested this and sogod does segfault if it cannot write its pidfile... 
I'll fix that.


But you should have seen an error message in sogo.log:
2013-08-28 09:16:24.469 sogod[2359] File NSData.m: 1425. In -[NSData 
writeToFile:options:error:] Open (/nonexistent/test/sogo.pid) failed - No such 
file or directory


Did this somehow get lost on gentoo?
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] LDAP problems

2013-08-27 Thread Jean Raby

On 13-08-27 1:43 PM, Christian Rößner wrote:

Aug 27 18:50:07 sogod [19791]: [ERROR] <0x0x7f2526818480[LDAPSource]> Could not 
bind to the LDAP server bordergw.deltaweb.de (389) using the bind DN: 
cn=proxyuser,dc=deltaweb,dc=de
Aug 27 18:50:07 sogod [19791]: [ERROR] <0x0x7f2526818480[LDAPSource]> 
 NAME:LDAPException REASON:operation startTLS failed: 
Connect error (0xFFF5) INFO:(null)


This looks like a certificate error.


Trying to contact the LDAP server directly from the command line:

ldapsearch -ZZ -h bordergw.deltaweb.de -xWD "cn=proxyuser,dc=deltaweb,dc=de" -b 
"ou=wl,dc=deltaweb,dc=de"

Works perfectly.

So at the moment I do not know where to look for the mistake I did. The LDAP server 
certificate is brand new (CAcert). The CA is also included into 
/etc/ssl/certs/ca-certificates.crt, so I "guess" SOGo should have a chance to 
validate the server certificate. At least ldapsearch with a valid ldaprc works.

What's the content of the ldaprc file?
Do you have the same in /etc/ldap/ldap.conf? (wherever it is on your system)

TLS_CACERT should be set to /etc/ssl/certs/ca-certificates.crt. Just for "fun", 
can you set TLS_REQCERT=never in the global ldap.conf and see if the connection 
works?




Any suggestions here? Would be so cool, if that worked


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


Re: [SOGo] Remove debug for SMTP sessions

2013-08-27 Thread Jean Raby

On 13-08-27 9:46 AM, Cedric Foll wrote:

Hi,

I need to use smtp to send mails in SOGo, it works fine but it records every 
smtp session in /var/log/sogo.log (including base64 of login and password...):

C: connect to <0x0x7f05d03b6e10[NGInternetSocketAddress]: host=XXX not-filled>
S: 
C: EHLO XXX
S: 
S: pipelining extension supported.
S: size extension supported.
S: plain auth extension supported.
C: AUTH PLAIN
C:XXX
C: MAIL FROM:
C: RCPT TO:
C: DATA
S: 
C: data(352 bytes) ..
S: 
C: QUIT
S: 

How can I remove such debug information?
I just fixed this... 
https://github.com/inverse-inc/sope/commit/724726e1e8a11ff9950d9b304a8d0aa83ee6edef


So, for now it is not possible to disable it, but it will be with the next 
release. If would probably be best to be able to log everything except the 
passwords, but that is not possible at the moment.




Regards.



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


Re: [SOGo] Remove debug for SMTP sessions

2013-08-27 Thread Jean Raby

On 13-08-27 2:04 PM, Jean Raby wrote:

On 13-08-27 9:46 AM, Cedric Foll wrote:

Hi,

I need to use smtp to send mails in SOGo, it works fine but it records every
smtp session in /var/log/sogo.log (including base64 of login and password...):

C: connect to <0x0x7f05d03b6e10[NGInternetSocketAddress]: host=XXX not-filled>
S: 
C: EHLO XXX
S: 
S: pipelining extension supported.
S: size extension supported.
S: plain auth extension supported.
C: AUTH PLAIN
C:XXX
C: MAIL FROM:
C: RCPT TO:
C: DATA
S: 
C: data(352 bytes) ..
S: 
C: QUIT
S: 

How can I remove such debug information?

I just fixed this...
https://github.com/inverse-inc/sope/commit/724726e1e8a11ff9950d9b304a8d0aa83ee6edef

Forgot to say, to disable it, you'll need to turn off ImapDebugEnabled  (which 
is off by default)


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


Re: [SOGo] Segfault on Gentoo / 2.0.3 and 2.0.7

2013-08-27 Thread Jean Raby

On 13-08-26 6:34 PM, Hannes Erven wrote:

Hi Jean,


thank you for your help and sorry for not strictly following the debug guide in
the first place :-/

Here's the new GDB transcript - unfortunately it is quite the same:


$ gdb --args /usr/sbin/sogod -WOUseWatchDog NO -WONoDetach YES -WOPort 2
-WOWorkersCount 1 -WOLogFile - -WOPidFile /tmp/sogo.pid

GNU gdb (Gentoo 7.5.1 p2) 7.5.1
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
For bug reporting instructions, please see:
...
Reading symbols from /usr/sbin/sogod...(no debugging symbols found)...done.
(gdb) b [NSException raise]
Function "[NSException raise]" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 ([NSException raise]) pending.
(gdb) b abort
Breakpoint 2 at 0x2af0
(gdb) r
Starting program: /usr/sbin/sogod -WOUseWatchDog NO -WONoDetach YES -WOPort
2 -WOWorkersCount 1 -WOLogFile - -WOPidFile /tmp/sogo.pid
warning: Could not load shared library symbols for linux-gate.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
recursion encountered handling uncaught exception

Breakpoint 2, 0xb7286ad5 in abort () from /lib/libc.so.6
(gdb) bt
#0  0xb7286ad5 in abort () from /lib/libc.so.6
#1  0xb759ba14 in ?? () from /usr/lib/libgnustep-base.so.1.24
#2  0xb740bde8 in objc_msg_lookup () from
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/libobjc.so.2
#3  0x80002ccc in main ()
(gdb)


This time there was no entry in dmesg.

These binaries were built using the gentoo ebuilds, so perhaps the "debug"
wasn't correctly honoured? Shall I manually rebuild the sources from scratch to
improve chances to a better stacktrace?
We may get a better trace if you had debugging symbols for gnustep-base, but it 
would be even better if you could build sope + sogo with debugging enabled[1], 
since we could see exactly where it breaks.


Since your trace shows that it abort() from main(), you could simply step 
through the instructions with gdb and see where it crashes:


  (gdb) b main
  (gdb) run
  (gdb) n<--- do this for each instruction until it crashes

Then post the results here :-)


[1] 
http://www.sogo.nu/english/nc/support/faq/article/how-do-i-compile-sogo-2.html




Thanks again, best regards

 -hannes


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


Re: [SOGo] BlackBerry 10 native Caldav and SOGo

2013-08-26 Thread Jean Raby

On 13-08-26 1:24 PM, Federico Alberto Sayd wrote:

Any answer and experience are most that welcome
Since we didn't have a chance to test this nwe phone with SOGo, logfiles and any 
errors on the sogo side would be most welcome :)

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


Re: [SOGo] Segfault on Gentoo / 2.0.3 and 2.0.7

2013-08-26 Thread Jean Raby

On 13-08-25 9:00 PM, Hannes Erven wrote:

Program received signal SIGABRT, Aborted.
0xe424 in __kernel_vsyscall ()
(gdb) bt
#0  0xe424 in __kernel_vsyscall ()
#1  0xb72856d9 in raise () from /lib/libc.so.6
#2  0xb7286c53 in abort () from /lib/libc.so.6
#3  0xb759ba14 in ?? () from /usr/lib/libgnustep-base.so.1.24
#4  0xb740bde8 in objc_msg_lookup () from
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/libobjc.so.2
#5  0x80002ccc in main ()



I then tried manually compiling the latest sogo/sope 2.0.7 from the tarballs and
gnustep-base 1.24.5 , which resulted again in a different
but still a segfault on startup:

#1 0xb79f615f in GSToUnicode
(no more details from gdb)

And in dmesg:
[kernel] sogod[1782]: segfault at bf2f0e9c ip b717e15f sp bf2f0ea0 error
6 in libgnustep-base.so.1.24.5[b6ec1000+3a2000]

This is strange.  Can you try starting GDB/sogo with the following arguments:
gdb --args /usr/sbin/sogod -WOUseWatchDog NO -WONoDetach YES -WOPort 2 
-WOWorkersCount 1 -WOLogFile - -WOPidFile /tmp/sogo.pid


and then set breakpoints on [NSException raise]  and 'abort'

(see http://www.sogo.nu/english/nc/support/faq/article/how-do-i-debug-sogo.html)

Hopefully we'll get a better backtrace with this.
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] SOGo + fail2ban

2013-08-23 Thread Jean Raby

On 13-08-23 8:39 AM, Jean Raby wrote:

On 13-08-22 11:46 AM, Ben wrote:

 proxy_set_header x-webobjects-remote-host127.0.0.1;

That is not good.  remove that line and sogo will happily show you the remote
host :-)


In fact, you can either leave it out entirely and sogo will use x-forwarded-for, 
or you can set it to $remote_addr:

  proxy_set_header x-webobjects-remote-host$remote_addr;
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] SOGo + fail2ban

2013-08-23 Thread Jean Raby

On 13-08-22 11:46 AM, Ben wrote:

 proxy_set_header x-webobjects-remote-host127.0.0.1;
That is not good.  remove that line and sogo will happily show you the remote 
host :-)

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


Re: [SOGo] SOGo + fail2ban

2013-08-22 Thread Jean Raby

On 13-08-22 12:49 AM, Ben wrote:

Aug 21 22:40:04 sogod [13156]: SOGoRootPage Login from '127.0.0.1' for user
'asdf' might not have worked - password policy: 65535 grace: -1
expire: -1  bound: 0


Can you post your apache config and a sample http request from a client going to 
sogo on 127.0.0.1:2 ?


You can use tcpflow -c -i lo port 2 for that.
(take care to remove the cookie before posting this)
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Problems with Samba4 Provisioning ....

2013-08-19 Thread Jean Raby

On 13-08-19 11:50 AM, raymondpotgie...@telkomsa.net wrote:


Delete your /usr/local/samba directory and re-provision


--Original Message--
From: stev...@cinergymetro.net
To: users@sogo.nu
ReplyTo: users@sogo.nu
Subject: [SOGo] Problems with Samba4 Provisioning 
Sent: Aug 19, 2013 5:04 PM

When running the Samba4 Configuration on pg. 10 of the 'Native Microsoft
Outlook' PDF

samba-tool domain provision --realm=meadorandco \
--domain=meadorandco.com \
--adminpass='%1OpenChange' \
--server-role='domain controller'

Everything completes but there's an 'acl_attr' error:

Error loading module '/usr/lib/x86_64-linux-gnu/samba//vfs/acl_xattr.so':
/usr/lib/x86_64-linux-gnu/samba//vfs/acl_xattr.so: cannot open shared object
file: No such file or directory

I've made sure to install 'acl' and 'attr' but no difference.

Is this VFS module required?  And, is there a fix for the error?
It shouldn't be required. The error is known: 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696838


Somewhere I've read that altering the 'fstab' is required?


that would be surprising.
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Uncaught exception

2013-08-14 Thread Jean Raby

On 13-08-14 1:30 PM, Szládovics Péter wrote:

2013-08-14 19:18 keltezéssel, Ludovic Marcotte írta:

On 2013-08-14 11:05 AM, Szládovics Péter wrote:

As far as I excperienced - Thunderbird the one and only MUA for using the
most features (with lot of extensions), but neither the sharing resources.

Not sure what you mean here but if you install the SOGo Integrator extension
in Thunderbird, you can do everything SOGo Web can do regarding calendar
sharing from Thunderbird.


Once I tried the integrator, but it didn't give username from me (just password)
for authentication, and used the OS account. I use lot of mail accounts in one
Thunderbird.
Perhaps I was wrong, but I haven't tried it since that time.
the integrator uses the username from the default mail account to authenticate 
against the sogo server.

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


Re: [SOGo] Unable to delete folder

2013-08-10 Thread Jean Raby

On 13-08-09 4:18 PM, blynch wrote:


On Friday, August 9, 2013 20:08 GMT, Ludovic Marcotte  
wrote:


On 2013-08-09 4:06 PM, blynch wrote:

Not sure if the bottom piece is relevant

I asked for IMAP traffic, not HTTP.

--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  http://inverse.ca
Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)

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


  Oops sorry been a long day. Sogo and Dovecot live on the same server. Can you 
give me an example? I tried using tcpflow -c port 143 and I am not seeing 
anything happening when I attempt to delete.


depends on your sogo config, but it is likely using the loopback interface:
tcpflow -c -i lo port 143
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] SOGo 2.0 eats up to 100% mem and cpu

2013-08-08 Thread Jean Raby

On 13-08-08 4:24 AM, "Daniel Müller" wrote:

concerning: Version 2.0.0 (root@shiva 201209280016).

Please try to reproduce that problem with 2.0.7.

Also, to debug this kind of issues, it would be really helpful to enable 
SOGoDebugRequests and post your logfile.  The next step would be to isolate the 
query that makes sogo go crazy by analyzing the logs. Then, take a pcap of the 
traffic on port 2 and look for the query.


With that we should be able to replay the query and find the issue quickly.

Like MJ said, don't reply to a thread to start a new one,  simply send a new 
mail to users@.

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


Re: [SOGo] Two instances of sogod with a different configfile

2013-08-06 Thread Jean Raby

On 13-08-06 3:42 PM, ABBAS Alain wrote:

There is a way to pass on the daemon command line the configfile name ?


This is not possible at the moment.
You could however run both daemons as a different user. Each user could have 
their own ~/GNUstep/.GNUstepDefaults.


IMO we should support something like "sogod -f configFile". It should not be 
that hard either, someone just has to sit down and write the code for it.

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


[SOGo] Dropping support for ubuntu 11.10 (Oneiric)

2013-07-31 Thread Jean Raby

Hi all,

I wanted to let you know that we're about to stop building packages for ubuntu 
11.10 since it is not supported by canonical anymore.


Existing packages will still be available, but new releases won't support this 
EOL distro. If some of you are still running this, I can only recommend to 
upgrade ASAP ;-)


--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

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


Re: [SOGo] dpkg error while processing sogo-package (2.0.6b)

2013-07-02 Thread Jean Raby

On 13-07-02 11:06 AM, Davor Vusir wrote:

New install. No go. No ideas.
Regards
Davor
---
root@mail:~# apt-get install sogo sope4.9-gdl1-mysql
Reading package lists... Done
Building dependency tree
Reading state information... Done
sope4.9-gdl1-mysql is already the newest version.

new install, yet sope4.9-gdl1-mysql is already installed?


Suggested packages:
   nginx
The following NEW packages will be installed:
   sogo
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/3,954 kB of archives.
After this operation, 12.9 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
(Reading database ... 69845 files and directories currently installed.)
Unpacking sogo (from .../sogo_2.0.6b-1_amd64.deb) ...
install: invalid group `sogo'

somehow the sogo group wasn't created.  The code is pretty simple:

if [ "$1" == "install" ] || [ "$1" == "upgrade" ]; then

  if ! id sogo 1> /dev/null 2>&1; then
groupadd -f -r sogo
useradd -d /var/lib/sogo -g sogo -c "SOGo daemon" -s /usr/sbin/nologin -r 
sogo
  fi

...

The sogo user exists and the sogo group doesn't. create it and it should just 
work.  On new installs, it should work since the sogo user won't exist.



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


Re: [SOGo] FreeBSD port - LDAP authentication

2013-06-27 Thread Jean Raby

On 13-06-27 3:57 PM, Paul Pathiakis wrote:

cn=John Smith,ou=people,dc=company,dc=com  (Please note that I do not have a
container of uid.  Uid is attribute of the CN)

SOGoUserSources = (
   {
 type = ldap;
 CNFieldName = "cn";
 IDFieldName = "cn";
 UIDFieldName = "cn";
 baseDN = "ou=people,dc=company,dc=com";
 bindDN = "cn=sogo,ou=people,dc=company,dc=com";
 bindPassword = "qwerty";
 IMAPHostFieldName = ;
 canAuthenticate = YES;
 displayName = "Shared Addresses";
 hostname = "ldap://:389";
 id = public;
 isAddressBook = YES;
   }
);

I believe this is a major step in getting this work.


You need to use indirect binds:
 bindFields = (cn, uid);

Something like that:

SOGoUserSources = (
  {
type = ldap;
CNFieldName = "cn";
UIDFieldName = "uid";
bindFields = (cn, uid);
baseDN = "ou=people,dc=company,dc=com";
bindDN = "cn=sogo,ou=people,dc=company,dc=com";
bindPassword = "qwerty";
canAuthenticate = YES;
displayName = "Shared Addresses";
hostname = "ldap://:389";
id = public;
isAddressBook = YES;
  }
);

For more info, see page 19 of the configuration guide.



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


Re: [SOGo] ANN: SOGo v2.0.6

2013-06-27 Thread Jean Raby

On 13-06-22 2:03 AM, Jean Raby wrote:

On 13-06-22 1:49 AM, Raymond wrote:


Will there be a NEW (Zeg) with all the updates that we can test ?

yes


The new ZEG is now available from http://www.sogo.nu/english/downloads/zeg.html
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] This page cant be displayed

2013-06-27 Thread Jean Raby

On 13-06-26 11:24 AM, Terry Welch wrote:

Thanks for the quick reply. I fixed the bindDn to where I no longer get the
Invalid credentials error, but in my sogo.log file it still says:

192.1.1.237 - - [26/Jun/2013:01:26:13 GMT] "GET /SOGo/ HTTP/1.1" 302 0/0 0.164 -
- 5M
192.1.1.237 - - [26/Jun/2013:01:26:13 GMT] "GET /SOGo/user HTTP/1.1" 302 0/0
0.003 - - 40K
192.1.1.237 - - [26/Jun/2013:01:26:13 GMT] "GET /SOGo/user/view HTTP/1.1" 302
0/0 0.004 - - 16K

SOGo is returning a 302 redirect when you hit /SOGo/user/view and then there's 
nothing else. Can you check to which URL sogo tries to redirect the browser?


You could either use browser based tools to do this, or dump the http traffic 
sent from sogo (tcpflow -c -i lo src port 2)



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


Re: [SOGo] FreeBSD port - LDAP authentication

2013-06-27 Thread Jean Raby

Hi Paul,

here's a few hints:


2013-06-26 16:30:54.652 sogod[68616] -[NGLdapConnection 
_searchAtBaseDN:qualifier:attributes:scope:]: search with at base ��N filter 
��N for attrs �OM
2013-06-26 16:30:54.653 sogod[68616] -[NGLdapConnection 
_searchAtBaseDN:qualifier:attributes:scope:]: search with at base  filter ��N 
for attrs �OM
2013-06-26 16:30:54.656 sogod[68616] -[NGLdapConnection 
_searchAtBaseDN:qualifier:attributes:scope:]: search with at base ��N filter 
��N for attrs �OM


Don't mind those, the ldap debugging code in SOPE doesn't work too well as you 
can see.




Jun 26 16:30:54 sogod [68616]: <0x09DF6EC8[SOGoUserFolder]:sogo> baseURL: 
name=sogo (container=SOGo)
  container: /SOGo -- http://team.atlantisservices.net/SOGo/so/sogo/Mail/view
  own: /SOGo/so/sogo
Jun 26 16:30:54 sogod [68616]: <0x0x80c171568[NGLdapConnection]> Using 
ldap_initialize for LDAP URL: ldap://:389
2013-06-26 16:30:54.727 sogod[68616] -[NGLdapConnection 
_searchAtBaseDN:qualifier:attributes:scope:]: search with at base ��N filter 
��N for attrs �OM
2013-06-26 16:30:54.729 sogod[68616] WARNING: IMAP4 connection pooling is 
disabled!
Jun 26 16:31:54 sogod [68615]: [WARN] <0x0x809cc3568[WOWatchDogChild]> pid 
68616 has been hanging in the same request for 1 minutes
Jun 26 16:32:54 sogod [68615]: [WARN] <0x0x809cc3568[WOWatchDogChild]> pid 
68616 has been hanging in the same request for 2 minutes


From this, I would say that the LDAP requests worked, but that SOGo is somehow 
waiting for the imap server.  One thing you could do is looking at the LDAP 
queries to make sure that they return the expected results. You can do this by 
either dumpimg the ldap traffic using tcpdump/wireshark, or by enabling query 
logging on the LDAP side (olcLogLevel: stats).


Is there any relevant information in the imap server logs?  You could also try 
to dump the imap traffic to see what is going on.


You could also attach to the "hanging" process using a process tracer (ktrace, 
truss) and see which system call it is blocking on. If the process blocks while 
doing operations on a filedescriptor, you'll need to use lsof to map the fd the 
a real file (or socket).





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


[SOGo] ANN: SOGo 2.0.6a

2013-06-25 Thread Jean Raby

Hi,

we've just released a minor update (2.0.6a) with a bugfix related to CAS:

  - Added CASLogoutRequestMap.plist which was missing in 2.0.6

Some minor documentation fixes have also gone in. See 
https://github.com/inverse-inc/sogo/commits/SOGo-2.0.6a for the complete changelog.


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


Re: [SOGo] ANN: SOGo v2.0.6

2013-06-21 Thread Jean Raby

On 13-06-22 1:49 AM, Raymond wrote:


Will there be a NEW (Zeg) with all the updates that we can test ?

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


Re: [SOGo] Install sogo 2.0 with a cyrus imap server 2.2

2013-06-07 Thread Jean Raby

On 13-06-07 5:37 AM, Jf wrote:

Hi

Hi

I want to updrade my sogo 1.3 to sogo 2.0 on my debian
but in the recommendations it's said server cyrus 2.3

Can I can still make the upgrade without too much risk ?

If it works with 1.3.x, it should continue to work with 2.x. There are some 
specific requirement if you use the outlook compatibility, but for the web only 
you should be just fine.

Thanks


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


Re: [SOGo] ANN: SOGo v2.0.5

2013-05-28 Thread Jean Raby

On 13-05-28 9:08 PM, Steve Ankeny wrote:

adam@sogo: sudo -u sogo sogo-tool dump-defaults > /etc/sogo/sogo.conf
-bash: /etc/sogo/sogo.conf: Permission denied
adam doesn't have the write permission on /etc/sogo so this is expected. run 
this command as root and it will work just fine.


sudo -i
sudo -u sogo sogo-tool dump-defaults > /etc/sogo/sogo.conf

As for integrator, you'll have to customize it before it works for your site. 
See the thunderbird config guide: 
http://www.sogo.nu/files/docs/SOGo%20Mozilla%20Thunderbird%20Configuration.pdf

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


Re: [SOGo] dovecot problem with sogo!

2013-05-24 Thread Jean Raby

Hi,
On 13-05-24 11:55 AM, MyName IsLive wrote:

2013-05-23 10:37:17 imap-login: Info: Login: user=, method=PLAIN,
rip=127.0.0.1, lip=127.0.0.1, mpid=11924, secured
2013-05-23 10:37:17 imap(majidfazel): Error: user majidfazel: Couldn't drop
privileges: User is missing UID (see mail_uid setting)
2013-05-23 10:37:17 imap(majidfazel): Error: Internal error occurred. Refer to
server log for more information.


Dovecot is misconfigured, you'll need to set mail_uid as the erreor message 
says.
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] SOGo Installed fine but no service to run and no user in passwd

2013-05-22 Thread Jean Raby

On 13-05-20 11:23 AM, Francesco Sport wrote:

So, I don't have the same path, dir and file on opensuse.
Is it possible create correctly the sogo user in another way?


OpenSuse?
Have a look at sogo.spec for RHEL in the source repository, you will find all 
you need to know in the install scripts (user creation, permissions, etc..)



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


Re: [SOGo] Filter LDAP Sogo 2.0.5 don't work

2013-05-21 Thread Jean Raby

On 13-05-21 12:41 PM, Fernando Moreni wrote:


Once updated the sogo 2.0.2 to 2.0.5, no one can log into sogo more.
I'm using multi-domain.
Please post the relevant log entries from sogo.log and the (erroneous) LDAP 
requests that sogo makes.


Without this, it is impossible to help.

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


Re: [SOGo] Cookie validity

2013-05-15 Thread Jean Raby

On 13-05-15 8:48 AM, Albert Shih wrote:

So how can I disable this « feature » ? Or put some time limit on those
cookie


While not the solution you're looking for, You can use a cronjob to cleanup 
inactive sessions:


For example, to cleanup sessions older than 60 minutes:
* * * * *  sogo/usr/sbin/sogo-tool expire-sessions 60

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


Re: [SOGo] Samba lost mysql connection

2013-05-13 Thread Jean Raby

On 13-05-13 4:35 AM, Fabio Onorini wrote:

Hello sogo users,
every morning I need to restart samba service on my sogo test server.

Without this operation, I can't connect with outlook.
This is only test server, that not receive or send mail during night.
this is really strange and looks like bug #2303 
(http://sogo.nu/bugs/view.php?id=2303 - sorry this is in french)


Can you get a pcap of the communication between samba(sogo) and mysql?
Use tcpdump to capture traffic while the communication works, let it run over 
night, and the reproduce the problem the next morning, then stop the capture.


Then send me the pcap in private.

Also, can you paste a few more lines of contexts from the samba log? (50 lines 
above what you showed would be helpful)


Thanks.



Today I see this rows in samba log:

2013-05-13 07:54:10.841 samba[2436]  SQL: SELECT count(*) FROM socfs_sogo1;
2013-05-13 07:54:10.861 samba[2436]  ERROR: MySQL server has gone away
2013-05-13 07:54:10.861 samba[2436]  SQL: CREATE TABLE socfs_sogo1 ( c_path VARCHAR(255)
PRIMARY KEY, c_parent_path VARCHAR(255), c_type TINYINT NOT NULL, c_creationdate
INT NOT NULL, c_lastmodified INT NOT NULL, c_version INT NOT NULL DEFAULT 0,
c_deleted TINYINT NOT NULL DEFAULT 0, c_content LONGTEXT);
2013-05-13 07:54:10.861 samba[2436]ERROR: MySQL server has gone away
/usr/sbin/samba: Uncaught exception MAPIStoreIOException, reason: could not
create special table 'socfs_sogo1'
[2013/05/13 07:54:11,  0]
mapiproxy/servers/default/nspi/dcesrv_exchange_nsp.c:1394(dcesrv_exchange_nsp_unbind)
   dcesrv_exchange_nsp_unbind


Maybe with no activity on server, samba lost connection with mysql and need
restart to work correctly.

Any suggestion?

--
---
Fabio Onorini


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


Re: [SOGo] FreeBSD port - LDAP authentication

2013-05-09 Thread Jean Raby




I can bind anonymously with the pam_ldap service and with the sogo user from
the command line to the remote ldap service.  However, when trying to login
from the SOGO Web GUI, I get the 'Wrong User Name or Password" error.

The sogo log file has:

May 08 16:59:48 sogod [6910]: <0x0x809dd61f8[NGLdapConnection]> Using
ldap_initialize for LDAP URL: ldap://:389
May 08 16:59:48 sogod [6910]: <0x0x809ed8b88[LDAPSource]>  NAME:LDAPException REASON:operation bind failed: Invalid
credentials (0x31) INFO:{login = "cn=sogo,ou=people,dc=example,dc=com"; }
May 08 16:59:48 sogod [6910]: SOGoRootPage Login from '' for user
'sogo' might not have worked - password policy: 65535  grace: -1  expire: -1
bound: 0
May 08 16:59:48 sogod [6910]: |SOGo| request took 0.018914 seconds to execute
 - - [08/May/2013:16:59:48 GMT] "POST /SOGo/connect HTTP/1.1" 403
34/56 0.021 - - -

Can you post the logs of these connections from the openldap side?

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


Re: [SOGo] Upgrade from 2.0.4b

2013-05-06 Thread Jean Raby

On 13-05-04 5:35 PM, Sogo Thailand wrote:


Hi all,
  I am currently using sogo 2.0.4b on SME server 8 for a while. I wish to 
upgrade sogo to the lastest version.

I read the wiki at http://wiki.contribs.org/Sogo#Upgrade. Can anyone confirm me 
that my old email and users account will still be available after I use 
following command?


yum update --disablerepo=* --enablerepo=sogo
/etc/rc7.d/S85sogod restart



upgrading sogo won't touch your email or your user accounts, so don't worry. 
However, you must also upgrade all sope packages and you should read the NEWS 
file, or the release announcement. 
(https://inverse.ca/sogo/lists/arc/users/2013-04/msg00169.html)


You should also have a look at the 'Upgrading' section in the doc: 
http://www.sogo.nu/files/docs/SOGo%20Installation%20Guide.pdf




Thank you,

Somsak



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


Re: [SOGo] LDAP GROUP ADDRESS is not showing in contact.list

2013-04-25 Thread Jean Raby

On 13-04-25 8:08 AM, Ravi Kanchan wrote:

Hi,

I have configured the SOGO. The user email is showing in list but group mail
address is not showing there.can anyone helpme. my sogo configuration is given
below.

Start by using a different 'id' for each address book.

--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

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


Re: [SOGo] Single baseDN and scope=sub

2013-04-23 Thread Jean Raby

On 13-04-23 3:11 PM, Marcio Merlone wrote:

If I set only one source it tries to auth like uid=john,dc=foo instead of
uid=john,ou=People,dc=foo even with scope = sub:

SOGoUserSources = (
{
 .
 baseDN = "dc=foo";
 canAuthenticate = YES;
 isAddressBook = YES;
 scope = sub;
 ..
}
);

Apr 23 15:38:42 sogod [24792]: <0x0x7f82981c4fe0[LDAPSource]>  NAME:LDAPException REASON:operation bind failed: Invalid
credentials (0x31) INFO:{login = "uid=john,dc=foo"; }

Any suggestions?

If you want to do that, you'll have to use indirect binds.
Add this to your user source:
  bindFields = (uid);

Sogo should then bind to LDAP using the bindDN and then search the directory for 
uid=username under dc=foo.


Not sure if it will accomplish what you're trying to do, but you should at least 
be able to bind to the directory.


--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

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


Re: [SOGo] SOGo proxy error after upgrade to 2.0.5a

2013-04-23 Thread Jean Raby

On 13-04-23 11:55 AM, tomkow...@interia.pl wrote:

<0x0x8a2e0c4[WOWatchDogChild]> child 12632 exited
<0x0x8a2e0c4[WOWatchDogChild]>(terminated due to signal 11)


Have you upgraded all the sope packages?


--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

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


Re: [SOGo] LDAP filter question

2013-04-23 Thread Jean Raby

On 13-04-23 10:15 AM, Paul van der Vlis wrote:

Hello,

I use LDAP authentication on a server, but there are some users in LDAP
who I don't want to give access to Sogo.

They should be easy to filter, because they don't have an e-mail
address. Do you have an idea how to filter this?

This does not work:
filter = "(!(mail=''))";
filter = "(!(mail=))";
filter = "(!(mail='*@*'))";
filter = "(!(mail=*@*))";



Do the opposite, add a filter to include all users with a mail attribute:
  filter = "mail = '*'";

--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

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


Re: [SOGo] SOGo proxy error after upgrade to 2.0.5a

2013-04-23 Thread Jean Raby

On 13-04-23 9:34 AM, tomkow...@interia.pl wrote:

Hi,

My SOGo installation work on Centos with Apache (httpd). And after upgrade to
new version 2.0.5a (from 2.0.4) I have a problem with adding and modifying
calendar events.

I receive error 502 (Proxy Error) - The proxy server an invalid response from
an upstream server (error reading from remote server). I try many tricks, but
after 2 days SOGo still doesn't work. So please help with configuration.

Is there anything relevant in sogo.log when this happens?
Does it occur for a specific event, or does it crash on all of them?
If it is a single event, you could try posting the event's raw source 
(right-click + raw source)



--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

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


Re: [SOGo] ANN: SOGo 2.0.5a

2013-04-17 Thread Jean Raby

On 13-04-17 9:30 AM, Jean Raby wrote:

we've just released a minor update (2.0.5a)


A new ZEG has been uploaded, you can get it here:
  http://www.sogo.nu/downloads/zeg.html

For those who downloaded the original 2.0.5 ZEG, you'll need to upgrade the sogo 
packages in order to be able to sync contacts and tasks from Outlook:


  apt-get update && apt-get install sogo sogo-dbg sogo-openchange

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


[SOGo] ANN: SOGo 2.0.5a

2013-04-17 Thread Jean Raby

Hi,

we've just released a minor update (2.0.5a) with some bug fixes:

 - Fixed an issue when parsing user CN with leading or trailing spaces (#2287)
 - Fixed a crash that occurred when saving contacts or tasks via Outlook

The Thunderbird extensions have also been regenerated.

See http://www.sogo.nu/bugs/changelog_page.php?project_id=1 for closed tickets 
and github.com for the complete change log:


 - https://github.com/inverse-inc/sogo/commits/SOGo-2.0.5a

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


Re: [SOGo] Problem with sogo-connector 17.0.4

2013-04-16 Thread Jean Raby

On 13-04-16 3:16 PM, Miles Lott wrote:

What we do in this case is to rename the file and adjust the updates.php to use,
e.g. 17.0.4a for the new version.
If you do that, you'll have to update the install.rdf file in the extension and 
set the proper version there.




On 04/16/2013 09:19 AM, Michael wrote:

OK but how will sogo-integrator know to automatically update clients if the
version is the same?

On 17/04/2013 12:03 AM, Ludovic Marcotte wrote:

On 16/04/13 10:02, Michael wrote:

Hi. this is a fairly major bug, especially when setting up new users and
importing data.

I just checked sogo.nu and the upload date and version hasn't changed for
the sogo-connector.

Can we expect the fix in a 17.0.5 version on sogo.nu soon?


I said I put the new XPI, by overwriting the old file.


--
Regards, Michael.




Privileged, Proprietary and/or Confidential Information may be contained in
this electronic message.  If you are not the intended recipient, you should
not copy it, re-transmit it, use it or disclose its contents, but should
kindly return to the sender immediately and delete your copy from your system.
Gulf Interstate Engineering Company does not accept responsibility for
changes made to this electronic message or its attachments.



--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

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


Re: [SOGo] not sure how to add values to /etc/sogo/sogo.conf

2013-04-15 Thread Jean Raby

On 13-04-15 3:23 PM, Szládovics Péter wrote:

I'm not sure it's working as well, but try free this bash script to
convert GNUstep defaults (created by defaults write sogod) to
/etc/sogo/sogo.conf format.

This script only reads the XML file and displays the .conf format to the
screen (can be redirect to file).

wait wait wait

do this:
  sudo -u sogo sogo-tool dump-defaults


--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

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


Re: [SOGo] not sure how to add values to /etc/sogo/sogo.conf

2013-04-15 Thread Jean Raby

On 13-04-15 4:42 AM, Wesley Sangster wrote:

Hi Guys

I am busy with a fresh installation of SOGo 2.0.5-1, I am struggling with the
new conf file, the old versions used GNUStep, now you can't even log into the
sogo user. I have tried adding the values manually but I get the following error
restarting the sogo service;
the sogo user is now a 'system' user, with 'nologin' as a shell, so this is 
expected.


<0x0x7f38e4572070[SOGoStartupLogger]> Cannot read configuration from
'/etc/sogo/sogo.conf'. Aborting

My config is below;

{
SOGoTimeZone = Africa/Johannesburg;
SOGoMailDomain = macrobert.co.za;
SOGoLanguage = English;
SOGoAppointmentSendEMailNotifications = YES;
SOGoFoldersSendEMailNotifications = YES;
SOGoACLsSendEMailNotifications = YES;
SOGoLoginModule = mail;
SOGoSieveScriptsEnabled = YES;
SOGoSieveServer = sieve://127.0.0.1:4190;
SOGoVactionEnabled = YES;
SOGoMailMessageCheck = every_1_minutes;
SOGoFirstDayOfWeek = 1;
SOGoSuperUsernames = (administrator);
OCSFolderInfoURL = "mysql://sogo:password@127.0.0.1:3306/sogo/sogo_folder_info
<http://sogo:password@127.0.0.1:3306/sogo/sogo_folder_info>";
SOGoProfileURL = "mysql://sogo:password@127.0.0.1:3306/sogo/sogo_user_profile
<http://sogo:password@127.0.0.1:3306/sogo/sogo_user_profile>";
OCSSessionsFolderURL =
"mysql://sogo:password@127.0.0.1:3306/sogo/sogo_sessions_folder
<http://sogo:password@127.0.0.1:3306/sogo/sogo_sessions_folder>";
SOGoUserSources = (
 {
canAuthenticate = YES;
isAddressBook = YES;
type = sql;
id = users  

There's a ';' missing here.

displayName = "SOGo Users";
userPasswordAlgorithm = md5;
viewURL = "mysql://sogo:password@127.0.0.1:3306/sogo/sogo_users
<http://sogo:password@127.0.0.1:3306/sogo/sogo_users>";

 }
);
SOGoMailingMechanism = smtp;
SOGoSMTPServer = 127.0.0.1;
SOGoDraftsFolderName = Drafts;
SOGoSentFolderName = Sent;
SOGoTrashFolderName = Trash;
SOGoIMAPServer = 127.0.0.1;
}

Is there a command for sogo-tool to insert the values into the conf file like
the defaults write used to? If so can someone provide an example with the
SOGoDraftsFolderName key.
No, sogo-tool is not designed for that. If you really want to keep the old 
behavior, leave your defaults  into ~sogo/GNUstep/Defaults/.GNUstepDefaults and 
continue to use 'defaults' to mangle^Wmanage your config. It will work as it 
used to.


As for the SOGoDraftFolderName key, the syntax in the config file above is just 
fine, so it should work once you add a semi-colon at the end of the 'id' line.


Any help would be greatly appreciated!

Wesley



--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

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


Re: [SOGo] ANN: SOGo v2.0.5

2013-04-12 Thread Jean Raby

On 13-04-12 10:00 AM, Steve Ankeny wrote:


The announcement said the update was minor but described changing where
user defaults are stored.

Ludovic gave explicit instructions on moving the configuration, but I will
backup my existing configuration and wait until a more opportune
time to make the changes, as we're an accounting office.
The change is actually pretty minor. Both configuration style are still 
supported, but we now recommend using /etc/sogo/sogo.conf since it is easier to 
read.


I presume there's no update to SOPE though there are new Integrator and
Connector extensions.

Sope was updated, so you need to upgrade its packages too.


--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

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


Re: [SOGo] ANN: SOGo v2.0.5

2013-04-12 Thread Jean Raby

On 13-04-11 4:02 PM, Jean Raby wrote:

Is an updated ZEG coming soon?

Friday

The new ZEG is available here: http://www.sogo.nu/english/downloads/zeg.html

--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

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


Re: [SOGo] Task creation

2013-04-12 Thread Jean Raby

On 13-04-12 8:23 AM, Ronald J. Yacketta wrote:

No, users with this issue do not see tasks via webUI or calDAV


Then have a look at the logs, there's probably something wrong when the user 
creates a new task.


--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

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


Re: [SOGo] ANN: SOGo v2.0.5

2013-04-12 Thread Jean Raby

On 13-04-12 8:26 AM, Ronald J. Yacketta wrote:

Is their an accurate list of closed tickets for this release? not seeing which 
tickets are associated with
'fixed issue when modifying/deleting exceptions of recurring events'

http://www.sogo.nu/bugs/changelog_page.php?project_id=1

But it looks like this specific issue didn't have a ticket.

--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

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


Re: [SOGo] ANN: SOGo v2.0.5

2013-04-11 Thread Jean Raby

On 13-04-11 4:01 PM, ScottJ wrote:

Thanks Inverse team!

Is an updated ZEG coming soon?

Friday


--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

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


Re: [SOGo] Vacation / sieve scripts question

2013-04-11 Thread Jean Raby

On 13-04-11 1:58 PM, Vilius Baušys wrote:


The connection is refused.  localhost.localdomain.sieve is returning a tcp
reset.
I have no idea why it works when you telnet to the port...
Do you have iptables running on this host?

There is no iptables on host

I just noticed that telnet is using ipv6 to connect, just to test, try this:
   telnet 127.0.0.1 4190
Might guess is that it will bomb.


Yep!
Problem was in dovecot configuration:

protocol managesieve {
   listen = localhost:4190
}

should be

protocol managesieve {
   listen = *:4190
}


You probably don't want sieve to listen on *:4190
I'd recommend using 127.0.0.1:4190


Thank you Jean!

--
Vilius



--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

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


Re: [SOGo] Vacation / sieve scripts question

2013-04-11 Thread Jean Raby

On 13-04-11 12:57 PM, Vilius Baušys wrote:


192.168.1.167 - - [11/Apr/2013:19:53:41 GMT] "GET
/SOGo/so/v.pavarde...@domain.com/preferences
<http://v.pavarde...@domain.com/preferences> HTTP/1.1" 200 13812/0 0.016 58952
76% -32K
Apr 11 19:53:47 sogod [15169]: [ERROR] [we-rm] did not find locale for language:
Lithuanian
2013-04-11 19:53:47.058 sogod[15169] Sieve connection failed on
sieve://localhost:4190
192.168.1.167 - - [11/Apr/2013:19:53:47 GMT] "POST
/SOGo/so/v.pavarde...@domain.com/preferences
<http://v.pavarde...@domain.com/preferences> HTTP/1.1" 200 531/1942 0.008 - - 0

sudo tcpdump -i lo -X port 4190
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on lo, link-type EN10MB (Ethernet), capture size 65535 bytes
19:51:45.890627 IP localhost.localdomain.33313 > localhost.localdomain.sieve:
Flags [S], seq 592823452, win 32792, options [mss 16396,sackOK,TS val 3796466036
ecr 0,nop,wscale 7], length 0
0x: 4500 003c bde8 4000 4006 7ed1 7f00 0001 E..<..@.@.~.
0x0010: 7f00 0001 8221 105e 2355 c49c   .!.^#U..
0x0020: a002 8018 b95d  0204 400c 0402 080a .]@.
0x0030: e249 7974   0103 0307 .Iyt
19:51:45.890633 IP localhost.localdomain.sieve > localhost.localdomain.33313:
Flags [R.], seq 0, ack 592823453, win 0, length 0
0x: 4500 0028  4000 4006 3cce 7f00 0001 E..(..@.@.<.
0x0010: 7f00 0001 105e 8221   2355 c49d .^.!#U..
0x0020: 5014  375c  P...7\..


The connection is refused.  localhost.localdomain.sieve is returning a tcp 
reset.
I have no idea why it works when you telnet to the port...
Do you have iptables running on this host?
I just noticed that telnet is using ipv6 to connect, just to test, try this:
  telnet 127.0.0.1 4190
Might guess is that it will bomb.

run tcpdump -nn -X  next time to avoid the name resolution.




On Thu, Apr 11, 2013 at 7:48 PM, Jean Raby mailto:jr...@inverse.ca>> wrote:

On 13-04-11 12:10 PM, Vilius Baušys wrote:




On Thu, Apr 11, 2013 at 10:15 AM, Adi Kriegisch mailto:a...@cg.tuwien.ac.at>
<mailto:a...@cg.tuwien.ac.at <mailto:a...@cg.tuwien.ac.at>>> wrote:

 You know that this is just a base64 encoded version of your
username with
 your plain text password, right?
 In other words:
| echo AHYucGF2YXJkZW5pc0Bla3NwbGEuY2__9tAGFiY2RhYmNk | base64 
-d


I understand that. Does sogo connect to sieve diferent way?

Folowed by Jean sugestion

tcpdump -i lo -X port 4190

15:36:11.358993 IP localhost.localdomain.58568 >
localhost.localdomain.sieve: Fl
ags [S], seq 3006656986, win 32792, options [mss 16396,sackOK,TS val
3781131504
ecr 0,nop,wscale 7], length 0
0x: 4500 003c 8d2a 4000 4006 af8f 7f00 0001 E..<.*@.@...
0x0010: 7f00 0001 e4c8 105e b335 f1da   ...^.5..
0x0020: a002 8018 9705  0204 400c 0402 080a ..@.
0x0030: e15f 7cf0   0103 0307 ._|.

While  tcpdump -i lo -X port 143
   15:58:36.408667 IP localhost.localdomain.54635 >
localhost.localdomain.imap2:
Flags [S], seq 3219743439 , win 32792, options [mss
16396,sackOK,TS val
3782476553 ecr 0,nop,wscale 7], length 0
  0x:  4500 003c 61c6 4000 4006 daf3 7f00 0001  
E..mailto:jr...@inverse.ca>  :: +1.514.447.4918
 (x120) :: www.inverse.ca <http://www.inverse.ca>
Inverse inc. :: Leaders behind SOGo (www.sogo.nu <http://www.sogo.nu>) and
PacketFence (www.packetfence.org <http://www.packetfence.org>)
    --
users@sogo.nu <mailto:users@sogo.nu>
https://inverse.ca/sogo/lists





--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

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


Re: [SOGo] Task creation

2013-04-11 Thread Jean Raby

On 13-04-11 9:23 AM, Christian Mack wrote:

Hello Ronald J. Yacketta


Am 2013-03-26 14:06, schrieb Ronald J. Yacketta:

Is their anything specific regarding task creation permissions / ability to 
create them?
Have a couple users who create tasks and they do not show in the task tab or 
anywhere else, can not even search for them.

Just wondering if their is some configuration / setting I have over looked 
before I start trapping log entries for analysis



We also see that with some users.
But others are working with tasks without any problems on the same
system/domain.
We don't know what distinguishes the two groups though.

If you find anything, please let us know.


When it happens, can you see the news tasks via dav?


Kind regards,
Christian Mack




--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

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


Re: [SOGo] Vacation / sieve scripts question

2013-04-11 Thread Jean Raby

On 13-04-11 12:10 PM, Vilius Baušys wrote:




On Thu, Apr 11, 2013 at 10:15 AM, Adi Kriegisch mailto:a...@cg.tuwien.ac.at>> wrote:

You know that this is just a base64 encoded version of your username with
your plain text password, right?
In other words:
   | echo AHYucGF2YXJkZW5pc0Bla3NwbGEuY29tAGFiY2RhYmNk | base64 -d


I understand that. Does sogo connect to sieve diferent way?

Folowed by Jean sugestion

tcpdump -i lo -X port 4190

15:36:11.358993 IP localhost.localdomain.58568 > localhost.localdomain.sieve: Fl
ags [S], seq 3006656986, win 32792, options [mss 16396,sackOK,TS val 3781131504
ecr 0,nop,wscale 7], length 0
0x: 4500 003c 8d2a 4000 4006 af8f 7f00 0001 E..<.*@.@...
0x0010: 7f00 0001 e4c8 105e b335 f1da   ...^.5..
0x0020: a002 8018 9705  0204 400c 0402 080a ..@.
0x0030: e15f 7cf0   0103 0307 ._|.

While  tcpdump -i lo -X port 143
  15:58:36.408667 IP localhost.localdomain.54635 > localhost.localdomain.imap2:
Flags [S], seq 3219743439, win 32792, options [mss 16396,sackOK,TS val
3782476553 ecr 0,nop,wscale 7], length 0
 0x:  4500 003c 61c6 4000 4006 daf3 7f00 0001  E..

Please post the complete tcp exchange, this is only the first packet.
If there's nothing else, then there's a problem at the TCP level since the sieve 
server didn't reply to the syn packet.

--
Vilius







--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

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


Re: [SOGo] Vacation / sieve scripts question

2013-04-11 Thread Jean Raby

On 13-04-11 3:15 AM, Adi Kriegisch wrote:

You know that this is just a base64 encoded version of your username with
your plain text password, right?
In other words:
   | echo AHYucGF2YXJkZW5dpc0Bla3NwbGEuY29tAGFiY2RdhYmNk | base64 -d

Why exactly are you posting this to the list?

I mean, if the guy actually posted his real credentials to the list, the last 
thing he'd want is having someone reminding every subscriber how to get the 
plain text. No?


--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

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


Re: [SOGo] Vacation / sieve scripts question

2013-04-10 Thread Jean Raby

On 13-04-10 1:59 PM, Vilius Baušys wrote:

I believe there is some misconfiguration in sogo. But cannot find out what I did
wrong. How can I debug sogo connection to sieve?


Try to sniff the connection using either tcpdump -X  or tcpflow -c -i lo port 
4190

that should give a good insight.

--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

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


Re: [SOGo] samba crash

2013-04-08 Thread Jean Raby

On 13-04-07 2:22 PM, Gerhard W. Recher (privat) wrote:

Hi List

Hi,

i have no Idea why

happens on first sync of a outlook 2010 client... aprox 1hour of
sync...and this client is rendered useless...



One thing that could help is adding the 'panic action' to the samba 
configuration in order to get a gdb backtrace if samba panics.


To do so, fetch the gdb_backtrace script from the samba git repo and make sure 
it is executable:


  curl 
'http://git.samba.org/?p=samba.git;a=blob_plain;f=selftest/gdb_backtrace;hb=HEAD' >/usr/local/bin/gdb_backtrace

  chmod +x /usr/local/bin/gdb_backtrace

Then add the following line to the [global] section of smb.conf:

  panic action = /usr/local/bin/gdb_backtrace %d

This will log a backtrace in the samba log whenever it crashes.

Also, make sure to install the following packages in order to get a meaningful 
trace:

 openchangeserver-dbg sogo-dbg sope4.9-dbg

Hopefully we'll be able to catch the bug with this.



--Gerhard



[2013/04/07 20:24:46, 0] ../lib/util/util.c:457(dump_data)
[] 00 00 04 00 0D 00 0D 00 09 00 4E 00 00 BE BA C0  ..N.
[0010] 7B 0E 00 00 00 {
[2013/04/07 20:24:46, 0]
mapiproxy/servers/default/emsmdb/dcesrv_exchange_emsmdb.c:682(EcDoRpc_process_transaction)
MAPI Rop: 0x4e (0)
Apr 07 20:24:46 samba [27888]: <0x0x176a1f0[NGLdapConnection]> Using
ldap_init (deprecated) for LDAP host:port 127.0.0.1:389
2013-04-07 20:24:46.453 samba[27888] -[NGLdapConnection
_searchAtBaseDN:qualifier:attributes:scope:]: search with at base filter
for attrs
[2013/04/07 20:24:46, 0] ../lib/util/fault.c:72(fault_report)
===
[2013/04/07 20:24:46, 0] ../lib/util/fault.c:73(fault_report)
INTERNAL ERROR: Signal 11 in pid 27888 (4.0.1)
Please read the Trouble-Shooting section of the Samba HOWTO
[2013/04/07 20:24:46, 0] ../lib/util/fault.c:75(fault_report)
===
[2013/04/07 20:24:46, 0] ../lib/util/fault.c:144(smb_panic_default)
PANIC: internal error


dpkg --list openc*
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler:
GROSS=schlecht)
||/ Name Version Beschreibung
+++-===-===-==
ii openchange-ocsmanager 1:2.0.r3665-1~inverse1. Working instance of
python-ocsmanager
ii openchange-rpcproxy 1:2.0.r3665-1~inverse1. A RPC-over-HTTP
implementation for Samba, using wsgi
ii openchangeproxy 1:2.0.r3665-1~inverse1. Experimental MAPI
(Exchange/Outlook) proxy
ii openchangeserver 1:2.0.r3665-1~inverse1. Experimental MAPI
(Exchange/Outlook) server
root@sogo:/var/lib/samba/private/mapistore/martina# dpkg --list samba4*
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler:
GROSS=schlecht)
||/ Name Version Beschreibung
+++-===-===-==
ii samba4 4.0.1+dfsg1-1 SMB/CIFS file, NT domain and active directory
server (version
un samba4-clients  (keine Beschreibung vorhanden)
un samba4-common  (keine Beschreibung vorhanden)
ii samba4-common-bin 4.0.1+dfsg1-1 Samba 4 common files used by both the
server and the client
root@sogo:/var/lib/samba/private/mapistore/martina#




--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

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


Re: [SOGo] Cannot get SOGo/OpenChange working with Cyrus-IMAP

2013-04-06 Thread Jean Raby

On 13-04-06 9:38 AM, lloydsystems wrote:

Hi Jean,

Thanks very much for your response.  I created a sogo.conf file from the output
of the 'sogo-tool dump-defaults' and it works!  I found by trial and error it
accepts C-style comments too.
I didn't know that dictionaryWithContentsOfFile would ignore lines with C-style 
(/* ... */) comments.

Thanks for pointing this out.


Thanks also for the tip about running imapd with '-N' option.  That is
certainly better than using pwcheck_method = alwaystrue because, on EL, that
requires a rebuild of the SASL rpm to enable the option.  Should add it to the
documentation one day.

Yes indeed.


I also updated the openchange packages (3 of) to those on the nightly build
and, as you suggested, this fixed the 100% CPU usage problem with paster.

I ran the openchange_cleanup.py script and got the following output:

Logged in as 'testuser'
Traceback (most recent call last):
   File "./openchange_cleanup.py", line 254, in 
 main()
   File "./openchange_cleanup.py", line 88, in main
 sqlCleanup(username)
   File "./openchange_cleanup.py", line 229, in sqlCleanup
 OCSFolderInfoURL = getOCSFolderInfoURL()
   File "./openchange_cleanup.py", line 193, in getOCSFolderInfoURL
 sogoDefaults = plistlib.readPlist(sogoSysDefaultsFile)
   File "/usr/lib64/python2.6/plistlib.py", line 78, in readPlist
 rootObject = p.parse(pathOrFile)
   File "/usr/lib64/python2.6/plistlib.py", line 406, in parse
 parser.ParseFile(fileobj)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 1, column 0

so I'm not sure if it was successful.  I deleted the user profile and tried
Outlook again, but unfortunately I got the same result as before (as posted on
the 5th).  Outlook hangs at the splash screen for 12 minutes, then opens and
displays mail.  When it does the maillog shows testuser logged in on service
'imaplocal' (127.0.0.1).  If the authentication works, why does Outlook hang
for 12 minutes?


The script was not successful.
You have to update sogo to the nightly version too.
Or at least, grab the cleanup script for the git repo. The plistlib module can 
only read xml plists, so it will fail to parse sogo.conf.

The new version don't use that module anymore.

Do the steps again:
  update sogo to nigthly
  cleanup testuser
  restart samba
  new outlook profile


The apache logs are not much help.  The ocsmanager log shows little more than
service start/stop messages.  When Outlook does open it shows some messages
'client did not pass auth cookie'.  The samba log, just before Outlook hangs
shows this:

registered class 'MAPIStoreNotesContext' as handler of 'notes' contexts
registered class 'MAPIStoreFallbackContext' as handler of 'fallback' contexts
registered class 'MAPIStoreCalendarContext' as handler of 'calendar' contexts
registered class 'MAPIStoreOutboxContext' as handler of 'outbox' contexts
registered class 'MAPIStoreTasksContext' as handler of 'tasks' contexts
registered class 'MAPIStoreContactsContext' as handler of 'contacts' contexts
registered class 'MAPIStoreMailContext' as handler of 'mail' contexts
[ERROR] <0x0x2b3f868[NGLdapAttribute]> cound not convert value of objectGUID to
string
[ERROR] <0x0x3719c78[NGLdapAttribute]> cound not convert value of objectSid to
string
[WARN] <0x0x4517108[SOGoWebDAVAclManager]> entry '{DAV:}write' already exists
in DAV permissions table
[WARN] <0x0x4517108[SOGoWebDAVAclManager]> entry '{DAV:}write-properties'
already exists in DAV permissions table
[WARN] <0x0x4517108[SOGoWebDAVAclManager]> entry '{DAV:}write-content' already
exists in DAV permissions table
[ERROR] <0x0x4191128[NGLdapAttribute]> cound not convert value of objectGUID to
string
[ERROR] <0x0x4191888[NGLdapAttribute]> cound not convert value of objectSid to
string
WARNING: IMAP4 connection pooling is disabled!

Once Outlook opens there is reams of openchange-related junk written to the log
making it impossible to gather anything useful.  Looks more like programmers
debugging info than a log file.  Maybe this is of some help?

It is programmer debugging info, and the log file ;-)



Regards,

Stephen Jones




--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

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


Re: [SOGo] Cannot get SOGo/OpenChange working with Cyrus-IMAP

2013-04-05 Thread Jean Raby
e the same effect by using the '-N' flag for imapd (in 
cyrus.conf)


I tried again with Outlook, but this time it hangs at the splash screen.  It
will not open at all.  There is no information in the logs to tell me what is
happening.  Only in the maillog shows testuser successfully logged in from
127.0.0.1, and then connection closed, but the messages appear together only
when I cancel Outlook.

At that point, your outlook is probably messed up because of the non working 
imap access. I pushed a fix for this last month. (outlook would tell you right 
away that it can't access the mailstore).

The outlook profile would be hosed nonetheless...

To cleanup the profile, run the openchange_cleanup.py script that is shipped 
with sogo (or get it here: 
https://raw.github.com/inverse-inc/sogo/master/Scripts/openchange_cleanup.py)


Then create a new profile in outlook.


I also realised that the guide talks about Cyrus-IMAP 2.4, but the packaged EL
version is 2.3, so I found a stable 2.4 source RPM, built it and upgraded, but
nothing changed.  It works from SOGo web but not Outlook/OpenChange.

indeed, 2.4 is required. (outlook support requires QRESYNC and MODSEC)


I am really at a loss.  I am considering swapping Cyrus-IMAP for Dovecot, but
would rather not.  Yes, the Cyrus documentation woeful, which is probably why
people consider it difficult to use, but I think it’s solid and well suited
to virtual hosting.  Compared to Dovecot with its labyrinth of config files and
nested calls it doesn’t seem too bad to me.  But I don’t want to go to the
trouble of installing Dovecot and then find I have the same problem.


You don't need dovecot, cyrus should work just fine.

So, you should try this:

  - upgrade to the nightly packages (this will fix the paster 100% CPU issue)
  - Cleanup your user profiles with openchange_cleanup.py
  - create a new profile in outlook

You should also watch the logs for all components, that is:
  /var/log/samba/log.samba
  /var/log/ocsmanager/ocsmanager.log
  /var/log/https/error.log  (rpcproxy - if you use rpc over http)


If anyone has an explanation for this problem, or an example of a working setup
with Cyrus-IMAP, I would appreciate their help.

Regards,

Stephen Jones



Hope this helps.

--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

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


Re: [SOGo] Delegate user's mailbox

2013-04-05 Thread Jean Raby

On 13-04-05 7:51 AM, Szládovics Péter wrote:

2013-04-05 11:48 keltezéssel, Szládovics Péter írta:

2013-04-05 11:22 keltezéssel, Szládovics Péter írta:

2013-04-05 09:48 keltezéssel, Szládovics Péter írta:

2013-04-04 22:15 keltezéssel, Jean Raby írta:

Are you sure the ACL / shared mailbox setup is ok on the dovecot side?

Have a look here:http://wiki2.dovecot.org/SharedMailboxes/Shared
In particular, check the "Shared mailbox listing" section.

If this isn't setup properly, dovecot won't return the shared
mailboxes to SOGo,
SOGo won't have any way of knowing that the shared mailbox exists
(even if the user has access to it).

Thanks! It's missing.
I'll try it, and report the results.


Hmmm. I set it up, delegated some folder, but the other users folderlist
didn't see any changes.

/var/mail/shared-mailboxes.db has been created with 666 rights, and it
contains correct informations.

I tried to restart sogo service, but it didn't help.

I think there is some misconfigured thing yet... but where and what?


The problem there is at the IMAP side, because the thunderbird even see the
shared folders.

My dovecot config is:
...
Dovecot LDAP config:
...


My fault is:

###
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
}
###

This missing from my dovecoc.conf.

But a question:
Can I use the email address instead of username?

if you have a single domain, you could try adding  @domainname here:
prefix = shared/%%u@domainname/

Maybe I missed something, but the doc doesn't mention a variable for the mail 
address (http://wiki2.dovecot.org/Variables)




%% instead of %%u? On SOGo web UI is not problem, but under
Thunderbird I see only the pure username.



--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

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


  1   2   >