[SOGo] BTS activities for Monday, May 04 2015

2015-05-04 Thread SOGo reporter
Title: BTS activities for Monday, May 04 2015





  
BTS Activities

  Home page: http://www.sogo.nu/bugs
  Project: SOGo
  For the period covering: Monday, May 04 2015

  
  
idlast updatestatus (resolution)categorysummary
	
	
	  
	
31
	2015-05-04 15:18:55
	updated (open)
	Backend Mail
	Support for SMTP SASL AUTH and SMTP TLS/SSL
	
	  
	
3146
	2015-05-04 20:50:21
	assigned (reopened)
	ActiveSync
	HTML emails are not pushed to Blackberry 10 devices
	
	  
	
  
  




AW: [SOGo] login failed

2015-05-04 Thread Christian M. Jesnen
that's a funny error, not really but there many different opinions on what can 
fix it just search google.

but i think it's due to timeout since it looks like you are on a Raspberry PI, 
try setting timeout HIGH
http://httpd.apache.org/docs/current/mod/mod_proxy.html#proxytimeout

also while your are testing change "x-webobjects-server-name" and 
"x-webobjects-server-url" in your apache config to use the ip address of your 
box just be sure.

if nothing works try open port "2" on your box and connect directly, or use 
lynx or similar text based browser to try localhost:2

Regards
Christian



On Saturday, May 2, 2015 13:55 CEST, "Tobias Lindinger" 
 wrote:

> Hi,
>
> I have similar problems when trying to login into the web interface. An 
> internal error ("An unhandled error occurred.") is displayed in the browser.
> The only log containing any error messages is apache error log which says:
>
> [Sat May 02 06:25:15.595138 2015] [mpm_prefork:notice] [pid 5864] AH00163: 
> Apache/2.4.10 (Raspbian) configured -- resuming normal operations
> [Sat May 02 06:25:15.595423 2015] [core:notice] [pid 5864] AH00094: Command 
> line: '/usr/sbin/apache2'
> [Sat May 02 13:49:10.628558 2015] [proxy_http:error] [pid 18399] 
> (20014)Internal error: [client 192.168.2.212:54232] AH01102: error reading 
> status line from remote server 127.0.0.1:2, referer: 
> http://192.168.2.184/SOGo/
>
> My Apache config is like the following:
>
> Alias /SOGo.woa/WebServerResources/   
> /usr/lib/GNUstep/SOGo/WebServerResources/
> Alias /SOGo/WebServerResources/   
> /usr/lib/GNUstep/SOGo/WebServerResources/
> 
>
> 
> Order deny,allow
> Allow from all
> 
> = 2.4>
> Require all granted
> 
>
> # Explicitly allow caching of static content to avoid browser specific 
> behavior.
> # A resource's URL MUST change in order to have the client load the new 
> version.
> 
>   ExpiresActive On
>   ExpiresDefault "access plus 1 year"
> 
> 
>
> ProxyRequests Off
> SetEnv proxy-nokeepalive 1
> SetEnv force-proxy-request-1.0 1
> SetEnv proxy-initial-not-pooled 1
> ProxyPreserveHost On
> #AllowCONNECT 2
> ProxyPass /SOGo http://127.0.0.1:2/SOGo retry=0
> #ProxyPassReverse /SOGo http://127.0.0.1:2/SOGo retry=0
> ProxyPass /Microsoft-Server-ActiveSync 
> http://127.0.0.1:2/SOGo/Microsoft-Server-ActiveSync retry=0 
> connectiontimeout=5 timeout=3600
>
> http://127.0.0.1:2/SOGo>
>   RequestHeader set "x-webobjects-server-port" "80"
>   RequestHeader set "x-webobjects-server-name" "raspberrypi"
>   RequestHeader set "x-webobjects-server-url" "http://raspberrypi";
>   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
> 
> ## We use mod_rewrite to pass remote address to the SOGo proxy.
> # The remote address will appear in SOGo's log files and in the X-Forward
> # header of emails.
> RewriteEngine On
> RewriteRule ^/SOGo/(.*)$ /SOGo/$1 [env=REMOTE_HOST:%{REMOTE_ADDR},PT]
>
>
> Is there any error within the apache config that could cause the error in the 
> web interface?
>
> Thanks in advance,
> Tobias
>
> -Ursprüngliche Nachricht-
> Von: users-requ...@sogo.nu [mailto:users-requ...@sogo.nu] Im Auftrag von 
> Christian M. Jesnen
> Gesendet: Freitag, 1. Mai 2015 19:57
> An: users@sogo.nu
> Betreff: Re: [SOGo] login failed
>
> based on the log you send along, you successfully login so one must assume 
> your database connection is working
>
> so based on my experience
>
> have you checked that the imap settings for the domain i correct.?
>  - Folder names
>  - Folder separator
> that will cause the UI to hang on login but after a while you would be able 
> to use the calendar and contact page
>
> other things that will cause the UI to hang "forever" is the configuration of 
> your web server you might have it set incorrect proxy settings
>
> that's basically all i got to offer at this point
>
> ooh one more thing, the error with "No child available to handle incoming 
> request" is usually (for me), when the configuration is flawed
>
> Regards
> Christian
>
>
> On Friday, May 1, 2015 17:22 CEST,  wrote:
>
> > Hi there I have difficulties login on newly installed sogo webmail. I can
> > access the login page of my sogo installation but it was stuck in there,, 
> > then
> > after sometimes I was unable to connect.
> > I've pasted log errors of my sogo logs.
> >
> > May 01 10:39:04 sogod [3807]: localhost "GET /SOGo.woa/WebServerResources/
> > ContactsUI.js?lm=1430483560 HTTP/1.1" 200 56027/0 0.029 - - 0
> > May 01 10:39:04 sogod [3795]: [ERROR] <0x0x7fd7e2e3ea98[WOWatchDog]> No 
> > child
> > available to handle incoming request!..
>
> --
> users@sogo.nu
> https://inverse.ca/sogo/lists
>
> --
> users@sogo.nu
> https://inverse.ca/sogo/lists



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

