Zentyal Forum, Linux Small Business Server

Zentyal Server => Installation and Upgrades => Topic started by: Torsten73 on March 11, 2014, 08:14:04 pm

Title: sogo-activesync package
Post by: Torsten73 on March 11, 2014, 08:14:04 pm
Hi,
explained here: http://comments.gmane.org/gmane.comp.groupware.sogo.user/16996 (http://comments.gmane.org/gmane.comp.groupware.sogo.user/16996)

activesync support should basically work, but there need to be some modifications to apache? I dont´t understand what i need to do. Maybe i better need to wait that on zentyal labs the howto will appear?

And i found a really new guide for it : https://lists.inverse.ca/sogo/arc/users/2014-02/msg00078.html (https://lists.inverse.ca/sogo/arc/users/2014-02/msg00078.html) https://github.com/inverse-inc/sogo/blob/master/Documentation/SOGo%20Installation%20Guide.odt (https://github.com/inverse-inc/sogo/blob/master/Documentation/SOGo%20Installation%20Guide.odt)

But they were speaking of sogo 2.2.1 . Is that the same like zentyal 3.4 will use? Edit: No its 2.2.0 Maybe with this version it´s impossible?

to use we simply modify :
Code: [Select]
To enable Microsoft ActiveSync support in SOGo, you must install the required packages.
 yum install sogo-activesync libwbxml
 
 
Once installed, simply uncomment the following lines from your SOGo Apache configuration:
 ProxyPass /Microsoft-Server-ActiveSync \
    http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync \
    retry=60 connectiontimeout=5 timeout=360
 
 
Restart Apache afterwards.
unfortunatly i don´t understand where i need to edit the apache...
Title: Re: sogo-activesync package
Post by: Torsten73 on March 11, 2014, 08:58:13 pm
for zentyal it seems to be /etc/apache2/sites-available/zentyal-sogo.conf

i added it at the end and restarted apache with warnings

Code: [Select]
root@zentyal-serv:/home/administrator# service apache2 restart
 * Restarting web server apache2                                                                                                                                                                              [Tue Mar 11 20:46:34.750215 2014] [proxy:warn] [pid 25494] AH01146: Ignoring parameter 'retry=60' for worker 'http://127.0.0.1:20000/SOGo' because of worker sharing
[Tue Mar 11 20:46:34.750429 2014] [proxy:warn] [pid 25494] AH01146: Ignoring parameter 'connectiontimeout=5' for worker 'http://127.0.0.1:20000/SOGo' because of worker sharing
[Tue Mar 11 20:46:34.750504 2014] [proxy:warn] [pid 25494] AH01146: Ignoring parameter 'timeout=360' for worker 'http://127.0.0.1:20000/SOGo' because of worker sharing
                                                                                                                                                                                                       [ OK]
when calling http://192.168.0.10/SOGo/Microsoft-Server-ActiveSync i will get a blank page. (i didn´t expect it working ...)
Title: Re: sogo-activesync package
Post by: jelleb on March 11, 2014, 10:21:45 pm
Hi, i suppose you don't have the RPC Proxy working ok? If not i don't think active sync is going to work.

I would like to see offical support for active sync in Zentyal so that i can kick Exchange out of the building.

Jelle
Title: Re: sogo-activesync package
Post by: jkerihuel on March 13, 2014, 01:50:40 pm
Hi Torsten,

Due to our schedule, activesync packages will be delayed and released about 2 weeks after the release. They will be available directly from zentyal repositories, ready to be deployed and used with no hassle.

There is no change of plans, just a more accurate schedule.

Br,
Julien.
Title: Re: sogo-activesync package
Post by: kockopes on March 13, 2014, 04:33:41 pm

Once installed, simply uncomment the following lines from your SOGo Apache configuration:
 ProxyPass /Microsoft-Server-ActiveSync \
    http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync \
    retry=60 connectiontimeout=5 timeout=360

for zentyal it seems to be /etc/apache2/sites-available/zentyal-sogo.conf

i added it at the end and restarted apache with warnings

Code: [Select]
root@zentyal-serv:/home/administrator# service apache2 restart
 * Restarting web server apache2                                                                                                                                                                              [Tue Mar 11 20:46:34.750215 2014] [proxy:warn] [pid 25494] AH01146: Ignoring parameter 'retry=60' for worker 'http://127.0.0.1:20000/SOGo' because of worker sharing
