First my version:There's an issue with sending mail through Syncroton, when SSL is disabled;
> [root@mail ~]# rpm -qv pykolab
> pykolab-0.8.0-4.1.el7.kolab_16.noarch * For some reason, the DOM seems to be `NULL`, which isn't getting handled correctly (see T1052#15103). This matter probably deserves some investigation, and could be split out in a separate ticket if so needed,
iOS-Version:
> 7.1.2
When sending a mail from the iPhone via Syncroton the following message appears:
> E-Mails können nicht gesendet werden
> Die Nachricht wurde vom Server abgelehnt
English:
> The mail cannot be sent
> The message was rejected by the server
Meanwhile this message appears in /var/log/kolab-syncroton/errors
```
[23-Feb-2016 12:47:54 Europe/Berlin] PHP Warning: simplexml_import_dom() expects parameter 1 to be object, null given in /usr/share/kolab-syncroton/lib/ext/Syncroton/Command/SendMail.php on line 46
[23-Feb-2016 12:47:54 Europe/Berlin] ERROR: Invalid response code received from server (554)
[23-Feb-2016 11:47:54,469600 +0100]: SMTP Error: SMTP error: Failed to send data. [554] 5.5.1 Error: no valid recipients in /usr/share/kolab-syncroton/lib/kolab_sync_message.php on line 224 (POST /Microsoft-Server-ActiveSync?User=test@domain.tkd&DeviceId=Applxyz&DeviceType=iPhone&Cmd=SendMail)
[23-Feb-2016 12:47:54,000000 +0100]: [WARN] {"user":"test@domain.tld","cmd":"SendMail","device":"Applxyz","type":"iPhone"} Syncroton_Command_SendMail::getResponse::82 Sending email failed: The server failed to submit the message for delivery
``` * #syncroton should probably not be attempting to connect to the SMTP / submission server for an email submission attempt it can reasonably know is going to fail,
* A better error message could be used.