Re: [SOGo] Changing order of imap accounts?

2015-06-11 Thread Schifano Alexandre
I was asking myself the same question. I imagine there is no way to do
this through the UI, but maybe can we do this in the database ?

On 08/06/2015 12:04, ruud.van.l...@zonnet.nl wrote:
 Hi,
 
 I use SOGo to handle multiple imap accounts.
 The order of the accounts is the order in which they are created. Is it
 possible to change the order of the accounts? e.g. to have the last created
 account show up in the list as second?
 thanks in advance for any advise / tips.
 regards,
 Ruud.
 
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Sogo and MySQL problem

2015-04-08 Thread Schifano Alexandre
On 08/04/2015 22:45, Gilles Gagniard wrote: Hello !

 Same issue here. Are you still running your sogo install on centos 7
by any chance ?

 On my side the only significant change I did is to yum update, which
upgraded my box to the recently released centos 7.1, which among other
things updates mariadb from 5.5.35 to 5.5.41. Maybe you did that too
before restarting your server ...

 I tried to rebuild everything in case there is some binary
compatibility issue, but to no avail.

 Gilles


Hi,

I used CentOS 7. After my server reboot I did a yum update and I'm now
with a CentOS 7.1.
I tried the new binaries available in the SOGo repository, with the same
result.

On 08/04/2015 22:26, Steve Ankeny wrote:
 (1) What version of MariaDB are you using?
 
 (2) Are you using anything else such as Samba 4 LDAP with MariaDB?
 
 (3) What are you using for SOGoUserSources?
 
 I am using LDAP AD/Samba4 with MariaDB 10.0.17, and it's working fine.
 
 I rebooted over the weekend for a kernel upgrade, and I've had no problems.
 
 My SOGoProfileURL, OCSSessionsFolderURL etc. is essentially the same as
 yours.
 
 I had an issue creating the OpenChange MySQL user as
 'openchange-user'@'localhost' (as in the Outlook manual) as MariaDB did
 not like the single quotes.  Once I removed those, everything worked fine.
 
 I had thought that was the case with the SOGo MySQL user, but it was
 created without single quotes.
 
 I wonder if it has to do with the MariaDB version?
 

Hi,