[Tue Mar 11 20:46:34.750429 2014] [proxy:warn] [pid 25494] AH01146: Ignoring parameter 'connectiontimeout=5' for worker 'http://127.0.0.1:20000/SOGo' because of worker sharing
[Tue Mar 11 20:46:34.750504 2014] [proxy:warn] [pid 25494] AH01146: Ignoring parameter 'timeout=360' for worker 'http://127.0.0.1:20000/SOGo' because of worker sharing
                                                                                                                                                                                                       [ OK]
when calling http://192.168.0.10/SOGo/Microsoft-Server-ActiveSync i will get a blank page. (i didn´t expect it working ...)

try restart server. you should see
"
An error occurred during object publishing

reason for HTTP error unknown
" in web browser instead of blank

i can connect from iOS7 via Exchange protocol (but unusable, all strings from contacts/calendar are stripped up to first UTF character, while item is created on ios, items stored via web or thunderbird are fine, mail looks fine , some convert issue while saving from ios, example saving contact "Niño" results "Ni"  )
Title: Re: sogo-activesync package
Post by: Torsten73 on March 14, 2014, 08:34:42 am
Hi Julien,
I am happy to get a clear answer. Then i don't need to spend time in research momentally. I don't hassel about 2 or 4 Weeks Moore :-)
Title: Re: sogo-activesync package
Post by: Torsten73 on March 26, 2014, 08:18:39 pm
a little push up  ;D any news ?
Title: Re: sogo-activesync package
Post by: jkerihuel on March 27, 2014, 02:11:26 pm
in the pipe for next week.

Br,
Julien.
Title: Re: sogo-activesync package
Post by: marcusone on March 27, 2014, 08:45:37 pm
in the pipe for next week.

Br,
Julien.

Awesome; please update this thread when its released!
Title: Re: sogo-activesync package
Post by: neroit on April 02, 2014, 05:48:16 pm
Any news regarding activesync package?

Thanks
Title: Re: sogo-activesync package
Post by: b.deivid on April 02, 2014, 07:33:32 pm
Yeah,

what about it ? Would like to test it and implement if possible !
Title: Re: sogo-activesync package
Post by: Torsten73 on April 02, 2014, 07:39:25 pm
be patient and wait.
Julien will give us an announce if it is ready. And the week is not over  ;) And i believe there will be an article on zentyal labs. This has been written somewhere here, when its ready.
And maybe there are too many bugs in pipe at the moment. But when julien says its comming this week i think it shouldn´t last very long.

In SOGo himself it´s working, so it should be surly possible in zentyal.
Title: Re: sogo-activesync package
Post by: MarcinK on April 07, 2014, 09:44:49 am
Any news about Sogo ActiveSync???
Title: Re: sogo-activesync package
Post by: J. A. Calvo on April 07, 2014, 09:59:30 am
Will be available this week for sure. We've had some delay because of the upgrade from 3.3 to 3.4. Please be patient :)
Title: Re: sogo-activesync package
Post by: J. A. Calvo on April 08, 2014, 04:06:52 pm
This is already available:

https://wiki.zentyal.org/wiki/ActiveSync

Let us know if you have any doubt!
Title: Re: sogo-activesync package
Post by: cz on April 08, 2014, 05:30:13 pm
Can you write some more info please?
pro /cons for z-push/sogo-activesync
THX
Title: Re: sogo-activesync package
Post by: l154 on April 08, 2014, 06:10:30 pm
Any chance on testing ActiveSync right now? Maybe some ready-to-install beta packages are (inofficially) available? It's... well, kind of annoying. And embarrassing. For me. I read that 3.4 included AS, told everyone that I'd deploy it on monday (yesterday) for our new project, just to find out that the only sign of integration is the nice banner you get while installing packages. I don't really want to mess around with the conf files and stuff, because the server is managed by non-professionals. That would be a last resort...

Anyway, I'd really appreciate if you would not advertise features that aren't there (yet). Im thankful that you guys provide such an outstanding all-in-one solution, free of charge, but this is really counter productive and - in my case - raises a lot of unpleasant questions.

