6.0.0-beta1
7/19/25

[#13173] ActiveSync: Creation of Subfolders in OL2013 results in apache crash
Summary ActiveSync: Creation of Subfolders in OL2013 results in apache crash
Queue Synchronization
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester patrick (at) spamreducer (dot) eu
Created 05/08/2014 (4090 days ago)
Due
Updated 05/14/2014 (4084 days ago)
Assigned 05/09/2014 (4089 days ago)
Resolved 05/14/2014 (4084 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
05/14/2014 08:17:39 PM Michael Rubinsky Comment #25 Reply to this comment
You probably need to use a prefs hook for what you are trying to do. 
However, this has nothing to do with this ticket's issue so please use 
the mailing list for further support.

http://www.horde.org/mail/ contains a list of all available mailing lists.
05/14/2014 07:35:19 PM patrick (at) spamreducer (dot) eu Comment #24 Reply to this comment

[Show Quoted Text - 27 lines]
I think the following isn't it?
In the SQL table "horde_prefs" there are saved all user preferences;
in detail the "pref_name" = "identities" holds this informations (the 
BLOB value):

Example:
a:1:{i:0;a:7:{s:16:"default_identity";i:0;s:9:"from_addr";s:16:"admin@pronet.biz";s:8:"fullname";s:26:"Administrator 
(Pronet.biz)";s:2:"id";s:18:"Standardidentität";s:10:"identities";s:6:"a:0:{}";s:10:"properties";N;s:8:"location";s:0:"";}}

a:1:{i:0;a:7:{ = begin of string (??)
    s:16:"default_identity";
       -->s:16: = "its following a string with length 16"
       -->"default_identity"; = string with length 16
    i:0; = ??
    s:9:"from_addr";
       -->s:9: = "its following a string with length 9"
       -->"from_addr"; = string with length 9
  .... and so on ....

But could you give me (or better mail me) the description of this 
"field descriptors"? (eg. a:1:{i:0; or i:0;)?

Thanks!
05/14/2014 06:48:23 PM patrick (at) spamreducer (dot) eu Comment #23 Reply to this comment
You probably didn't properly setup your identity in Horde's preference.
Yup, that did the trick..
The same was for "Trash" folder to work.

Would it possible to automate the following:
  - Setting of Identity
     -> Setting: "Global Preferences/Personal Information/Your full name"
     -> Setting: "Global Preferences/Personal Information/The default 
e-mail address to use with this identity"
  - Delete messages to Trash
     -> Setting: "Preferences for Mail/Deleting and Moving 
Messages/Move deleted messages to your Trash mailbox instead of 
marking them as deleted in the current mailbox"
     -> Setting the appropriate foldername (folder will be created by dovecot)

Probably we have to write our own script/hook for postfixadmin?
Can you give us an SQL table description where we can find this user 
data so we can test some codings..

We are working as service provider and we would like to roll out 
hundreds of clients automatically.. (after testing Horde from A to Z..)
Its practically impossible to tell our customers all this steps to do 
on first use..

Thanks!
05/14/2014 03:58:55 PM Michael Rubinsky State ⇒ Resolved
Assigned to Michael Rubinsky
 
05/14/2014 03:54:54 PM Michael Rubinsky Comment #22 Reply to this comment
You probably didn't properly setup your identity in Horde's preference.
05/14/2014 03:15:48 PM patrick (at) spamreducer (dot) eu Comment #21
New Attachment: log.tar.gz Download
Reply to this comment
Done so far today..

Updated to "GIT version" 5.2.0-git, Horde_ActiveSync 2.14.2

Creation of folders works in git version.. there is a bug in official 
release installable via pear.

Now next problem:
On sending mail this error occures: "ERR: No from address provided."

Any help?

Thanks!
05/13/2014 05:42:40 PM patrick (at) spamreducer (dot) eu Comment #20 Reply to this comment
Of course. My personal production machine as well a multiple test setups.
Thanks!
This shouldn't matter at all, but my servers are all Ubuntu.
Me too.
It should be possible for us to install a testmachine with same
configs, so the system must give same results as yours.
I matched my Dovecot config to the one you posted.
So is the only difference that you are using Horde from GIT and you 
have a english copy of OL2013?
We have tried creating subfolders via IMAP directly, there is no issue..
This would mean nothing as far as ActiveSync debugging/testing goes.
Any hints for an extended debug possibility in Horde?
Debugging to file gave us no result, isn't it?

05/13/2014 04:03:08 PM Michael Rubinsky Comment #19 Reply to this comment

[Show Quoted Text - 9 lines]
Not sure what point you are trying to make here in relation to hiring 
a consultant.
You have tested it on your server, isn't it?
Of course. My personal production machine as well a multiple test setups.
Could you give me your setup configurations? Are you working with 
dovecot or cyrus?
I have test vms utilizing both (as well as different versions of Dovecot).
A Debian based system?
This shouldn't matter at all, but my servers are all Ubuntu.
It should be possible for us to install a testmachine with same 
configs, so the system must give same results as yours.
I matched my Dovecot config to the one you posted.
We have tried creating subfolders via IMAP directly, there is no issue..
This would mean nothing as far as ActiveSync debugging/testing goes.
05/13/2014 03:54:15 PM patrick (at) spamreducer (dot) eu Comment #18 Reply to this comment
I've already spent a good bit of my own time trying to reproduce 
this with no results. It's impossible for me to fix the issue if I 
can't reproduce it. If this is a high priority for your 
organization, you could consider hiring a Horde consultant to try 
and trace this directly on your system.
This is great, but we would use your product on more users then now 
(this 100 users are just a small ammount of all; they are let's say 
"beta tester", but this is a strong "bug")..

You have tested it on your server, isn't it?
Could you give me your setup configurations? Are you working with 
dovecot or cyrus? A Debian based system?
It should be possible for us to install a testmachine with same 
configs, so the system must give same results as yours.

We have tried creating subfolders via IMAP directly, there is no issue..
Very strange in my eyes..

Sorry if I'm a bit tense..

Thanks to you Micheal!
05/13/2014 03:31:47 PM Michael Rubinsky Comment #17 Reply to this comment
How to install from git?
I could try it tomorrow if you could give me precise install guide.. 
(i'm not practice in installing from sources..)
I would not recommend doing this because (1) you said this is your 
production system and (2) this is not recommended for people not 
familiar with working with git and/or familiar with php in general.
05/13/2014 03:30:48 PM Michael Rubinsky Comment #16 Reply to this comment
Id there any new information available?
No, or the ticket would have been updated.
Sorry, but we need a quick fix because we have a hundred users 
comlaining about this issue now..
I've already spent a good bit of my own time trying to reproduce this 
with no results. It's impossible for me to fix the issue if I can't 
reproduce it. If this is a high priority for your organization, you 
could consider hiring a Horde consultant to try and trace this 
directly on your system.
05/13/2014 12:09:04 PM patrick (at) spamreducer (dot) eu Comment #15 Reply to this comment

[Show Quoted Text - 9 lines]
Id there any new information available?
Sorry, but we need a quick fix because we have a hundred users 
comlaining about this issue now..

Thank you again!
05/10/2014 09:03:03 PM patrick (at) spamreducer (dot) eu Comment #14 Reply to this comment
Are you 100% sure you are using git master, as indicated in the bug 
report? Your log indicates otherwise.
No, installed from pear like install guide.
There is no possibility to set this option on ticket creation..

How to install from git?
I could try it tomorrow if you could give me precise install guide.. 
(i'm not practice in installing from sources..)

Thanks!
05/10/2014 06:14:17 PM Michael Rubinsky Comment #13 Reply to this comment
Are you 100% sure you are using git master, as indicated in the bug 
report? Your log indicates otherwise.
05/10/2014 03:48:38 PM patrick (at) spamreducer (dot) eu Comment #12
New Attachment: F351ED9084B54377860A388B86C57226_first_connect.txt Download
Reply to this comment

[Show Quoted Text - 9 lines]
My question: Is a "uuid" not created for every folder?

See attached log for a new account.

05/10/2014 01:20:26 PM patrick (at) spamreducer (dot) eu Comment #11 Reply to this comment

[Show Quoted Text - 9 lines]
Hm..
Server configured like follows:

/etc/dovecot/conf.d/10-mail.conf
----------------------------------------------------------
namespace inbox {
   type = private
   separator = /
   inbox = yes
   subscriptions = yes
}
mail_plugins = $mail_plugins quota listescape
----------------------------------------------------------

/etc/dovecot/conf.d/15-lda.conf
----------------------------------------------------------
lda_mailbox_autosubscribe = yes
protocol lda {
   mail_plugins = $mail_plugins quota sieve listescape
}
----------------------------------------------------------

/etc/dovecot/conf.d/15-mailboxes.conf
----------------------------------------------------------
namespace inbox {
   mailbox Drafts {
     auto = subscribe
     special_use = \Drafts
   }
   mailbox Junk {
     auto = subscribe
     special_use = \Junk
   }
   mailbox Trash {
     auto = create
     special_use = \Trash
   }
   mailbox Sent {
     auto = subscribe
     special_use = \Sent
   }
   mailbox "Sent Messages" {
     special_use = \Sent
   }
   mailbox "Archiv" {
     special_use = \Archive
     auto=subscribe
   }
}
----------------------------------------------------------

I don't know wher to look elsewhere..

Note: OL 2013 is in German (just in case it matters)
05/10/2014 01:14:02 PM patrick (at) spamreducer (dot) eu Comment #10 Reply to this comment

[Show Quoted Text - 11 lines]
I deleted the ActiveSync-Device (user DB is managed by postfixadmin).
05/09/2014 05:39:14 PM Michael Rubinsky Comment #9 Reply to this comment
This:

2014-05-09T17:08:02+00:00 INFO: [8788] Creating new folder uuid for 
INBOX/new_folder: Fd5aa86e5


Looks like an issue with your IMAP configuration. My guess is it's 
something wacky with your namespace settings. I.e., not an ActiveSync 
issue.
05/09/2014 05:33:35 PM Michael Rubinsky Comment #8 Reply to this comment
  - Updated M$-Office 2013 to 15.0.4569.1503
Same version I am using.
Now when I create a Subfolder its created double..
Don't see this.
And when a Email is deleted its doubled in Trash folder..
This is a known OL issue.

05/09/2014 05:32:24 PM Michael Rubinsky Comment #7 Reply to this comment
** tracelog..
2014-05-09T17:08:02+00:00 INFO: [8788] Removing device 
030ED0E030B34737BA968AA9BFCCD1F6 state for user patrick@spamreducer.eu.
2014-05-09T17:08:02+00:00 INFO: [8788] 
Horde_ActiveSync_State_Sql::deleteSyncCache(030ED0E030B34737BA968AA9BFCCD1F6, 
patrick@spamreducer.eu)


Did you explicitly delete the client pairing from Horde?
05/09/2014 05:13:02 PM patrick (at) spamreducer (dot) eu Comment #6
New Attachment: trace.tgz Download
Reply to this comment
** tracelog..
05/09/2014 05:11:47 PM patrick (at) spamreducer (dot) eu Comment #5 Reply to this comment
Done so far:
  - Updated (this night) the whole server to Ubuntu Ubuntu 14.04 
(kernel: 3.13.0-24-generic)
  - Dovecot 2.2.9
  - Updated M$-Office 2013 to 15.0.4569.1503

Now when I create a Subfolder its created double..
And when a Email is deleted its doubled in Trash folder..

I have to recreate OL profile (delete profile on PC, delete any data 
list *.pst) and resynch, then the second copy of folder has gone.

Could it be a Problem with OL2013?

Trace for you in appendix.

05/09/2014 05:01:07 PM Michael Rubinsky Comment #4 Reply to this comment
Additionally, just in case this was related to the recently discussed 
issues regarding dovecot namespace and inbox subfolders, I just setup 
a fresh Ubuntu 14.04 VM with the DEFAULT dovecot setup and this also 
worked perfectly.
05/09/2014 02:11:32 PM Michael Rubinsky Comment #3 Reply to this comment
For the record, this works fine here:

OL telling horde to create the folder called "SubEmpty":

2014-05-09T10:08:27-04:00 DEBUG: [21971] I  <FolderHierarchy:FolderCreate>
2014-05-09T10:08:27-04:00 DEBUG: [21971] I   <FolderHierarchy:SyncKey>
2014-05-09T10:08:27-04:00 DEBUG: [21971] I     
{536cdfe1-0f8c-45a2-85c8-032dc0a80160}2
2014-05-09T10:08:27-04:00 DEBUG: [21971] I   </FolderHierarchy:SyncKey>
2014-05-09T10:08:27-04:00 DEBUG: [21971] I   <FolderHierarchy:ParentId>
2014-05-09T10:08:27-04:00 DEBUG: [21971] I     F958df506
2014-05-09T10:08:27-04:00 DEBUG: [21971] I   </FolderHierarchy:ParentId>
2014-05-09T10:08:27-04:00 DEBUG: [21971] I   <FolderHierarchy:DisplayName>
2014-05-09T10:08:27-04:00 DEBUG: [21971] I     SubEmpty
2014-05-09T10:08:27-04:00 DEBUG: [21971] I   </FolderHierarchy:DisplayName>
2014-05-09T10:08:27-04:00 DEBUG: [21971] I   <FolderHierarchy:Type>
2014-05-09T10:08:27-04:00 DEBUG: [21971] I     12
2014-05-09T10:08:27-04:00 DEBUG: [21971] I   </FolderHierarchy:Type>
2014-05-09T10:08:27-04:00 DEBUG: [21971] I  </FolderHierarchy:FolderCreate>


The response from Horde, indicating it was successfully created:

2014-05-09T10:08:27-04:00 DEBUG: [21971] O  <FolderHierarchy:FolderCreate>
2014-05-09T10:08:27-04:00 DEBUG: [21971] O   <FolderHierarchy:Status>
2014-05-09T10:08:27-04:00 DEBUG: [21971] O    1
2014-05-09T10:08:27-04:00 DEBUG: [21971] O   </FolderHierarchy:Status>
2014-05-09T10:08:27-04:00 DEBUG: [21971] O   <FolderHierarchy:SyncKey>
2014-05-09T10:08:27-04:00 DEBUG: [21971] O     
{536cdfe1-0f8c-45a2-85c8-032dc0a80160}3
2014-05-09T10:08:27-04:00 DEBUG: [21971] O   </FolderHierarchy:SyncKey>
2014-05-09T10:08:27-04:00 DEBUG: [21971] O   <FolderHierarchy:ServerEntryId>
2014-05-09T10:08:27-04:00 DEBUG: [21971] O    F6021fc5e
2014-05-09T10:08:27-04:00 DEBUG: [21971] O   </FolderHierarchy:ServerEntryId>
2014-05-09T10:08:27-04:00 DEBUG: [21971] O  </FolderHierarchy:FolderCreate>

The folder shows up both in Horde and OL without any extra folders or loops.
05/09/2014 09:21:29 AM Jan Schneider Comment #2
State ⇒ Feedback
Priority ⇒ 1. Low
Reply to this comment
And where is the Apache "crash"?
05/08/2014 03:24:38 PM patrick (at) spamreducer (dot) eu Comment #1
Priority ⇒ 3. High
State ⇒ Unconfirmed
New Attachment: outlook-new-folder.log Download
Patch ⇒ No
Milestone ⇒
Queue ⇒ Synchronization
Summary ⇒ ActiveSync: Creation of Subfolders in OL2013 results in apache crash
Type ⇒ Bug
Reply to this comment
Hello Guys,
we have encountert the following problem:

The scenario in details:
   - In Outlook a new folder is created below INBOX (Since german OL, 
it is called 'Posteingang'); -->foldername = "testfolder"
   - half a second later in Outlook the folder "testfolder" is shown, 
and also a second folder called "testfolder [1]"

From this moment on, the Mailserver (Horde) is going to create a 
endless loop between Horde and Mailclient (Outlook).

I have attached you some logfiles..

Have you an idea how to resolve this?

We are really in trouble, since our customer is using subfolders like 
on Exchange server..

Hopefully its not a problem like Ticket [#12945] ActiveSync: Deleting 
one email in Outlook 2013 results in two mails in Outlook 2013 trash 
folder

Sorry for my bad English..

Saved Queries