I have MariaDB 5.5.41, with no LDAP and no Samba. My user
authentification is done throught the SQL backend.

 On 04/08/2015 03:55 PM, Jeroen Beerstra wrote:
 Exact same problem here, SOGo used to work just fine and now it doesn't.
 Tried everything I could think of, including altering db host user pwd
 and even recompiling since I´d seen some OS updates.

 also see mysql://localhost/sogo/sogo_sessions_folder in the sogo log,
 while this is defined and used to work as
 mysql://sogo:sogo@localhost:3306/sogo/sogo_sessions_folder

 This is driving me nuts :( Something is clearly broken, if only the log
 would provide some more clou...

 mvg,

 Jeroen Beerstra

 Op 08-04-15 om 15:35 schreef schif...@polytech.unice.fr:
 I tried this and it changed nothing.

 I read more carefully my logd and I saw this before the error previously
 quoted :
 Apr 08 17:12:52 sogod [992]: SOGoRootPage successful login from
 '127.0.0.1' for user 'USER' - expire = -1  grace = -1
 2015-04-08 15:12:52.871 sogod[992] ERROR((null)): could not allocate
 MySQL4 connection!
 Apr 08 15:12:52 sogod [992]: [ERROR]
 0x0x7f4529584700[GCSChannelManager]
 could not open channel MySQL4Channel[0x0x7f45298f63e0]
 connection=0x(null) for mysql://localhost/sogo/sogo_sessions_folder
 Apr 08 15:12:52 sogod [992]: [WARN]
 0x0x7f4529584700[GCSChannelManager]
   will prevent opening of this channel 5 seconds after 2015-04-08
 17:12:52
 +0200

 I have my OCSSessionsFolderURL well defined with username,
 password, and
 DB port, but it looks like this is not well setted in the running
 SOGo. Is
 there a way to get the config of the running SOGo ? And how can I
 correct
 this problem ?

 Best regards

 Hi,

 imho when you set IMAPLoginFieldName (see documentation for more
 explanation)  to your field which only returns the Given Name it would
 work.

 best regards

 Am Mittwoch, den 08.04.2015, 08:35 +0200 schrieb Schifano Alexandre:
 Hi,

 I'm facing to a very weird problem about SOGo and MySQL.
 I had a SOGo server working correctly with no problem, but I had to
 reboot the server. After that I restarted Sogod, MariaDB, memcache,
 Apache, and the other services, but now sogo is unable to use
 MySQL/MariaDB. I have this kind of error in my logs messages :

 2015-04-08 8:18:58.708 sogod[8174]  ERROR((null)): could not allocate
 MySQL4 connection!
 Apr 08 8:18:58 sogod [8174]: [ERROR]
 0x0x7f3a2c9564f0[GCSChannelManager] could not open channel
 MySQL4Channel[0x0x7f3a2ce4e490] connection=0x(null) for
 mysql://localhost/sogo/sogo_custom_users
 Apr 08 8:18:58 sogod [8174]: [WARN]
 0x0x7f3a2c9564f0[GCSChannelManager]   will prevent opening of this
 channel 5 seconds after 2015-04-08 8:18:58 +0200
 Apr 08 8:18:58 sogod [8174]: [ERROR] 0x0x7f3a2c8fb050[SQLSource]
 failed to acquire channel for URL:
 mysql://sogo:PASSWORD@localhost:3306/sogo/sogo_custom_users

 However :
 * it worked well before the reboot,
 * I am able to be connected to my db with mysql -h localhost -u sogo
 -p,
 * when I do telnet localhost 3306 I have a opened connection to
 MariaDB (the connection is accepted and there is a kind of welcome
 message)
 * the port used by MariaDB is still the same,
 * and I even configured iptable for having the 3306 port open to
 everybody.
 What did I forget ?

 Best regards

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


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


[SOGo] Sogo and MySQL problem

2015-04-08 Thread Schifano Alexandre
Hi,

I'm facing to a very weird problem about SOGo and MySQL.
I had a SOGo server working correctly with no problem, but I had to
reboot the server. After that I restarted Sogod, MariaDB, memcache,
Apache, and the other services, but now sogo is unable to use
MySQL/MariaDB. I have this kind of error in my logs messages :

2015-04-08 8:18:58.708 sogod[8174]  ERROR((null)): could not allocate
MySQL4 connection!
Apr 08 8:18:58 sogod [8174]: [ERROR]
0x0x7f3a2c9564f0[GCSChannelManager] could not open channel
MySQL4Channel[0x0x7f3a2ce4e490] connection=0x(null) for
mysql://localhost/sogo/sogo_custom_users
Apr 08 8:18:58 sogod [8174]: [WARN]
0x0x7f3a2c9564f0[GCSChannelManager]   will prevent opening of this
channel 5 seconds after 2015-04-08 8:18:58 +0200
Apr 08 8:18:58 sogod [8174]: [ERROR] 0x0x7f3a2c8fb050[SQLSource]
failed to acquire channel for URL:
mysql://sogo:PASSWORD@localhost:3306/sogo/sogo_custom_users

However :
* it worked well before the reboot,
* I am able to be connected to my db with mysql -h localhost -u sogo -p,
* when I do telnet localhost 3306 I have a opened connection to
MariaDB (the connection is accepted and there is a kind of welcome message)
* the port used by MariaDB is still the same,
* and I even configured iptable for having the 3306 port open to everybody.
What did I forget ?

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


Re: [SOGo] SOGo v3 status!

2015-04-02 Thread Schifano Alexandre
Hi,

I tried to login but I have a error message about a wrong
username/password with the three accounts.
I also try from my smartphone. I was unable to login too, but I saw one
problem : with the langage menu, I can't scroll down : when I try, I
scroll the whole page but not the menu, like in css with
position:fixed (my web browser is Opera Mobile v12.). It could have
been better to simply use a simple select menu.
In a general way please keep it simple with not to much JS. Less there
are shiny effects with JS, the more it will be accessible, to a maximum
of web browser.

Best regards



On 02/04/2015 19:34, Ludovic Marcotte wrote:
 Hello,
 
 As you most of you already know, we have been working on SOGo v3 for
 many months now.
 
 We initially decided to use AngularJS, Ionic and Foundation for the new
 web interface. After prototyping the address book and mail modules with
 both Ionic (for phones) and Foundation (desktops/tablets), we decided to
 review our choices.
 
 After more analysis, we decided to move away from dedicated templates
 for mobile devices (Ionic) and chose to build a responsive Web app with
 Angular Material (https://material.angularjs.org), the new shiny UI
 toolkit from the Angular team.
 
 Angular Material follows the Google's Material Design specification
 (http://www.google.com/design/spec/material-design/introduction.html).
 The set of components it has matches our requirements, they are
 nice-looking and easily themable. It also allows us to have one
 interface for phones, tablets and desktops.
 
 You can test the new v3 interface on http://demo.sogo.nu/SOGo/
 (sogo1/sogo2, sogo2/sogo2, sogo3/sogo3 username/password) with mobile
 phones, tablets or desktops. You'll see the GUI dynamically adjusting
 itself based on the device's screen size using flexbox. The address book
 and mail modules are quite usable. Don't spend too much time on the
 calendar module as we're actively working on it. We are also actively
 working on bringing the work we had completed with Ionic/Foundation -
 like calendar sharing dialogs, subscriptions dialogs and more. The
 preferences UI will also get properly formatted in the coming days - but
 it is working right now.
 
 As mentioned in the past, your comments and ideas are welcome! If you
 even want to test it on your own servers, you can compile it from our v3
 branch on github.
 
 Thanks and best regards,
 
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] An other ActiveSync configuration topic

2015-01-27 Thread Schifano Alexandre
Any ideas about my problem ?
Ludovic, did you check my capture ? I don't know the ActiveSync
protocole, so I don't know if there is something wrong in this capture.

On 24/01/2015 12:51, Schifano Alexandre wrote:
 On 22/01/2015 00:44, Ludovic Marcotte wrote:
 No but perhaps the device doesn't like the way the response from SOGo is
 structured. Take a capture on port 20 000 from your SOGo server when
 that happens and send it over privately.
 
 Capture sent. :)
 
 On an other hand, I also wanted to install Funambol for having SyncMl.
 However, I wasn't able to find the SOGo connector for this, and I didn't
 find any official documentation about it. Is SyncML with Funambol still
 supported ?
 Thank god no!

 Why not ? Is it so bad ?
 
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] An other ActiveSync configuration topic