Lish
Title: Re: sogo-activesync package
Post by: Torsten73 on April 08, 2014, 11:30:13 pm
@154,
i can´t really agree to you. Why didn´t you read first and test it by yourself? Zentyal 3.4 is a community edition. In my opinion and when you look in the bugtracker you will see many early problems, which needs to be solved.
So before using anything in productive cases, test it and look if it fits your requirements. And if you read only some posting earlier, you will see 2 way to your solution.
You should be able to install a simple package by yourselve, otherwise you should better not use a linux system.

And i published from beginning of beta that a active sync is nessesary. Here are many posting about using mobile devices with openchange.

@clave,
i would also like to a few more information about the difference between sogo-activesync and z-push. My first thought is, that sogo-sctivesync should work better because in sogo its available for openchange primary and they developed it to work together. z-push is the older one, no idea if this make sense btw what will be better supported and is in an active dev stage.

I am happy to read, that´s now ready for testing.

for getting a real free sbe replacement, i am willing to help and test as much i am possible to do  ;) :)
Title: Re: sogo-activesync package
Post by: blason on April 09, 2014, 10:07:57 am
in the pipe for next week.

Br,
Julien.
Title: Re: sogo-activesync package
Post by: blason on April 09, 2014, 10:10:05 am
Nah I tried installing packages but I am unable to see active-sync option under Openchange
Title: Re: sogo-activesync package
Post by: l154 on April 09, 2014, 10:33:12 am
Torsten,

