Re: [SOGo] Filters SOGo/Roundcube

2014-10-31 Thread André Schild

Am 30.10.2014 um 16:31 schrieb Federico Alberto Sayd:

On 29/10/14 07:41, André Schild wrote:

Am 29.10.2014 um 11:12 schrieb Nicolas Cauchie:

Hello,

I've created a rule under sogo.sieve file using Roundcube.

When I log in using SOGo, rules i've created don't appear in 
preferences/courrier/filters tab. Why ?

SOGo has it's filter rules stored in the database
and generates the sieve code from there.

It does not parse any existing sieve scripts.

One reason is that SOGo allowws you to set expiry dates to filters
and then updates the sieve scripts from a cron job.


We too have the problem that we have 3 webmail UI available fro the 
users.


SOGo, Horde and Roundcube

Each one is using it's own sieve filters, the last one saved winns
The only way to solve the problem is to educate the users to use
the sive functions only from one webui type.

André

The guilty: Cyrus's sieve implementation:

See:

http://comments.gmane.org/gmane.comp.groupware.sogo.user/9480

Yes and No.

Horde creates sieve vacation scripts for cyrus with working from/until 
dates.

They do some date regex magic in this form:

if header :regex Received ^.*(2014) (\\(.*\\) )?..:..:.. 
(\\(.*\\) )?((\\+|\\-)[[:digit:]]{4}|.{1,5})( \\(.*\\))?$ {
if header :regex Received ^.*(Jul) (\\(.*\\) )? (\\(.*\\) 
)?..:..:.. (\\(.*\\) )?((\\+|\\-)[[:digit:]]{4}|.{1,5})( \\(.*\\))?$ {
if header :regex Received ^.*(21|22|23|24|25|26|27|28|29|30|31) 
(\\(.*\\) )?... (\\(.*\\) )? (\\(.*\\) )?..:..:.. (\\(.*\\) 
)?((\\+|\\-)[[:digit:]]{4}|.{1,5})( \\(.*\\))?$ {



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


[SOGo] caldav and outlook calendar sync

2014-10-31 Thread Sinan Alyuruk

Hi,

I am testing sogo 2.2.9a, with openchange sogo connector + dav devices.

Clients using exchange protocol can share calendar items. But caldav 
clients doesn't seems to integrate with outlook calendars.


But on web interface I can see every schedule created with different 
clients.


What is the missing point beetween caldav clients and outlook?

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


Re: [SOGo] Sogo/Openchange behind reverse proxy apache

2014-10-31 Thread Matteo Manzinello

I found this BUG:

https://issues.apache.org/bugzilla/show_bug.cgi?id=40029

It's seems a bug on apache with RPC OVER HTTP and apache mod_proxy.


Il 2014-10-15 21:10 Matteo Manzinello ha scritto:

I have a physical host exposed to the Internet and reverse proxy
configuration on apache, local subnet 192.168.2.0/24, where inside
there is a KVM host with IP 192.168.3.4 and sogo and openchange
installed. In the physical server there is a OPENVPN client where the
subnet class of clients is 192.168.3.0/27.
From VPN clients connected I can use the SOGo web interface with url
http://192.168.3.4/SOGo, caldav with thunderbird and Outlook 2010
calendar and mail.
I have some problems with same clients but with public link,
http://public_url/SOGo, because caldav with thunderbird and web access
work correctly but with outlook clients doesn't work.
Above the configuration on reverse proxy on physical host:

VirtualHost *:80
ServerName public_url
ProxyPreserveHost On
ProxyPass / http://192.168.3.4/ retry=0
ProxyPassReverse / http://192.168.3.4/
Proxy http://192.168.3.4/SOGo
RequestHeader set x-webobjects-server-port 80
RequestHeader set x-webobjects-server-name public_url
RequestHeader set x-webobjects-server-url http://public_url/SOGo;
RequestHeader set x-webobjects-server-protocol HTTP/1.0
RequestHeader set x-webobjects-remote-host %{REMOTE_HOST}e
env=REMOTE_HOST
AddDefaultCharset UTF-8
Order allow,deny
Allow from all
/Proxy
/VirtualHost

This is the logs on SOGo/Openchange web server:

[Wed Oct 15 20:16:17 2014] [error] RPCProxy started
[Wed Oct 15 20:16:17 2014] [error]
INFO:openchange.web.auth.NTLMAuthHandler:client did not pass auth
cookie
[Wed Oct 15 20:16:17 2014] [error]
INFO:openchange.web.auth.NTLMAuthHandler:acquiring lock
/var/cache/ntlmauthhandler/ntlm-127.0.0.1.lock (12698)
[Wed Oct 15 20:16:17 2014] [error]
INFO:openchange.web.auth.NTLMAuthHandler:NTLMAuthHandler daemon
spawned with pid 12770
[Wed Oct 15 20:16:18 2014] [error] RPCProxy started
[Wed Oct 15 20:16:18 2014] [error]
INFO:openchange.web.auth.NTLMAuthHandler:acquiring lock
/var/cache/ntlmauthhandler/ntlm-127.0.0.1.lock (12698)
[Wed Oct 15 20:16:40 2014] [error] RPCProxy started
[Wed Oct 15 20:16:40 2014] [error]
INFO:openchange.web.auth.NTLMAuthHandler:client did not pass auth
cookie
[Wed Oct 15 20:16:40 2014] [error]
INFO:openchange.web.auth.NTLMAuthHandler:acquiring lock
/var/cache/ntlmauthhandler/ntlm-127.0.0.1.lock (8813)
[Wed Oct 15 20:16:41 2014] [error] RPCProxy started
[Wed Oct 15 20:16:41 2014] [error]
INFO:openchange.web.auth.NTLMAuthHandler:acquiring lock
/var/cache/ntlmauthhandler/ntlm-127.0.0.1.lock (8813)
[Wed Oct 15 20:17:11 2014] [error]
INFO:openchange.web.auth.NTLMAuthHandler:NTLMAuthHandler daemon
shutdown (12770)

This is the logs on Reverse proxy apache server:

[Wed Oct 15 20:16:50 2014] [error] (70007)The timeout specified has
expired: proxy: prefetch request body failed to 192.168.3.4:80
(192.168.3.4) from 217.200.202.44 ()

Please, someone can I help me?
Only with outlook doesn't work.
Thank you
Matteo

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


[SOGo] Error in sogo.conf, SOGoUserSources

2014-10-31 Thread gdouteaux
Hi,

I have a problem with my configuration.

When i start SOGo i have this error :

 File NSDictionary.m: 625. In -[NSDictionary initWithContentsOfFile:] Contents
of file '/etc/sogo/sogo.conf' does not contain a dictionary
0x0xb95b7cd8[SOGoStartupLogger] Cannot read configuration from '/etc/sogo/
sogo.conf'. Aborting

When i comment this in the config SOGo start.

SOGoUserSources = (
{
  type = sql;
  id = postfixadmin;
  viewURL =
mysql://xxx:x...@smtp..local:3306/postfixadmin/sogo_users;
  canAuthenticate = YES;
  isAddressBook = YES;
  userPasswordAlgorithm = md5-crypt;
  displayName = Messagerie;
  DomainFieldName = domain;
  IMAPLoginFieldName = c_name;
  LoginFieldNames = (
  c_uid,
  c_name
  );
}
  );

I don't find my error can you help me ??
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Error in sogo.conf, SOGoUserSources

2014-10-31 Thread martin
For me this was happening when = symbol was missing in one of my config 
statements. 

Odoslané z iPhonu

Dňa 31.10.2014, o 12:25, gdoute...@fede76.admr.org 
gdoute...@fede76.admr.org napísal:

 Hi,
 
 I have a problem with my configuration.
 
 When i start SOGo i have this error :
 
 File NSDictionary.m: 625. In -[NSDictionary initWithContentsOfFile:] Contents
 of file '/etc/sogo/sogo.conf' does not contain a dictionary
 0x0xb95b7cd8[SOGoStartupLogger] Cannot read configuration from '/etc/sogo/
 sogo.conf'. Aborting
 
 When i comment this in the config SOGo start.
 
 SOGoUserSources = (
{
  type = sql;
  id = postfixadmin;
  viewURL =
 mysql://xxx:x...@smtp..local:3306/postfixadmin/sogo_users;
  canAuthenticate = YES;
  isAddressBook = YES;
  userPasswordAlgorithm = md5-crypt;
  displayName = Messagerie;
  DomainFieldName = domain;
  IMAPLoginFieldName = c_name;
  LoginFieldNames = (
  c_uid,
  c_name
  );
}
  );
 
 I don't find my error can you help me ??
 -- 
 users@sogo.nu
 https://inverse.ca/sogo/lists
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] Activesync error 500 - how to investigate further ?

2014-10-31 Thread sigurd
Hi !

One of our WP8 users sees this sequence of events using 2.2.10 nightly build :

Oct 31 13:11:13 sogod [31770]: |SOGo| starting method 'OPTIONS' on uri '/SOGo/
Microsoft-Server-ActiveSync?User=xxxDeviceId=xxxDeviceType=WP8'
192.168.21.192 - - [31/Oct/2014:13:11:13 GMT] OPTIONS /SOGo/Microsoft-Server-
ActiveSync?User=xxxDeviceId=xxxDeviceType=WP8 HTTP/1.1 200 0/0 0.004 - - 0
Oct 31 13:11:13 sogod [31770]: |SOGo| starting method 'POST' on uri '/SOGo/
Microsoft-Server-ActiveSync?xxx'
192.168.21.192 - - [31/Oct/2014:13:11:13 GMT] POST /SOGo/Microsoft-Server-
ActiveSync?xxx HTTP/1.1 200 19/11 0.003 - - 0
Oct 31 13:11:13 sogod [31770]: |SOGo| starting method 'POST' on uri '/SOGo/
Microsoft-Server-ActiveSync?xxx'
192.168.21.192 - - [31/Oct/2014:13:11:14 GMT] POST /SOGo/Microsoft-Server-
ActiveSync?xxx HTTP/1.1 200 50/38 0.405 - - 4K
Oct 31 13:11:14 sogod [31770]: |SOGo| starting method 'POST' on uri '/SOGo/
Microsoft-Server-ActiveSync?xxx'
192.168.21.192 - - [31/Oct/2014:13:11:14 GMT] POST /SOGo/Microsoft-Server-
ActiveSync?xxx HTTP/1.1 500 197/0 0.002 - - 0


As you can see, it ends in a 500 server error.

I can't find anything in any other logs.
How should I go about investigating this further ?

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


Re: [SOGo] Activesync error 500 - how to investigate further ?

2014-10-31 Thread Ludovic Marcotte

On 31/10/2014 08:15, sig...@westaudio.no wrote:

As you can see, it ends in a 500 server error.


Take a pcap when that happens on localhost, port 2 from your SOGo 
server. Send it over (to me, privately).


If you are getting a segfault or an exception, use this to generate a 
stack trace:


http://www.sogo.nu/fr/nc/support/faq/article/how-do-i-debug-sogo.html

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


Re: [SOGo] Error in sogo.conf, SOGoUserSources

2014-10-31 Thread Jens Erat
The snippet seems valid on first sight. `plparse` sometimes helps at
finding the problem by giving more detailed messages on the syntax error
location.

Am 31.10.2014 um 13:14 schrieb mar...@netson.sk:
 For me this was happening when = symbol was missing in one of my config 
 statements. 
 
 Odoslané z iPhonu
 
 Dňa 31.10.2014, o 12:25, gdoute...@fede76.admr.org 
 gdoute...@fede76.admr.org napísal:
 
 Hi,

 I have a problem with my configuration.

 When i start SOGo i have this error :

 File NSDictionary.m: 625. In -[NSDictionary initWithContentsOfFile:] Contents
 of file '/etc/sogo/sogo.conf' does not contain a dictionary
 0x0xb95b7cd8[SOGoStartupLogger] Cannot read configuration from '/etc/sogo/
 sogo.conf'. Aborting

 When i comment this in the config SOGo start.

 SOGoUserSources = (
{
  type = sql;
  id = postfixadmin;
  viewURL =
 mysql://xxx:x...@smtp..local:3306/postfixadmin/sogo_users;
  canAuthenticate = YES;
  isAddressBook = YES;
  userPasswordAlgorithm = md5-crypt;
  displayName = Messagerie;
  DomainFieldName = domain;
  IMAPLoginFieldName = c_name;
  LoginFieldNames = (
  c_uid,
  c_name
  );
}
  );

 I don't find my error can you help me ??
 -- 
 users@sogo.nu
 https://inverse.ca/sogo/lists



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [SOGo] ActiveSync problems

2014-10-31 Thread Thomas Fuehrer
Hi  Daniele,
can you please provide a sogo.log which contains a complete session. I want to 
see the response of getannotation.

What is the exact  imap-server version?
Do you have the problem only with a specific user or does it occur with all of 
your users?

Regards,
Thomas

Am Donnerstag, 30. Oktober 2014 15:20 CET, Daniele Borini 
d.bor...@effegidi.it schrieb:

 Hi all.

 I’ve just updated from nightly build but still having some troubles with 
 activesync.

 I’ve configured outlook 2013 using Activesync to connect to sogo server.

 Outlook folders (expecially own-created folders) are multiplicated (i.e. i’ve 
 got Backup and backup[1] folders) and no emails are displayed in outlook.

 No errors appers into sogo.log nor mail.log nor mail.err. What i see is a 
 huge amount of setannotation in sogo.log like:



 C[0x7fe897791090]: 384 setannotation UPS /comment (value.priv 
 mailserver_70d_1a027fc4_15c6)

 S[0x7fe897e54f60]: 384 OK Completed.

 C[0x7fe897791090]: 385 setannotation Gateway /comment (value.priv 
 mailserver_70d_1a027fc4_15c7)

 S[0x7fe897e54f60]: 385 OK Completed.





 Can you point me on what i could have made in the wrong way?



 Thank you very much.

 D.




 Daniele Borini


 EDP Manager


   
 file:///C:\Users\daniele\AppData\Roaming\Microsoft\Signatures\semplice_file\image001.gif


 Via Provinciale per Sacca, 55 - 43052 - Colorno - Italy


 tel +39 0521319316


 fax +39 0521319322


   
 file:///C:\Users\daniele\AppData\Roaming\Microsoft\Signatures\semplice_file\image002.gif
  borini-effegidi.it


 e-mail d.bor...@effegidi.it


 www.effegidi.it http://www.effegidi.it


 Prima di stampare,pensa all'ambiente ** Think about the environment before 
 printing



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



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

[SOGo] Unable to send mails using sogo webmail

2014-10-31 Thread rd
Hi,

I'm trying to configure Sogo with multiple domains with mysql authentication.
I'm able to login to the sogo webmail and view the messages in the inbox, but
when I try to write a mail and send it I get the following error in the sogo
log once the send button is clicked.

EXCEPTION: NSException: 0x7f913625ab88 NAME:NSInvalidArgumentException
REASON:WOResponse(instance) does not recognize reason INFO:(null)
Oct 31 18:20:47 sogod [4698]: 0x0x7f9135eaa2b8[WOWatchDogChild] child 4770
exited
Oct 31 18:20:47 sogod [4698]: 0x0x7f9135eaa2b8[WOWatchDogChild]  (terminated
due to signal 6)

Also the pop up window that opens when write button is clicked does not close
on its own.

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


RE: [SOGo] Error in sogo.conf, SOGoUserSources

2014-10-31 Thread DOUTEAUX Guillaume
Ok, i test it.

How to use this command ?

Just do : plparse /etc/sogo/sogo.conf

Parsing '/etc/sogo/sogo.conf' - Parse failed  - Parse failed at line 1 (char 
16) - extra data after parsed string
Ligne 1 is :
SOGoProfileURL = 
mysql://xxx:x...@smtp.xxx.local:3306/sogodb/sogo_user_profile;


-Message d'origine-
De : users-requ...@sogo.nu [mailto:users-requ...@sogo.nu] De la part de Jens 
Erat
Envoyé : vendredi 31 octobre 2014 13:22
À : users@sogo.nu; gdoute...@fede76.admr.org
Objet : Re: [SOGo] Error in sogo.conf, SOGoUserSources

The snippet seems valid on first sight. `plparse` sometimes helps at
finding the problem by giving more detailed messages on the syntax error
location.

Am 31.10.2014 um 13:14 schrieb mar...@netson.sk:
 For me this was happening when = symbol was missing in one of my config 
 statements. 
 
 Odoslané z iPhonu
 
 Dňa 31.10.2014, o 12:25, gdoute...@fede76.admr.org 
 gdoute...@fede76.admr.org napísal:
 
 Hi,

 I have a problem with my configuration.

 When i start SOGo i have this error :

 File NSDictionary.m: 625. In -[NSDictionary initWithContentsOfFile:] Contents
 of file '/etc/sogo/sogo.conf' does not contain a dictionary
 0x0xb95b7cd8[SOGoStartupLogger] Cannot read configuration from '/etc/sogo/
 sogo.conf'. Aborting

 When i comment this in the config SOGo start.

 SOGoUserSources = (
{
  type = sql;
  id = postfixadmin;
  viewURL =
 mysql://xxx:x...@smtp..local:3306/postfixadmin/sogo_users;
  canAuthenticate = YES;
  isAddressBook = YES;
  userPasswordAlgorithm = md5-crypt;
  displayName = Messagerie;
  DomainFieldName = domain;
  IMAPLoginFieldName = c_name;
  LoginFieldNames = (
  c_uid,
  c_name
  );
}
  );

 I don't find my error can you help me ??
 -- 
 users@sogo.nu
 https://inverse.ca/sogo/lists


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

Re: [SOGo] Error in sogo.conf, SOGoUserSources

2014-10-31 Thread Jens Erat
Hi Guillaume,

 Parsing '/etc/sogo/sogo.conf' - Parse failed  - Parse failed at line 1
(char 16) - extra data after parsed string
 Ligne 1 is :
 SOGoProfileURL =
mysql://xxx:x...@smtp.xxx.local:3306/sogodb/sogo_user_profile;

I guess you're missing the enclosing curly brackets around the whole file

{
  [snip]
}

Regards,
Jens

Am 31.10.2014 um 13:51 schrieb DOUTEAUX Guillaume:
 Ok, i test it.
 
 How to use this command ?
 
 Just do : plparse /etc/sogo/sogo.conf
 
 Parsing '/etc/sogo/sogo.conf' - Parse failed  - Parse failed at line 1 (char 
 16) - extra data after parsed string
 Ligne 1 is :
 SOGoProfileURL = 
 mysql://xxx:x...@smtp.xxx.local:3306/sogodb/sogo_user_profile;
 
 
 -Message d'origine-
 De : users-requ...@sogo.nu [mailto:users-requ...@sogo.nu] De la part de Jens 
 Erat
 Envoyé : vendredi 31 octobre 2014 13:22
 À : users@sogo.nu; gdoute...@fede76.admr.org
 Objet : Re: [SOGo] Error in sogo.conf, SOGoUserSources
 
 The snippet seems valid on first sight. `plparse` sometimes helps at
 finding the problem by giving more detailed messages on the syntax error
 location.
 
 Am 31.10.2014 um 13:14 schrieb mar...@netson.sk:
 For me this was happening when = symbol was missing in one of my config 
 statements. 

 Odoslané z iPhonu

 Dňa 31.10.2014, o 12:25, gdoute...@fede76.admr.org 
 gdoute...@fede76.admr.org napísal:

 Hi,

 I have a problem with my configuration.

 When i start SOGo i have this error :

 File NSDictionary.m: 625. In -[NSDictionary initWithContentsOfFile:] 
 Contents
 of file '/etc/sogo/sogo.conf' does not contain a dictionary
 0x0xb95b7cd8[SOGoStartupLogger] Cannot read configuration from '/etc/sogo/
 sogo.conf'. Aborting

 When i comment this in the config SOGo start.

 SOGoUserSources = (
{
  type = sql;
  id = postfixadmin;
  viewURL =
 mysql://xxx:x...@smtp..local:3306/postfixadmin/sogo_users;
  canAuthenticate = YES;
  isAddressBook = YES;
  userPasswordAlgorithm = md5-crypt;
  displayName = Messagerie;
  DomainFieldName = domain;
  IMAPLoginFieldName = c_name;
  LoginFieldNames = (
  c_uid,
  c_name
  );
}
  );

 I don't find my error can you help me ??
 -- 
 users@sogo.nu
 https://inverse.ca/sogo/lists
 
 


-- 
Jens Erat

 [phone]: tel:+49-151-56961126
  [mail]: mailto:em...@jenserat.de
[jabber]: xmpp:jab...@jenserat.de
   [web]: http://www.jenserat.de

 OpenPGP: 0D69 E11F 12BD BA07 7B37  26AB 4E1F 799A A4FF 2279



smime.p7s
Description: S/MIME Cryptographic Signature


[SOGo] dependency problems

2014-10-31 Thread Fabio Onorini
I can't install last nightly build for packages dependency problems.

deb file: libsope-appserver4.9_4.9.r1664.20141021_amd64.deb
depend on libc6 = 2.14,
but debian wheezy have now version  2.13-38+deb7u6.



-- 

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

[SOGo] Toolbar Add New Icon

2014-10-31 Thread Kiss Tamás
Hello!

What way do I add a new icon in the toolbar?

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


[SOGo] BTS activities for Friday, October 31 2014

2014-10-31 Thread SOGo reporter
Title: BTS activities for Friday, October 31 2014





  
BTS Activities

  Home page: http://www.sogo.nu/bugs
  Project: SOGo
  For the period covering: Friday, October 31 2014

  
  
idlast updatestatus (resolution)categorysummary
	
	
	  
	
2957
	2014-10-31 11:39:06
	updated (open)
	ActiveSync
	Attatchments broken using ActiveSync
	
	  
	
2972
	2014-10-31 10:32:59
	updated (open)
	ActiveSync
	Outlook 2013 ActiveSync stuck on Waiting for server response
	
	  
	
2973
	2014-10-31 05:59:47
	updated (open)
	Backend Calendar
	Shuffled subscribed calendars order in Thunderbird lightining