2015-01-24 Thread Schifano Alexandre
On 22/01/2015 00:44, Ludovic Marcotte wrote:
 No but perhaps the device doesn't like the way the response from SOGo is
 structured. Take a capture on port 20 000 from your SOGo server when
 that happens and send it over privately.

Capture sent. :)

 On an other hand, I also wanted to install Funambol for having SyncMl.
 However, I wasn't able to find the SOGo connector for this, and I didn't
 find any official documentation about it. Is SyncML with Funambol still
 supported ?
 Thank god no!
 
Why not ? Is it so bad ?
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] An other ActiveSync configuration topic

2015-01-21 Thread Schifano Alexandre
Maybe should I provide more details.

As I said, I tried to add the ActiveSync support to my SOGo setup. So I
installed sogo-activesync and in my Apache configuration I uncommented
ProxyPass /Microsoft-Server-ActiveSync
http://127.0.0.1:2/SOGo/Microsoft-Server-ActiveSync retry=60
connectiontimeout=5 timeout=360. I did't change the ActiveSync SOGo
configuration, I put just more workers.
Next I tried to connect my Nokia E6 (with Nokia Bell) to SOGo by
ActiveSync. After having configured it, when I try to do a
synchronization, I have an error (which tells me Error of the Exchange
server. Retry later.).
On my server, in the logs, I can read :
2015-01-21 23:57:05.595 sogod[21352] -[WEClientCapabilities
initWithRequest:]: Unknown WebClient:
user-agent='NokiaE600/1.00(0)ActiveSync 3gpp-gba'
2015-01-21 23:57:05.603 sogod[21352] Sleeping 15 seconds while detecting
changes...
2015-01-21 23:57:20.606 sogod[21352] Sleeping 15 seconds while detecting
changes...
127.0.0.1 - - [21/Jan/2015:23:57:35 GMT] POST
/SOGo/Microsoft-Server-ActiveSync?User=usernameDeviceId=IMEIIMEIDeviceType=NokiaEmailCmd=Sync
HTTP/1.1 200 0/82 30.015 - - 0

