[horde] Error sending email from iPhone saving to Sent

Michael J Rubinsky mrubinsk at horde.org
Tue Sep 2 13:49:43 UTC 2014


Quoting Simon Wilson <simon at simonandkate.net>:

> My wife received an email today, reading on iOS 7 through Horde  
> ActiveSync. She then tried to forward to me (same domain) and iOS  
> popped up an error saying "Cannot Send Mail The message was rejected  
> by the server".
>
> Now the message was actually successfully delivered to my inbox OK,  
> but was not saved to Katie's Sent folder. She replied to the same  
> email to the sender, and it sent OK and saved to Sent OK. It's just  
> the forward to me that fails. Every time...
>
> Logs:
>
> Maillog on the cyrus server indicates nothing out of the ordinary.  
> 250 Mail OK. Successfully delivered.
>
> Horde AS debug log has:
>
> 2014-09-02T20:19:44+10:00 INFO: [24463] Handling SENDMAIL command with Wbxml.
> 2014-09-02T20:19:44+10:00 DEBUG: [24463] I  <ComposeMail:SmartForward>
> 2014-09-02T20:19:44+10:00 DEBUG: [24463] I   <ComposeMail:ClientId>
> 2014-09-02T20:19:44+10:00 DEBUG: [24463] I      
> F90BB216-72AB-4782-8999-B8D58E004BE4
> 2014-09-02T20:19:44+10:00 DEBUG: [24463] I   </ComposeMail:ClientId>
> 2014-09-02T20:19:44+10:00 DEBUG: [24463] I   <ComposeMail:SaveInSentItems />
> 2014-09-02T20:19:44+10:00 DEBUG: [24463] I   <ComposeMail:ReplaceMime />
> 2014-09-02T20:19:44+10:00 DEBUG: [24463] I   <ComposeMail:Source>
> 2014-09-02T20:19:44+10:00 DEBUG: [24463] I    <ComposeMail:FolderId>
> 2014-09-02T20:19:44+10:00 DEBUG: [24463] I      F24c1d41f
> 2014-09-02T20:19:44+10:00 DEBUG: [24463] I    </ComposeMail:FolderId>
> 2014-09-02T20:19:44+10:00 DEBUG: [24463] I    <ComposeMail:ItemId>
> 2014-09-02T20:19:44+10:00 DEBUG: [24463] I      20576
> 2014-09-02T20:19:44+10:00 DEBUG: [24463] I    </ComposeMail:ItemId>
> 2014-09-02T20:19:44+10:00 DEBUG: [24463] I   </ComposeMail:Source>
> 2014-09-02T20:19:44+10:00 DEBUG: [24463] I   <ComposeMail:MIME>
> 2014-09-02T20:19:44+10:00 DEBUG: [24463] I     [47529 bytes of content]
> 2014-09-02T20:19:44+10:00 DEBUG: [24463] I   </ComposeMail:MIME>
> 2014-09-02T20:19:44+10:00 DEBUG: [24463] I  </ComposeMail:SmartForward>
> 2014-09-02T20:19:44+10:00 INFO: [24463] Preparing to copy to 'INBOX/Sent'
> 2014-09-02T20:19:44+10:00 ERR: IMAP error reported by server.
> 2014-09-02T20:19:44+10:00 DEBUG: [24463] O  <ComposeMail:SmartForward>
> 2014-09-02T20:19:44+10:00 DEBUG: [24463] O   <ComposeMail:Status>
> 2014-09-02T20:19:44+10:00 DEBUG: [24463] O    120
> 2014-09-02T20:19:44+10:00 DEBUG: [24463] O   </ComposeMail:Status>
> 2014-09-02T20:19:44+10:00 DEBUG: [24463] O  </ComposeMail:SmartForward>
> 2014-09-02T20:19:44+10:00 INFO: [24463] Maximum memory usage for  
> ActiveSync request: 14696648 bytes.
>
> An IMAP debug log shows one line that looks odd:
>
> --=_DVRCSRQyDcv5sEp5g735pA1--
> C:
> S: 13 NO Message contains NUL characters
>>> Command 13 took 0.0017 seconds.
>
> The client for some reason appears to be sending an empty line...
>
> This does not happen when she is replying normally to me, so I  
> suspect that it is something odd about the message that is causing a  
> hiccup somewhere down the line.
>
> I have the full IMAP log if that helps, but would rather not post in  
> full here.
>
> Any ideas?

Does the subject contain 8-bit characters, by any chance? If so, I  
just fixed an issue last night that was causing a similar issue. There  
was a fix in Horde_ActiveSync (which is already available via PEAR),  
and one fix in Horde_Core which is only in Git right now.



-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5869 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/horde/attachments/20140902/8c240e0b/attachment-0001.bin>


More information about the horde mailing list