Re: [SOGo] Outlook EAS with mailboxes > 3GB

2015-10-11 Thread Alain Abbas

Hello 
We have the same problem with big mailboxes , the first sync take for ever we 
even crashed the server 
for now we had stopped the deployement of activesync and outlook2013 

Regards


Le Samedi 10 Octobre 2015 13:02 CEST, Peter Beck  a 
écrit:
 Hi there,

I've configured some Outlook 2013 users with EAS. This works great with
smaller mailboxes, no issues (or none of the users told me ;-)

But with mailboxes > 2.5/3GB users are complaining about these issues:

* the initial sync takes "forever" (seems never to complete)
* connection very often drops after a few mails (Outlook displaying
"disconnected" and sometimes does not reconnect automatically)
* some messages are downloaded each time and are multiple times listed
in Outlook
* some attachments are "scrumbled" and listed in plaintext instead as an
attachment

Most (if not all) of these users have lots of folders and messages
inside these folders (mails from 2004 until now...)

The server is hosting about 30 mailboxes (small business), about 10 of
them are connecting with Outlook, the rest is using Thunderbird. On
mobiles active sync works as expected.

I found some advice in bug 3236 [1] and some mailinglist posts [2] but
none of these settings helped. Also tried resyncing some folders or
completely removed and reconfigured accounts with manage-eas.

Tried increasing max_line_length in dovecot from 2MB to 4MB, the timeout
in the apache virtual host is set to 3600. The worker count is set to 30.

The same accounts connected with IMAP sync very fast, no "scrumbled"
attachments.

My question now is, how do I find the optimal settings for EAS are
(MaximumSyncWindowSize, MaximumSyncResponseSize,
WOWatchDogRequestTimeout, SOGoMaximumPingInterval, etc...) ?

I've tried lots of values and nothing seemed to fix these issues. Is
that a trial-and-error solution or are there any optimal settings I can
calculate somehow ?

The server is running Debian Jessie 8.2 with SOGo 2.3.2 / Dovecot
2.2.13. It's a virtual machine with currently 4GB RAM and two
processors, average load never gets higher than 0.5...

but sogo-common is still listed as 2.2.9 - is that intended ? (using the
inverse repo)

ii sogo:amd64 2.3.2-1
ii sogo-activesync 2.3.2-1
ii sogo-common 2.2.9+git20141017-1


Hopefully someone can give me advice how to solve these issues...

Best Regards
Peter


[1]http://www.sogo.nu/bugs/view.php?id=3236
[2]https://lists.inverse.ca/sogo/arc/users/2014-10/msg00015.html
--
users@sogo.nu
https://inverse.ca/sogo/lists
--
Alain Abbas
11 rue Robert Schumann
54500 Vandoeuvre
Tel : +333 83 18 02 70
skype: alain.abbas
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Outlook EAS with mailboxes > 3GB

2015-10-11 Thread Peter Beck
On 10/10/2015 09:14 PM, t...@aon.at wrote:

> I assume you have tried to set SOGoMaximumSyncResponseSize. Is there any
> exception in sogo.log?

Hi Thomas,

(replying back to the list)

I could not find any exception but lots of messages complaining about
encoding in the logs. Sometimes Outlook shows "disconnected", but in the
sogo.log i still can see ActiveSync entries from this user a while.

I "played" with SOGoMaximumSyncResponseSize - 512, 1024, 2048, 4096 or
even 6144 but none of them solved that issue. My "feeling" was, that 2MB
had the best results from all of them. But then - how does that interact
with all the other parameters ? That is a bit confusing for me. Just
tried to set SOGoMaximumSyncResponseSize to 2048 (and another time to
4096) and commented everything else regarding ActiveSync I've added to
sogo.conf - did not really help. And yes, I also tried the settings
mentioned under "EAS Tuning" in the documentation.

I' fiddling for hours just trying different combinations but none of
them seems to work for me.

> * connection very often drops after a few mails (Outlook displaying
> "disconnected" and sometimes does not reconnect automatically)
> 
> Are there any excpetions / signal .. in sogo.log when the connection drops?
> What do you see in sogo.log when this happens?  ?SOGoEASDebugEnabled?

Tried EASDebugEnabled, but that's lot of information and mostly it's
just xml/plain mail I can see then (lots of attachments listed in
base64). Did not really help me to find the problem - did not even know
what to look for ;-)