What did I forget ? Is Samba, MAPI, or anything else required ?


On an other hand, I also wanted to install Funambol for having SyncMl.
However, I wasn't able to find the SOGo connector for this, and I didn't
find any official documentation about it. Is SyncML with Funambol still
supported ?

Best Regards
Alexandre Schifano

On 19/01/2015 15:38, Alexandre Schifano wrote:
 Hi guys,
 
 I try to install ActiveSync on my server. As far as I understand, I only need 
 to install sogo-activesync, to add/uncomment the good Apache proxy 
 configuration, and to restart Apache and Sogo. I made a test with the 
 Microsoft tool, where I had the known error/bug about the authentication 
 step, and I also tried with my Nokia E6, without success. With my smartphone, 
 I can read in the SOGo logs :
 IP address - - [timestamp] POST 
 /SOGo/Microsoft-Server-ActiveSync?User=usernameDeviceId=IMEIsome 
 numbersDeviceType=NokiaEmailCmd=Sync HTTP/1.1 200 0/82 30.020 - - 0
 
 So I think that the 200 code means that the request what correct, but what 
 does 0/82, 30.020 and the last number mean ? And my phone is not 
 synchronised, I only have a popup with an error message, without 
 explainations, so, what did I miss ?
 
 BR
 Alexandre Schifano
 
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] SOGo 2.2.12a and 2.2.13 : can't send an e-mail or save a draft

2015-01-03 Thread Schifano Alexandre
Thank you !!!

On 03/01/2015 15:26, Gilles Gagniard wrote:
 The repository has been updated with sope 4.9-20141230, and sogo 2.2.13
 has been rebuilt against the new sope.
 
 I just tested that sending mail and saving drafts is now repaired !
 
 Gilles
 
 Le samedi 03 janvier 2015 à 13:43 +0100, Gilles Gagniard a écrit :
 Hello Alexandre,

 Sorry I haven't spotted that one ... I will update sope in the repo.

 Gilles

 Le vendredi 02 janvier 2015 à 14:28 +0100, Schifano Alexandre a écrit :
 I see. I have this problem because I have a CentOS 7 and because there
 is no official repository, I use this one :
 https://copr.fedoraproject.org/coprs/jaile/sogo/. It has an oudated
 version of Sope.

 On 02/01/2015 14:01, Ludovic Marcotte wrote:

 September 10th? We've released 5 new versions of SOPE since then.



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


[SOGo] SOGo 2.2.12a and 2.2.13 : can't send an e-mail or save a draft

2015-01-02 Thread Schifano Alexandre
Hi,

I managed to install and configure SOGo on CentOS 7, however I can't
send an e-mail or save a draft.
When I click on the buttons in the WebUI, I can see the tiny loading
wheel, but after nothing happens, the Window is still opened.

In the SOGo logs, when I save a draft, I can read :
127.0.0.1 - - [02/Jan/2015:01:26:50 GMT] GET
/SOGo/so/alucard/Mail/0/compose HTTP/1.1 302 0/0 0.047 - - 0
127.0.0.1 - - [02/Jan/2015:01:26:51 GMT] GET
/SOGo/so/alucard/Mail/0/folderDrafts/newDraft1420158410-1/edit HTTP/1.1
200 7931/0 0.122 24531 67% 1M
127.0.0.1 - - [02/Jan/2015:01:27:04 GMT] POST
/SOGo/so/alucard/Contacts/allContactSearch?search=alu HTTP/1.1 200
222/0 0.021 - - 20K
2015-01-02 01:27:11.753 sogod[2742] File NSKeyValueCoding.m: 915. In
-[NSObject(KeyValueCoding) valuesForKeys:] This method is deprecated,
use -dictionaryWithValuesForKeys:
EXCEPTION: NSException: 0x7fd5b69c4070 NAME:NSInvalidArgumentException
REASON:NGMimeMessage(instance) does not recognize setHeader:forKey:
INFO:(null)
Jan 02 01:27:11 sogod [2661]: 0x0x7fd5b646b070[WOWatchDogChild] child
2742 exited
Jan 02 01:27:11 sogod [2661]: 0x0x7fd5b646b070[WOWatchDogChild]
(terminated due to signal 6)
Jan 02 01:27:11 sogod [2661]: 0x0x7fd5b6206e50[WOWatchDog] child
spawned with pid 2750


