6.0.0-alpha12
6/12/25

[#14450] No outgoing Mail on Android and iPhone Devices via ActiveSync
Summary No outgoing Mail on Android and iPhone Devices via ActiveSync
Queue Synchronization
Queue Version Git master
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester nstrix.paal (at) gmail (dot) com
Created 08/23/2016 (3215 days ago)
Due
Updated 08/25/2016 (3213 days ago)
Assigned 08/23/2016 (3215 days ago)
Resolved 08/23/2016 (3215 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
08/25/2016 10:19:40 PM samuel (dot) wolf (at) wolf-maschinenbau (dot) de Comment #9 Reply to this comment
Horde_ActiveSync v2.28.6 is really old, in my eyes it make no sense to 
debug this.
Please upgrade to Horde_ActiveSync 2.35.0
08/24/2016 10:13:58 AM nstrix (dot) paal (at) gmail (dot) com Comment #8 Reply to this comment
Hi again,

finally got that smtp thing to work..
But now, we have some troubles with the connection to our mailboxes.
It seems the mails sent from the android phone will be 'uploaded' to 
the server and in this moment the active sync connection fails again.

But 2 mailboxes worked perfectly this morning.
No errors.

I uploaded the logfile for you -> 
http://www.file-upload.net/download-11877322/ANDROIDC1917531523.txt.html
Thanks again for help!

[Show Quoted Text - 21 lines]
08/23/2016 07:30:44 PM Michael Rubinsky Comment #7
State ⇒ Not A Bug
Reply to this comment
Can't upload rar files ...

i uploaded the logs to pastebin:

http://pastebin.com/AVLnzdPK
<Synchronize>
  <Status>
    142
  </Status>
</Synchronize>


This means the device attempting to connect is not provisioned with 
the server. Try recreating the account on the device - if that does 
not work, check administrative ActiveSync settings and make sure you 
have not disallowed this device.

For further support, please use the mailing list, as this is not a bug.


08/23/2016 04:33:46 PM nstrix (dot) paal (at) gmail (dot) com Comment #6 Reply to this comment
Can't upload rar files ...

i uploaded the logs to pastebin:

http://pastebin.com/AVLnzdPK

[Show Quoted Text - 108 lines]
08/23/2016 04:24:35 PM nstrix (dot) paal (at) gmail (dot) com Comment #5 Reply to this comment

[Show Quoted Text - 107 lines]
08/23/2016 04:23:27 PM nstrix (dot) paal (at) gmail (dot) com Comment #4 Reply to this comment
The following Logs were created after we've edited the read/write permissions:

See attachments.

[Show Quoted Text - 98 lines]
08/23/2016 04:18:52 PM nstrix (dot) paal (at) gmail (dot) com Comment #3
New Attachment: conf.php Download
Reply to this comment
Okay, we have a Horde 5.2.6 currently running with Plesk 12.5 in the 
background.
The devices communicate via a Postfix with Courier IMAP / POP3.

We have ActiveSync installed according to instructions -> 
http://wiki.horde.org/ActiveSync

We also use the latest Android and IOS version.

Our configuration:

domain.tld -> Here is the e-mail addresses are created.
Additional instructions for http and https:

RedirectMatch 301 / Microsoft-Server-ActiveSync https (i?): 
//eas.domain.tld/Microsoft-Server-ActiveSync
RedirectMatch 301 (? I) /autodiscover/autodiscover.xml
https: //eas.domain.tld/autodiscover/autodiscover.xml
RedirectMatch 301 /Autodiscover/Autodiscover.xml https (i?): 
//eas.domain.tld/autodiscover/autodiscover.xml
RedirectMatch 301 /AutoDiscover/AutoDiscover.xml https (i?): 
//eas.domain.tld/autodiscover/autodiscover.xml


eas.domain.tld -> This domain is used to retrieve the e-mails.
Additional instructions for http and https:

http: redirect 301 / https://eas.hassel-gruppe.de/

https:

RewriteEngine On
RewriteRule. * - [E = HTTP_MS_ASPROTOCOLVERSION:% {HTTP: Ms 
Asprotocolversion}]
RewriteRule. * - [E = HTTP_X_MS_POLICYKEY:% {HTTP: X-Ms-Policykey}]
. RewriteRule * - [E = HTTP_AUTHORIZATION:% {HTTP: Authorization}]
RewriteRule ^ / Microsoft-Server-ActiveSync 
/usr/share/psa-horde/rpc.php [L, QSA]

Alias ??/ Microsoft-Server-ActiveSync /usr/share/psa-horde/rpc.php
Alias ??/autodiscover/autodiscover.xml /usr/share/psa-horde/rpc.php
Alias ??/Autodiscover/Autodiscover.xml /usr/share/psa-horde/rpc.php
Alias ??/AutoDiscover/AutoDiscover.xml /usr/share/psa-horde/rpc.php

<Directory / usr / share / psa-horde>
AllowOverride FileInfo Limit
</ Directory>



autodiscover.domain.tld
Additional instructions for http and https:

http: redirect 301 / https: //autodiscover.domain.tld/

https:

RedirectMatch 302 /autodiscover/autodiscover.xml https (i?): 
//eas.domain.tld/autodiscover/autodiscover.xml
RedirectMatch 302 /Autodiscover/Autodiscover.xml https (i?): 
//eas.domain.tld/autodiscover/autodiscover.xml
RedirectMatch 302 /AutoDiscover/AutoDiscover.xml https (i?): 
//eas.domain.tld/autodiscover/autodiscover.xml



AutoDiscover we have today brought to run after a long search with 
this configuration.

The configuration file of horde is annexed.

We would like to use 993 ports for IMAPS, 993 for POP3S and 587 for SMTPS.

Interestingly, the sending and receiving from Outlook and Webmail works fine.

Only the delivery of mobile devices does not work.

What are we doing wrong??

Thank you!!
To further debug this issue, we need details of the Horde -> Device 
connection. It may also be beneficial to obtain a network capture.

To enable debugging, see instructions contained in the ActiveSync 
section of Horde's configuration. Also, see 
http://wiki.horde.org/ActiveSync for more details.
08/23/2016 03:11:51 PM Michael Rubinsky Queue ⇒ Synchronization
Version ⇒ Git master
 
08/23/2016 03:11:06 PM Michael Rubinsky State ⇒ Feedback
Priority ⇒ 1. Low
 
08/23/2016 03:10:57 PM Michael Rubinsky Comment #2 Reply to this comment
To further debug this issue, we need details of the Horde -> Device 
connection. It may also be beneficial to obtain a network capture.

To enable debugging, see instructions contained in the ActiveSync 
section of Horde's configuration. Also, see 
http://wiki.horde.org/ActiveSync for more details.
08/23/2016 03:03:08 PM nstrix (dot) paal (at) gmail (dot) com Comment #1
Patch ⇒ No
State ⇒ Unconfirmed
Milestone ⇒
Queue ⇒ Horde Base
Summary ⇒ No outgoing Mail on Android and iPhone Devices via ActiveSync
Type ⇒ Bug
Priority ⇒ 3. High
Reply to this comment
Hi,
We currently have a problem with sending emails from Android and IOS devices.
The devices can receive mail and contacts, etc. but mails sent only be 
moved to the Outbox and displayed with an error.

The logs from the mail server and the access_log vhosts (if we have 
the right viewed) show no errors ..
Ask for help!!

Best regards.

Saved Queries