Re: [SOGo] Re: One calendar stay gray in Thunderbird

2015-05-04 Thread J. Echter

Am 04.05.2015 um 17:25 schrieb Francis:
2015-05-01 10:07 GMT-04:00 Francis >:


Hello,

I have a user running Thunderbird with SOGo connector on a Mac. 
He had no problems until today.  He have 2 calendars (the default

personal agenda and another one he previously created) and
subscribed to one co-worker's agenda.

The second calendar he created is not enabled in
Thunderbird/Lightning.  The agenda stay gray. It cannot be
checked.  If we double click on it and try to activate it, the OK
button does nothing.

The calendar is working fine on the SOGo web interface and all
others calendars work fine on his Thunderbird.

I see no error log in the SOGo log files.

Any idea what's wrong and how to fix that?


Nobody have an idea?  Server logs and Thunderbird error console have 
nothing useful about this issue.


--
Francis


Hi,

try deleting the sqlite files in your profile folder.

for example under linux:

/home/user/.thunderbird/5jofewjf.default/calendar-data/*.sql.

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

[SOGo] Re: One calendar stay gray in Thunderbird

2015-05-04 Thread Francis
2015-05-01 10:07 GMT-04:00 Francis :

> Hello,
>
> I have a user running Thunderbird with SOGo connector on a Mac.  He had no
> problems until today.  He have 2 calendars (the default personal agenda and
> another one he previously created) and subscribed to one co-worker's agenda.
>
> The second calendar he created is not enabled in Thunderbird/Lightning.
> The agenda stay gray.  It cannot be checked.  If we double click on it and
> try to activate it, the OK button does nothing.
>
> The calendar is working fine on the SOGo web interface and all others
> calendars work fine on his Thunderbird.
>
> I see no error log in the SOGo log files.
>
> Any idea what's wrong and how to fix that?
>
>
Nobody have an idea?  Server logs and Thunderbird error console have
nothing useful about this issue.

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

[SOGo] 100% CPU sogod

2015-05-04 Thread Emmanuel d'Humières
Hi guys,

first of all, many thanks to SOGo team for this brilliant project.
I used SOGo for several years and I install it for my customers who are
very happy with this exchange alternative ;-)

Unfortunately, I have recently installed SOGo for one of my customers
and we have a very strange behaviour.
We start SOGo service and after a "random" time (few minutes or few
hours), we observe via top linux command one, then several sogod
processus running at 100% cpu. We see in SOGo log "pid  has been
hanging in the same request for x minutes" 
and then watchdog messages : 
"safety belt -- sending KILL signal to pid "
child  exited
(terminated due to signal 9)
child spawned with pid '

I know the meaning of previous messages which are finally quite normal,
but in the meantime, 5 or 7 process SOGOd running at the same time at
100 % seem to be strange. I never encounter this kind of issue so I
started to make some analysis.

I first check with strace command to see system calls made by SOGOd
process : nothing was displayed except the kill system call made by the
watchdog. So it's 100% "pure" cpu usage.

I have installed the debug tools in order to provide you some backtrace.
You will find below 2 different backtraces done at 2 different moments.
They are a little bit different, but the others traces I've made look
similar.

Please can you help me as I try to push this solution for this
customer ?
There are right now 5 test users and 5 activesync enabled.

Thanks for your help, especially to indicate me if I need to open a bug.

Regards,

Emmanuel





Here are 2  backtraces of the 100% sogod process :

===  trace 1  =
#0  0x7fc8c8e87df1 in _wordcopy_fwd_dest_aligned (dstp=, srcp=, len=1964944)
at wordcopy.c:207
#1  0x7fc8c8e82417 in __memmove_sse2 (dest=0x7fc8ac4bec00,
src=, len=33734901) at ../string/memmove.c:79
#2  0x7fc8c9c93dd7 in memmove (__len=,
__src=, __dest=)
at /usr/include/x86_64-linux-gnu/bits/string3.h:57
#3  fillHole (size=1, index=977904, self=0x7fc8cefc34b8) at
GSString.m:2161
#4  -[GSMutableString replaceCharactersInRange:withString:]
(self=0x7fc8cefc34b8, _cmd=, aRange=..., 
aString=0x7fc8bd7c2620 <_OBJC_INSTANCE_3>) at GSString.m:4998
#5  0x7fc8c9e4b019 in -[NSMutableString(GNUstepBase)
replaceString:withString:] (self=0x7fc8cefc34b8, 
_cmd=, replace=0x7fc8bd7c2600 <_OBJC_INSTANCE_2>,
by=0x7fc8bd7c2620 <_OBJC_INSTANCE_3>)
at NSMutableString+GNUstepBase.m:300
#6  0x7fc8c9e4c036 in -[NSString(GNUstepBase)
stringByReplacingString:withString:] (self=0x7fc8cece46c8, 
_cmd=, replace=0x7fc8bd7c2600 <_OBJC_INSTANCE_2>,
by=0x7fc8bd7c2620 <_OBJC_INSTANCE_3>)
at NSString+GNUstepBase.m:216
#7  0x7fc8bd5987af in -[NSData(ActiveSync)
activeSyncRepresentationInContext:] (self=0x7fc8ceff7218, 
_cmd=0x7fc8bd7ca970 <_OBJC_SELECTOR_TABLE+1648>,
context=0x7fc8ceb1a608) at NSData+ActiveSync.m:60
#8  0x7fc8bd5a4eea in -[SOGoActiveSyncDispatcher
processItemOperations:inResponse:] (self=0x7fc8cecf5208, 
_cmd=0x7fc8ceac7c00, theDocumentElement=0x7fc8cecc5738,
theResponse=0x7fc8cf04b2b8) at SOGoActiveSyncDispatcher.m:1303
#9  0x7fc8bd5ab91a in -[SOGoActiveSyncDispatcher
dispatchRequest:inResponse:context:] (self=0x7fc8cecf5208, 
_cmd=0x7fc8be25c8a0 <_OBJC_SELECTOR_TABLE+96>,
theRequest=0x7fc8cea9dfb8, theResponse=0x7fc8cf04b2b8, 
theContext=0x7fc8ceb1a608) at SOGoActiveSyncDispatcher.m:2638
#10 0x7fc8be055675 in -[SOGoMicrosoftActiveSyncActions
microsoftServerActiveSyncAction] (self=0x7fc8ceccd738, 
_cmd=0x7fc8ceac7c40) at SOGoMicrosoftActiveSyncActions.m:57
#11 0x7fc8cb5c74d4 in -[SoActionInvocation
callOnObject:withPositionalParametersWhenNotNil:inContext:] ()
   from /usr/lib/libNGObjWeb.so.4.9
#12 0x7fc8cb5c2bf8 in -[SoObjectMethodDispatcher dispatchInContext:]
() from /usr/lib/libNGObjWeb.so.4.9
#13 0x7fc8cb5c4bc9 in -[SoObjectRequestHandler
handleRequest:inContext:session:application:] ()
---Type  to continue, or q  to quit---
   from /usr/lib/libNGObjWeb.so.4.9
#14 0x7fc8cb55acde in -[WORequestHandler handleRequest:]
(self=0x7fc8ceaf1308, _cmd=, 
_request=0x7fc8cea9dfb8) at WORequestHandler.m:237
#15 0x7fc8cb52268c in -[WOCoreApplication
dispatchRequest:usingHandler:] (self=0x7fc8ce9e5048, _cmd=, 
_request=0x7fc8cea9dfb8, handler=0x7fc8ceaf1308) at
WOCoreApplication.m:712
#16 0x7fc8cc8d0822 in -[SOGo dispatchRequest:] (self=0x7fc8ce9e5048,
_cmd=0x7fc8cb8cf8b0 <_OBJC_SELECTOR_TABLE+1840>, 
_request=0x7fc8cea9dfb8) at SOGo.m:453
#17 0x7fc8cb5b596d in -[WOHttpTransaction _run]
(self=0x7fc8ced5b228, _cmd=) at WOHttpTransaction.m:596
#18 0x7fc8cb5b6e38 in -[WOHttpTransaction run] (self=0x7fc8ced5b228,
_cmd=) at WOHttpTransaction.m:649
#19 0x7fc8cb5b1eda in -[WOHttpAdaptor runConnection:]
(self=0x7fc8cea589d8, _cmd=, _socket=)
at WOHttpAdaptor.m:3

Re: [SOGo] SOGoMailCustomEMail and MailFieldNames problem

2015-05-04 Thread Szládovics Péter

2015-05-04 10:07 keltezéssel, Alessio Fattorini írta:

On 30/04/2015 16:56, Szládovics Péter wrote:

2015-04-30 14:31 keltezéssel, Alessio Fattorini írta:

I confirm this, if I set SOGoMailCustomEMail to an email address
already present into the "mail" array, Sogo doesn't save it.
If I set something like ales...@alla.com, see SOGoMailCustomEMail
saved correclty


Dear Alessio,

What is your SOGoMailCustomFromEnabled configuration value?

In the SOGo documentation:
/
Parameter used to allow or not users to specify//
//custom "From" addresses from SOGo\u2019s prefer-//
//ences panel.//
//Defaults NO when unset./

So, if you didn't set it to YES, or your config has it but with NO
value, then the behavior of SOGo is definitely normal.


Thanks for answer,

root@nethservice ~]# su -s '/bin/bash' -c 'defaults read' sogo | grep 
SOGoMailCustomFromEnabled


sogod SOGoMailCustomFromEnabled YES


and this is my ldap configuration
mail: alessio.fattor...@nethesis.it
mail: ales...@nethesis.it


Hi Alessio,

This is a simlink to the sogo user's GNUstep or not?
Please try this

(as root):
sudo -u sogo defaults read sogo | grep 

(or as sogo):
deafults read sogo | grep ...

If the result is differs than root's settings, then your system is 
misconfigured.
The best practice is create a symlink from the sogo user's ~/GNUstep to 
root's ~/GNUstep as root (ln -s ~sogo/GNUstep ~GNUstep).


Other reason the different configs (GNUstep and sogo.conf).
Please do this (as root):

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

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


Re: [SOGo] SOGoMailCustomEMail and MailFieldNames problem

2015-05-04 Thread Alessio Fattorini




On 30/04/2015 16:56, Szládovics Péter wrote:

2015-04-30 14:31 keltezéssel, Alessio Fattorini írta:

I confirm this, if I set SOGoMailCustomEMail to an email address
already present into the "mail" array, Sogo doesn't save it.
If I set something like ales...@alla.com, see SOGoMailCustomEMail
saved correclty


Dear Alessio,

What is your SOGoMailCustomFromEnabled configuration value?

In the SOGo documentation:
/
Parameter used to allow or not users to specify//
//custom "From" addresses from SOGo\u2019s prefer-//
//ences panel.//
//Defaults NO when unset./

So, if you didn't set it to YES, or your config has it but with NO
value, then the behavior of SOGo is definitely normal.


Thanks for answer,

root@nethservice ~]# su -s '/bin/bash' -c 'defaults read' sogo | grep 
SOGoMailCustomFromEnabled


sogod SOGoMailCustomFromEnabled YES


and this is my ldap configuration
mail: alessio.fattor...@nethesis.it
mail: ales...@nethesis.it


--
Alessio Fattorini
Nethesis srl - Pesaro (Italy)
--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] SOGo does not interpret date-time without timezone correctly

2015-05-04 Thread philippe brangier

Hello,

I want to bring to your attention the bug report n°2865 "SOGo does 
not interpret date-time without timezone correctly" ( 
http://www.sogo.nu/bugs/view.php?id=2865 ).
It was declared with severity 'minor' but some people in our 
organisation miss their appointment due to this bug !
I think it's a major bug but I can't change it's severity, and I 
don't want to duplicate it.


Regards

Philippe BRANGIER
Ilex


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