And when I try to send an e-mail :
2015-01-02 01:27:19.865 sogod[2750] Note: Using UTF-8 as URL encoding in
NGExtensions.
Jan 02 01:27:19 sogod [2750]: 0x0x7fd5b61f67e0[SOGoCache] Cache
cleanup interval set every 300.00 seconds
Jan 02 01:27:19 sogod [2750]: 0x0x7fd5b61f67e0[SOGoCache] Using
host(s) 'localhost' as server(s)
2015-01-02 01:27:19.870 sogod[2750] Note(SoObject): SoDebugKeyLookup is
enabled!
2015-01-02 01:27:19.870 sogod[2750] Note(SoObject): SoDebugBaseURL is
enabled!
2015-01-02 01:27:19.870 sogod[2750] Note(SoObject): relative base URLs
are enabled.
2015-01-02 01:27:19.895 sogod[2750] Note(NGImap4Connection): using '/'
as the IMAP4 folder separator.
2015-01-02 01:27:20.089 sogod[2750] WOCompoundElement: pool embedding is on.
2015-01-02 01:27:20.089 sogod[2750] WOCompoundElement: id logging is on.
2015-01-02 01:27:20.132 sogod[2750] File NSKeyValueCoding.m: 915. In
-[NSObject(KeyValueCoding) valuesForKeys:] This method is deprecated,
use -dictionaryWithValuesForKeys:
EXCEPTION: NSException: 0x7fd5b6a1cf80 NAME:NSInvalidArgumentException
REASON:NGMimeMessage(instance) does not recognize setHeader:forKey:
INFO:(null)
Jan 02 01:27:20 sogod [2661]: 0x0x7fd5b646b070[WOWatchDogChild] child
2750 exited
Jan 02 01:27:20 sogod [2661]: 0x0x7fd5b646b070[WOWatchDogChild]
(terminated due to signal 6)
Jan 02 01:27:20 sogod [2661]: 0x0x7fd5b6206e50[WOWatchDog] child
spawned with pid 2755

This happens with SOGo 2.2.12a and 2.2.13.

Does someone has an idea ?
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] SOGo 2.2.12a and 2.2.13 : can't send an e-mail or save a draft

2015-01-02 Thread Schifano Alexandre
I see. I have this problem because I have a CentOS 7 and because there
is no official repository, I use this one :
https://copr.fedoraproject.org/coprs/jaile/sogo/. It has an oudated
version of Sope.

On 02/01/2015 14:01, Ludovic Marcotte wrote:
 
 September 10th? We've released 5 new versions of SOPE since then.
 
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] SOGo 2.2.12a and 2.2.13 : can't send an e-mail or save a draft

2015-01-02 Thread Schifano Alexandre
I did, I have the latest version available on my system, the
4.9-20140910_1664.

On 02/01/2015 13:30, Ludovic Marcotte wrote:
 On 01/01/2015 19:27, Schifano Alexandre wrote:
 Does someone has an idea ?
 Upgrade SOPE, you haven't.
 
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] How to install it properly on CentOS 7 ?

2015-01-02 Thread Schifano Alexandre
Hi,

Because there is no official repository for CentOS 7, the one unofficial
has a old SOPE version, and the one for CentOS 6 will not work, how can
I install Sogo on CentOS 7 ?
-- 
users@sogo.nu
https://inverse.ca/sogo/lists