[horde] Horde 5beta5 activesync problem with plain messages

Tomi Orava Tomi.Orava at ncircle.nullnet.fi
Mon Sep 24 21:21:50 UTC 2012


Hi,

Has anyone else noticed a similar problem where the latest 5.0.0beta5  
horde is completely ignoring all the imap mailbox mails that are NOT  
html messages ? I've been playing with a Samsung Galaxy S3 mobile  
phone and it's completely missing all the plain non-html mails from  
its inbox that is synced from the horde via activesync v12.01.

After enabling quite a lot of debug, it seems that the problem lies on  
the horde end and the activesync driver really is having problems in  
delivering plain messages to the client:

A working html mail is processed like:

2012-09-25T00:05:30+03:00 DEBUG: Polling  
Horde_ActiveSync_Driver_Horde::_getMailFolders()
2012-09-25T00:05:30+03:00 DEBUG: Sending HTML Message.
2012-09-25T00:05:30+03:00 DEBUG: O     <Commands>
2012-09-25T00:05:30+03:00 DEBUG: O      <Add>
2012-09-25T00:05:30+03:00 DEBUG: O       <ServerEntryId>
2012-09-25T00:05:30+03:00 DEBUG: O        38730
2012-09-25T00:05:30+03:00 DEBUG: O       <ServerEntryId/>
2012-09-25T00:05:30+03:00 DEBUG: O       <Data>
2012-09-25T00:05:30+03:00 DEBUG: O        <POOMMAIL:To>
<snip>

However, a plain mail only gets:

2012-09-25T00:05:30+03:00 DEBUG: Horde::getMessage(INBOX, 38733)
2012-09-25T00:05:30+03:00 ERR: Mail server closed the connection unexpectedly.
2012-09-25T00:05:30+03:00 ERR: Unknown backend error skipping message:  
Mail server closed the connection unexpectedly.
2012-09-25T00:05:30+03:00 DEBUG: Updating state during change


An example of a "plain mail" is here:

From: monit at foobar.foo.com
To: root at foobar.foo.com
Subject: monit alert --  PID changed apache
Date: Mon, 24 Sep 2012 21:00:53 GMT
X-Mailer: monit 5.3.2
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
Message-id: <1348520453.981209251 at foobar.foo.com>

PID changed Service apache

	Date:        Tue, 25 Sep 2012 00:00:53
	Action:      alert
	Host:        foobar.foo.com
	Description: process PID changed from 31106 to 32123

Your faithful employee,
Monit

---------------------------------------

It's pretty much what you get by running:

echo -e "To: root\nSubject: test\n\nfoobar test"


Tomi Orava



More information about the horde mailing list