Sometimes outlook shows disconnected while Sogo.log still is listing
attachments in base64. When that is finished it looks like that (without
debugging it's showing just the last line):

--8<--8<--
  ...
  
   mail%2Fpublic
   Email
  
 


Oct 10 21:01:22 sogod [1767]:
<0x0x7fa152a406d0[SOGoActiveSyncDispatcher]> Sleeping 10 seconds while
detecting changes...
Oct 10 21:01:32 sogod [1767]: 62.167.130.32, 192.168.0.14 "POST
/SOGo/Microsoft-Server-ActiveSync?jQAHCBDskHrEKrIy0nMyx5aEJkQLBAADV1A4
HTTP/1.1" 200 0/149 32.932 - - -36K
Oct 10 21:01:36 sogod [1793]:
<0x0x7fa1533c7f30[SOGoActiveSyncDispatcher]> Change detected, we push
the content.
Oct 10 21:01:36 sogod [1793]:
<0x0x7fa1533c7f30[SOGoActiveSyncDispatcher]> EAS - response for device
E49E4F080FA643E383B7FB2C2A69E280: 
http://www.microsoft.com/;>

 2
 
  mail%2Fc828a1012d691056ee42619592fc
  mail%2Fe728a1012d691056ee42619592fc
  mail%2Fee28a1012d691056ee42619592fc
 


Oct 10 21:01:36 sogod [1793]: 192.168.0.203 "POST
/SOGo/Microsoft-Server-ActiveSync?Cmd=Ping=u...@domain.com=E49E4F080FA643E383B7FB2C2A69E280=WindowsOutlook15
HTTP/1.1" 200 144/8902 15.703 - - 0

--8<--8<--

Can't really see any exception (did also grep for [E|e]xception in
sogo.log - not one entry found.

> * some messages are downloaded each time and are multiple times listed in
> Outlook
> * some attachments are "scrumbled" and listed in plaintext instead as an
> attachment
> 
> Is the same message ok on other devices?

As far as I recognized: yes. Even on the same devices it's ok when
getting the messages with IMAP (Tried in webmail, Thunderbird and
Outlook with IMAP). Tried that with two different accounts having that
issue and it was working with both of them when not using EAS.

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


[SOGo] Problems with Samsung phone ActiveSync NSInvalidArgumentException

2015-10-11 Thread DaveK
Hello,

Since last Friday (10/2), my Samsung S5 stopped getting emails, while iPad and
Outlook 2013 are receiving them.  Yesterday, I deleted the account on S5
device, and re-added it.  It synced up all emails until that period, but since
then I have not received any new emails today on ONLY that device, while iPad
and Outlook are still showing new emails (same email account on all 3
devices).

I continue to see this in the /var/log/sogo/sogo.log file (I masked email
address and device id):

sogod [15395]: "POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Sync=xxx
%40xxx.com=SEC2Dx=SAMSUNGSMG900V HTTP/1.1" 200 0/87
0.011 - - 0 EXCEPTION: 
NAME:NSInvalidArgumentException REASON:'_name' must not be an empty string
INFO:(null)

The only information I saw on Google searches was a reference to a bad CNAME.
I checked my CNAME, MX, etc records and they look good to me.

Can anyone point me in a direction to try to fix this issue?  I don't really
suspect SoGo, unless I changed something in a config file, but I don't know
where to begin to look.

Samsung Exchange server settings:
Email address:  x...@xxx.com
Domain\username:  \xx...@xxx.com
Exchange server:  mx.xxx.com
Use Secure connection (SSL):  
Use client certificate: 

iPad settings:
Email:  x...@xxx.com
Server mx..com
domain (optional): 
username:  x...@xxx.com
Use SSL:  
S/MIME:  

Thanks,

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


Re: [SOGo] Outlook EAS with mailboxes > 3GB

2015-10-11 Thread Peter Beck
On 10/10/2015 08:22 PM, Alain Abbas wrote:
> for now we had stopped the deployement of activesync and outlook2013 

Hi Alain,

good to know I am not the only one ;-)
I've also switched (at least the big mailboxes) to IMAP and
CalDavSynchronizer (which will hopefully soon get CardDAV support).

But still hoping someone can enlighten us here on the list...

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


[SOGo] BTS activities for Sunday, October 11 2015

2015-10-11 Thread SOGo reporter
Title: BTS activities for Sunday, October 11 2015





  
BTS Activities

  Home page: http://www.sogo.nu/bugs
  Project: SOGo
  For the period covering: Sunday, October 11 2015

  
  
idlast updatestatus (resolution)categorysummary
	
	
	  
	
3363
	2015-10-11 23:55:17
	updated (open)
	ActiveSync
	Syncing stops after adding Outlook 2013 calendar event with attendees