I didn't realize someone already posted exactly what I was looking for. I read through the thread, bookmarked it, and wrote my response maybe 1 or 2 hours later. That's why I missed it. Dang! :-[

You see, I'm doing this work as an IT admin in my spare time - pro bono, meaning I don't earn anything from it. It's a non profit organization and as such we rely on software developed in the same spirit as we do our work -- free for those who can't afford a professionally supported solution. I think it's rather inappropriate to justify false advertisements with a price point. "It's free, so we don't have to take responsibility!" ?

Take a look at this:

Quote
Zentyal Mail offers native support for ActiveSync® protocol. This allows to synchronize mail, contacts, calendars and tasks in Android™ and iOS smartphones and tablets without having to install any additional connectors on the devices.

What would you think if you read this, install Zentyal, spend some hours setting up a test environment just to find out the feature you needed was not there? It is true that you, alongside others, provided a solution, and rest assured, I am able to implement such things in no time, and I am also thankful for your contributions. The point is, and I already pointed that out in my first reply, that the server is managed be non-IT-pros. They need a solid solution that works out-of-the-box with the current web interface. "Hacks" are just inacceptable for such a scenario, as they tend to break functionality quite easily if you fiddle with the wrong things (shit happens...).

So in the end, I disappointed a lot of people and wasted several hours because of simple misinformation. You can't honestly believe that reading a bugtracker and forums should be necessary to find out if advertised features are actually there! ???

Also, I think it should be possible to point such things out without getting downvoted several times.

Anyway. Glad you guys provided us with a beta package. Exactly what I needed!
Title: Re: sogo-activesync package
Post by: MarcinK on April 09, 2014, 11:42:30 am
I have successfully add my OpenChange account to Android smartphone, but email application can't connect to server.
(http://i.imgur.com/sI9cHem.png)
On server side:
Code: [Select]
172.25.27.80, 127.0.0.1 - - [09/Apr/2014:11:40:36 GMT] "POST /SOGo/Microsoft-Server-ActiveSync?Cmd=FolderSync&User=mkukielka2&DeviceId=android315964935738&DeviceType=Android HTTP/1.1" 200 19/13 0.006 - - 0
2014-04-09 11:40:36.837 sogod[20107] -[WEClientCapabilities initWithRequest:]: Unknown WebClient: user-agent='Android/4.1.2-EAS-1.3'
Apr 09 11:40:36 sogod [20107]: <0x0x7fb6e755c628[NGImap4Client]> Note: no key found for sorting, using 'DATE': (null)
2014-04-09 11:40:37.319 sogod[20107] Change detected, we push the content.
172.25.27.80, 127.0.0.1 - - [09/Apr/2014:11:40:37 GMT] "POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Sync&User=mkukielka2&DeviceId=android315964935738&DeviceType=Android HTTP/1.1" 200 901/69 0.487 - - 0
2014-04-09 11:40:37.947 sogod[20107] -[WEClientCapabilities initWithRequest:]: Unknown WebClient: user-agent='Android/4.1.2-EAS-1.3'
2014-04-09 11:40:37.951 sogod[20107] Change detected, we push the content.
127.0.0.1 - - [09/Apr/2014:11:40:37 GMT] "POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Sync&User=mkukielka2&DeviceId=android315964935738&DeviceType=Android HTTP/1.1" 200 51/62 0.007 - - 0
2014-04-09 11:40:38.068 sogod[20107] -[WEClientCapabilities initWithRequest:]: Unknown WebClient: user-agent='Android/4.1.2-EAS-1.3'
2014-04-09 11:40:38.073 sogod[20107] Change detected, we push the content.
127.0.0.1 - - [09/Apr/2014:11:40:38 GMT] "POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Sync&User=mkukielka2&DeviceId=android315964935738&DeviceType=Android HTTP/1.1" 200 52/68 0.008 - - 0
2014-04-09 11:40:40.346 sogod[20107] -[WEClientCapabilities initWithRequest:]: Unknown WebClient: user-agent='Android/4.1.2-EAS-1.3'
2014-04-09 11:40:40.347 sogod[20107] Got Ping request with valid interval - sleeping for 5 seconds.
127.0.0.1 - - [09/Apr/2014:11:40:45 GMT] "POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Ping&User=mkukielka2&DeviceId=android315964935738&DeviceType=Android HTTP/1.1" 200 18/82 5.004 - - 0
2014-04-09 11:40:46.281 sogod[20107] -[WEClientCapabilities initWithRequest:]: Unknown WebClient: user-agent='Android/4.1.2-EAS-1.3'
127.0.0.1 - - [09/Apr/2014:11:40:46 GMT] "POST /SOGo/Microsoft-Server-ActiveSync?Cmd=FolderSync&User=mkukielka2&DeviceId=android315964935738&DeviceType=Android HTTP/1.1" 200 19/13 0.006 - - 0
2014-04-09 11:40:49.857 sogod[20107] -[WEClientCapabilities initWithRequest:]: Unknown WebClient: user-agent='Android/4.1.2-EAS-1.3'
Apr 09 11:40:49 sogod [20107]: <0x0x7fb6e755c628[NGImap4Client]> Note: no key found for sorting, using 'DATE': (null)
2014-04-09 11:40:50.339 sogod[20107] Change detected, we push the content.
127.0.0.1 - - [09/Apr/2014:11:40:50 GMT] "POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Sync&User=mkukielka2&DeviceId=android315964935738&DeviceType=Android HTTP/1.1" 200 901/69 0.487 - - 0
2014-04-09 11:40:51.876 sogod[20107] -[WEClientCapabilities initWithRequest:]: Unknown WebClient: user-agent='Android/4.1.2-EAS-1.3'
2014-04-09 11:40:51.878 sogod[20107] Got Ping request with valid interval - sleeping for 5 seconds.
Title: Re: sogo-activesync package
Post by: l154 on April 09, 2014, 12:18:30 pm
Never used sogo, so I can't confirm if anythings wrong there. Check your firewall rules or maybe use a VPN tunnel to narrow it down. I am currently setting up AS myself, will report back if I encounter something similar.
Title: Re: sogo-activesync package
Post by: MarcinK on April 09, 2014, 02:02:41 pm
Never used sogo, so I can't confirm if anythings wrong there. Check your firewall rules or maybe use a VPN tunnel to narrow it down. I am currently setting up AS myself, will report back if I encounter something similar.

This is test server and I have direct connection via LAN.
Title: Re: sogo-activesync package
Post by: l154 on April 09, 2014, 05:51:44 pm
Yes, I thought so.

Anyway, the implementation seems to have a lot of bugs, but I won't go into details yet. The only thing that worked right out-of-the-box was the Z-Push package unencrypted. That's not much, but it's rather easy to narrow it down further from there. I had a working EAS connection from WAN, without tunneling, etc (which - ofc - is no use without SSL) in no time -- looks promising so far. Will report back once I figured out if the implementation is really that buggy, or something else caused all those problems.

Have you had any success with SoGo AS yet, Marcin?
Title: Re: sogo-activesync package
Post by: b.deivid on April 09, 2014, 06:58:30 pm
Hi,

I have installed the pakage without any issues. It is activated in openschange.
I tried to connect from Ipod, and I'm getting the notification: Unable to verify account information !
If I save the settings in Ipod without, although it can not connect, and disable SSL in additional settings, Ipod connects and gets all emails.
Problem is, there is no calendar and no contacts synch?
Is there any way to set zentyal to work on other port than standard SSL 443, so activesynch can have the port for it self?
Title: Re: sogo-activesync package
Post by: l154 on April 09, 2014, 07:51:54 pm
Pretty much the same I encountered. Cal and contacts sync (everything except SSL) did work tho, so it may be related to iOS. My Mac even refuses to connect to the normal SoGo Exchange service... Did you try webmail to confirm SoGo itself is working correctly? I set up Outlook to confirm everythings running as it should. If you plan on exposing AS to WAN, you could check Exchange connectivity via Microsoft website. Would also be helpful to see some logs.

Didn't have any time to investigate further regarding SSL access yet, will keep you updated.

EDIT: Here's a list for reviewing mobile device compat (Z-Push only!)... Might come in handy. http://www.zarafa.com/wiki/images/c/c7/Zarafa_Mobile_Compatibility.pdf
Title: Re: sogo-activesync package
Post by: MarcinK on April 10, 2014, 09:35:53 am
Have you had any success with SoGo AS yet, Marcin?
No, I have not. I'm configured Z-Push with SSL and that solution is only working. I get emails, contacts and calendar events.
Title: Re: sogo-activesync package
Post by: b.deivid on April 10, 2014, 10:56:05 am
Hi,

I managed to get everything working on Ipod - emails, contacts, calendar using sogo-activesync.
Title: Re: sogo-activesync package
Post by: MarcinK on April 11, 2014, 09:18:32 am
Hi,

I managed to get everything working on Ipod - emails, contacts, calendar using sogo-activesync.

Any special configuration you had make?
Title: Re: sogo-activesync package
Post by: b.deivid on April 11, 2014, 09:46:43 am
Hi,

I managed to get everything working on Ipod - emails, contacts, calendar using sogo-activesync.

Any special configuration you had make?

No, there is no special configuration.
Create an exchange account in IOS and when it says that the account could not be verified, just save the settings You have  made. After saving the account, modify it and in Advanced settings, disable SSL.
In all accounts settings check if PUSH is enabled.
Title: Re: sogo-activesync package
Post by: cz on April 13, 2014, 04:22:09 pm
Z-Push with SSL is working without contact synchronization
in log is:
... /usr/share/z-push/lib/default/diffbackend/exportcha ngesdiff.php:183 Creating default object from empty value (2)
... BackendCardDAV->GetMessage - Error getting vcard '4A67-53331400-F7-36FA5600' in 'b1037f90': Not found!
... BackendCardDAV->GetMessage(): vCard not found

Any idea pls?
Title: Re: sogo-activesync package
Post by: Torsten73 on April 22, 2014, 12:03:13 am
i had tried both packages with my android phone.
                            sogo-activesync                      z-push
email                    sync but no mails                   no config possible with android assistent
contacts                sync ok                               
calendar                sync ok

I had no luck with SSL only without.

Did i need to edit for z-push anything manually ? for zarafa it was not nessesary

Title: Re: sogo-activesync package
Post by: wkw911 on April 22, 2014, 09:39:43 am
Successfully login and download email using my android mobile phone. tested sent and received without issue. but noticed my PC outlook 2007 did not save sent email in my sent items box. second thing is offline address book still not there, cause a lot of sync issues messages appeared.

Core version 3.4.1 with latest component update. Using Z-push by follow the link provided. https://wiki.zentyal.org/wiki/ActiveSync
Title: Re: sogo-activesync package
Post by: Torsten73 on April 23, 2014, 08:28:37 pm
@wkw911
strange, did you first try z-push ? Because i first tried sogo-activesync and i removed it (purge) and after installation of z-push i can´t connect my phone with the settings i used for sogo-activesync. reconfiguring doesn´t help. I did exactly the same as written in the wiki, but i remember, that for z-push a config file exists, but i didn´t modify any file by hand.
Maybe here is another problem when changing moduls of zentyal.

I used a local ip for exchange server adresse, because my system is using only one nic behind a local fritzbox cablerouter. for mobile access i wanted to use openvpn, so i don´t need to open any ports on my router.

Title: Re: sogo-activesync package
Post by: wkw911 on April 25, 2014, 05:09:40 am
Yes, my 1st tried is Z-Push and it work fine for me. i can connect it through my router behind the firewall with port 80(without SSL and 443 with SSL) haven't try sogo activesync. I didn't change anything manually, just follow the wiki guide turn on the activesync and everything just work. The only thing I realized is my outlook 2007 did not save a copy of sent email in Sents folder. Seems like Zentyal openchange is not very stable yet and no where we can find out what is going wrong and also we cannot alter the setting manually.
Title: Re: sogo-activesync package
Post by: Torsten73 on April 29, 2014, 06:20:37 pm
Both packages are having problems. In short, z-push gives me authentification errors when trying to connect a active sync mobil device. But the credentials are ok, because the same settings are working with sogo-activesync. But here i have also errors after the first connection android isn´t possible to connect the imap server anymore. smtp sending is possible, also calendar and contacts.

Due to the beginning work on 3.5 i will stop searching for the reason in 3.4 .


Title: Re: sogo-activesync package
Post by: jp421 on July 21, 2014, 01:42:33 am
I found that when connecting via ActiveSync, the user name for z-push is different than the user name for sogo. When using z-push, use the email address for the user account you are connecting to in the username field. For example, in the domain\username field, if you are using z-push, enter "user@domain.lan" and nothing else (no DOMAIN\ portion). Works for me. When I switch to the sogo package, only "user" is required in this field, again no DOMAIN\ portion. Only problem I'm having now is that sogo won't actually sync anything for me. Z-push is the only one that works, and only with SSL disabled. I am on Android 4.1.2 and also Zentyal 3.4.
Title: Re: sogo-activesync package
Post by: Torsten73 on July 28, 2014, 09:50:31 pm
@jp421,
interesting, i tried it. but i am still unable to connect my 4.4 Android to zentyal. this time with z-push. What User name did you mean exactly?
The user from SOGo (internal mail adresse), where i log in WebIF, or the external mail adresse? i tried both ones and surely without ssl. No connection possible.
With sogo-activesync i have a connection, but only for 1 time sync, next day i get no sync anymore. Calender doesn´t work also, no errors but calender entries are unvisible and not syncronised anywhere i enter them.
so when you write user@domain.lan this means the internal email adresse for me. my external looks like my_realname@domain.com.
Title: Re: sogo-activesync package
Post by: dannyboy1121 on August 09, 2014, 11:16:49 pm
I found the guidance on this thread helped me get z-push and activesync up and running:

https://forum.zentyal.org/index.php?topic=12323.0 (https://forum.zentyal.org/index.php?topic=12323.0)

Specifically this:

I have mine running on 443 and it syncs calendars and contacts over SSL.  I have several android phones and they all work fine.... actually I even have it going through a reverse proxy first.

You have to make sure your port 443 works first (you have to change your zentyal administration port to something else and then activate SSL under the web-server module)  Once SSL is working and you can see the standard Apache it works screen when visiting the site your HTTPS, you should be able to setup active sync by following the directions provided.

Test if the page works by visiting https://your.domain/Microsoft-Server-ActiveSync through a regular browser.  See if it even comes up.... if you are successful I believe you see an error that says something along the lines this is for mobile devices only or your browser does not support this connection.  Either way you will know that it is working.... at that point you just have to setup active sync on the phone properly.
Title: Re: sogo-activesync package
Post by: thiagopredebon on October 14, 2014, 12:42:32 am
followed your easy instructions. but I cant get it to work on IOS
is there a port on my firewall that I should open for this purpose ?

thank you,
Title: Re: sogo-activesync package
Post by: thiagopredebon on October 14, 2014, 07:14:55 pm
Hi,

I managed to get everything working on Ipod - emails, contacts, calendar using sogo-activesync.

Any special configuration you had make?

No, there is no special configuration.
Create an exchange account in IOS and when it says that the account could not be verified, just save the settings You have  made. After saving the account, modify it and in Advanced settings, disable SSL.
In all accounts settings check if PUSH is enabled.

this way worked for me. but wihtout ssl that means less security ? and no encryption ?  thanks