[Tickets #13160] Cannot send email with ActiveSync

noreply at bugs.horde.org noreply at bugs.horde.org
Sat May 3 01:17:14 UTC 2014


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/13160
------------------------------------------------------------------------------
  Ticket             | 13160
  Created By         | asottile at gmail.com
  Summary            | Cannot send email with ActiveSync
  Queue              | Horde Framework Packages
  Version            | FRAMEWORK_5_1
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


asottile at gmail.com (2014-05-03 01:17) wrote:

I am using Horde with an IMAP backend to provide EAS support for an  
existing IMAP+SMTP server. Reading and sending messages work fine from  
the webmail. I can also read messages perfectly from a mobile device.  
Push notifications work too. Unfortunately, sending emails is  
impossible. Sent messages are correctly saved in the sent folder, but  
they are not delivered.

Inspecting the source code of the messages in the sent folder reveals  
errors in the structure of the message. Attached below there is one of  
this messages that are not sent by the SMTP server.
----------------------------------------

From: sender at server.com
Subject: Test
Message-Id: <5A958E86-0877-40AC-A78F-7018C9D212BF at gmail.com>
Date: Sat, 3 May 2014 02:48:18 +0200
To: Alberto <receiver at gmail.com>
User-Agent: Horde Application Framework 5
Content-Type: text/plain; charset=us-ascii
MIME-Version: 1.0



MESSAGE CONTENT
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: 7bit
From: sender at server.com
Mime-Version: 1.0 (1.0)
Subject: Test
Message-Id: <5A958E86-0877-40AC-A78F-7018C9D212BF at gmail.com>
Date: Sat, 3 May 2014 02:48:18 +0200
To: Alberto <receiver at gmail.com>



MESSAGE CONTENT

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

I believe that the presence of two Form: fields interferes with the  
message sending procedure from the SMTP server. I have no idea why the  
message is structured in this way by the ActiveSync wrapper. Messages  
sent from webmail are fine.

Inspecting the horde logs reveals two php errors with fseek() that  
occur whenever I send a message from the mobile device. I do not know  
if they are related with this issue or not.
-----------------------------------------

May  3 00:59:10 localhost HORDE: [horde] PHP ERROR: rewind(): stream  
does not support seeking [pid 15385 on line 124 of  
"/usr/share/php/Horde.php"]
May  3 00:59:10 localhost HORDE: [horde] PHP ERROR: fseek(): stream  
does not support seeking [pid 15385 on line 556 of  
"/usr/share/php/Horde/Stream.php"]

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

Software versions:
Horde Groupware 5.1.4
ActiveSync EAS 12.1 (but this also happens with 12.0, 14.0 and 14.1)
iOS 7.1.1

Alberto





More information about the bugs mailing list