Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: MS AcitiveSync for All Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
John Ye
Newbie
Newbie
Avatar

Joined: 26 March 2013
Location: China
Online Status: Offline
Posts: 12
Posted: 26 March 2013 at 6:12pm | IP Logged Quote John Ye


I tested the webmail with the download lite version. It’s great!

Currently I am writing the code for this great webmail to use Ms ActiveSync protocol.

With this, the Email, Contact and Calendar are synced together on various devices which support ActiveSync.
All kind of smart phones and Pads (Apple, Android and MS) have this sync method as the first choice without any additional client app required. And I was told MSOUTLOOK 2013 supports ActiveSync.

The code is running on z-push, it's called Z-push backend.
The work is 50% done. when 90% finished, I will publish a test server with test accounts.

John Ye

Back to Top View John Ye's Profile Search for other posts by John Ye
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 26 March 2013 at 11:12pm | IP Logged Quote Igor

Well, we're currently in process of adding Z-push support to WebMail Pro, and it will probably become available in terms of next v7 of the product. We agree that it's quite a convenient way of accessing your data through a single protocol.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
John Ye
Newbie
Newbie
Avatar

Joined: 26 March 2013
Location: China
Online Status: Offline
Posts: 12
Posted: 30 March 2013 at 11:35pm | IP Logged Quote John Ye

Igor wrote:
Well, we're currently in process of adding Z-push support to WebMail Pro, and it will probably become available in terms of next v7 of the product. We agree that it's quite a convenient way of accessing your data through a single protocol.

--
Regards,
Igor, AfterLogic Support


Thanks Igor for your quick reply.
v7 being ActiveSync-able will be great.

Now, I did it just for testing.
I setup a temporary test server:
mx.asimco.com 218.247.5.188
to use the webmail-php-lite, goto
https://mx.asimco.com/webmail
usernames: testuserN@asimco.com where N=(0,1,2...9),
password are the same: astester.

to setup the sync on phone
Add an Microsoft Exchange ActiveSync account,
username is testuser1(..9)@asimco.com
password astester
server mx.asimco.com
use SSL
accept all certificate.
That's all.

NOTE:
The username must be full email address.
domain part @asimco.com is always required.

Currently, I don't add the sync for user-created folders.
and the sync does not use IMAP protocal.
(The mail system is a qmail clone).

John Ye
Back to Top View John Ye's Profile Search for other posts by John Ye
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 31 March 2013 at 11:44pm | IP Logged Quote Igor

Thank you for sharing the access details. Just in case, I wanted to warn you that the information posted on this forum is available for public. Anyway, I'm notifying the developers on this one. Cannot promise anything but if they have any comments we'll let you know.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
John Ye
Newbie
Newbie
Avatar

Joined: 26 March 2013
Location: China
Online Status: Offline
Posts: 12
Posted: 01 April 2013 at 12:27am | IP Logged Quote John Ye

Igor wrote:
Thank you for sharing the access details. Just in case, I wanted to warn you that the information posted on this forum is available for public. Anyway, I'm notifying the developers on this one. Cannot promise anything but if they have any comments we'll let you know.

--
Regards,
Igor, AfterLogic Support


-----------------
Thanks Igor.
It's OK, the server is only a test server, it will affect nothing.

Now it's not perfectly working because I doesn't use IMAP for the sync code to access the mail message. OS level mail file operation sync may make the mail go-away while webmail is still using it through IMAP.

By the way, Can the webmail-php use different db for users in different address domain? it seems that is uses only one db for all users.
Some mail server has many domains that has nothing to do with each other.

Thanks.

John Ye

Back to Top View John Ye's Profile Search for other posts by John Ye
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 01 April 2013 at 12:32am | IP Logged Quote Igor

Quote:
it seems that is uses only one db for all users.


That's correct, and there's no simple way to make it work any other way. Also, as long as IMAP is concerned, database storage isn't used for mails anyway, so I don't really see a potential benefit from splitting handling users to separate tables or even separate DBs.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
John Ye
Newbie
Newbie
Avatar

Joined: 26 March 2013
Location: China
Online Status: Offline
Posts: 12
Posted: 01 April 2013 at 12:41am | IP Logged Quote John Ye

Igor wrote:
Quote:
it seems that is uses only one db for all users.


That's correct, and there's no simple way to make it work any other way. Also, as long as IMAP is concerned, database storage isn't used for mails anyway, so I don't really see a potential benefit from splitting handling users to separate tables or even separate DBs.

--
Regards,
Igor, AfterLogic Support


==========
OK i understand.

Using IMAP and keeping mail message out of DB is the right way for webmail.

John Ye
Back to Top View John Ye's Profile Search for other posts by John Ye
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 01 April 2013 at 1:00am | IP Logged Quote Igor

We did a quick check and it doesn't seem to work, we're getting either "connection to server failed" or the connection is fine but no data obtained.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
John Ye
Newbie
Newbie
Avatar

Joined: 26 March 2013
Location: China
Online Status: Offline
Posts: 12
Posted: 01 April 2013 at 1:15am | IP Logged Quote John Ye

Igor wrote:
We did a quick check and it doesn't seem to work, we're getting either "connection to server failed" or the connection is fine but no data obtained.

--
Regards,
Igor, AfterLogic Support


It should be work...
I tested it from other IPs inside China.But it may be having some problem for you because you are accessing the server with HTTPS from outside of China.

Can you ping the server mx.asimco.com ( 218.247.5.188)?
if you can, you may
telnet mx.asimco.com 25
see if you can get response
then you telnet mx.asimco.com 80
GET
you will get the http response.
If you can't use HTTPS, you may use HTTP.

If it still fails, I may setup a proxy server in US for you.

John Ye
Back to Top View John Ye's Profile Search for other posts by John Ye
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 01 April 2013 at 1:18am | IP Logged Quote Igor

Our support and development center is located in Russia, actually. And we were able to log into your webmail installation, but the connection doesn't work reliably. It doesn't look like a firewall issue, maybe it's our ISP or something.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
John Ye
Newbie
Newbie
Avatar

Joined: 26 March 2013
Location: China
Online Status: Offline
Posts: 12
Posted: 01 April 2013 at 1:32am | IP Logged Quote John Ye

Igor wrote:
We did a quick check and it doesn't seem to work, we're getting either "connection to server failed" or the connection is fine but no data obtained.

--
Regards,
Igor, AfterLogic Support


====
Igor,

you try this https://12.51.93.20/webmail
see if working.

If not, I will do something then let you know when I finish.

John Ye
Back to Top View John Ye's Profile Search for other posts by John Ye
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 01 April 2013 at 1:42am | IP Logged Quote Igor

We didn't have problems with connecting to WebMail, iPad displayed those errors when connecting via ActiveSync.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
John Ye
Newbie
Newbie
Avatar

Joined: 26 March 2013
Location: China
Online Status: Offline
Posts: 12
Posted: 01 April 2013 at 1:51am | IP Logged Quote John Ye

Igor wrote:
We didn't have problems with connecting to WebMail, iPad displayed those errors when connecting via ActiveSync.

--
Regards,
Igor, AfterLogic Support


----
OK, if https webmail no problem, then the IPAD should be no problem,
because they are using the same channel https
you use SSL connection on ipad.
and the username must be testuser1@asimco.com (NOT testuser1!)
use SSL connection, server is mx.asimco.com or 12.51.93.20(proxy)
accept all certificate
try again.

I will check the log on server to see what's wrong with you.

John Ye
Back to Top View John Ye's Profile Search for other posts by John Ye
 
John Ye
Newbie
Newbie
Avatar

Joined: 26 March 2013
Location: China
Online Status: Offline
Posts: 12
Posted: 01 April 2013 at 2:01am | IP Logged Quote John Ye

Igor,

I found you are Ok with testuser6@asimco.com

John Ye
Back to Top View John Ye's Profile Search for other posts by John Ye
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 01 April 2013 at 2:46am | IP Logged Quote Igor

Sorry, a quick check is all we intended to do on this. Best of luck to you with your solution!

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
John Ye
Newbie
Newbie
Avatar

Joined: 26 March 2013
Location: China
Online Status: Offline
Posts: 12
Posted: 01 April 2013 at 11:12pm | IP Logged Quote John Ye

Igor wrote:
Sorry, a quick check is all we intended to do on this. Best of luck to you with your solution!

--
Regards,
Igor, AfterLogic Support


--------
Thanks for you check.

Regard to this Sync function in your v7 development,
I may be of some kind of help if you need.

Thanks to the z-push coding team who make this work much easier.

John Ye
Back to Top View John Ye's Profile Search for other posts by John Ye
 
John Ye
Newbie
Newbie
Avatar

Joined: 26 March 2013
Location: China
Online Status: Offline
Posts: 12
Posted: 02 April 2013 at 8:07pm | IP Logged Quote John Ye

Igor wrote:
Quote:
it seems that is uses only one db for all users.


That's correct, and there's no simple way to make it work any other way. Also, as long as IMAP is concerned, database storage isn't used for mails anyway, so I don't really see a potential benefit from splitting handling users to separate tables or even separate DBs.

--
Regards,
Igor, AfterLogic Support



-------------------------------------
Igor,

I feel it's better to use different db for different domain, at least in some cases, for example, in an email server with 10+ domains which are not related to each other in any way.

With separate db, admin person can backup each domain's data separately, and the db performance may be better when users have huge contact list to store.

In the last few days, I have successfully revised webmail lite code to realize one db for one domain (domain db).
The change is very trivial, less than 20 lines in 4 files. It seems to work.
You can test it with https://mx.asimco.com/webmail-pub

I need to give the revised code back to you. May I post them here?

John Ye

Back to Top View John Ye's Profile Search for other posts by John Ye
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 02 April 2013 at 10:21pm | IP Logged Quote Igor

Well yes, if it's about large amount of contacts, this makes sense indeed.

WebMail Lite licensing (AGPLv3) requires that you make the modified source code available to end-users, not to us. But you can certainly provide a download link in here, just in case other community members might find this modification useful for them.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
John Ye
Newbie
Newbie
Avatar

Joined: 26 March 2013
Location: China
Online Status: Offline
Posts: 12
Posted: 02 April 2013 at 11:04pm | IP Logged Quote John Ye

Igor wrote:
Well yes, if it's about large amount of contacts, this makes sense indeed.

WebMail Lite licensing (AGPLv3) requires that you make the modified source code available to end-users, not to us. But you can certainly provide a download link in here, just in case other community members might find this modification useful for them.

--
Regards,
Igor, AfterLogic Support


------------
Igor,

I put the tar.gz onto a ftp server
ftp.asimco.com
user:webmail
pass:alogic
the package name webmaillite-multidb.tar.gz

The file howto-use-multiDB in root dir explains how to config multidb

John Ye
Back to Top View John Ye's Profile Search for other posts by John Ye
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 02 April 2013 at 11:16pm | IP Logged Quote Igor

Nice, thanks for sharing this. Though I'd probably put this as a simple download link if I were you

I'm now posting a news feed on this one via Twitter and Facebook to increase a chance more people find this useful.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
John Ye
Newbie
Newbie
Avatar

Joined: 26 March 2013
Location: China
Online Status: Offline
Posts: 12
Posted: 02 April 2013 at 11:36pm | IP Logged Quote John Ye

Igor wrote:
Nice, thanks for sharing this. Though I'd probably put this as a simple download link if I were you

I'm now posting a news feed on this one via Twitter and Facebook to increase a chance more people find this useful.

--
Regards,
Igor, AfterLogic Support


Igor,

You can download it, put it to a better ftp server in your company without password.
I have not fully tested it, so it needs testing.

John Ye
Back to Top View John Ye's Profile Search for other posts by John Ye
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide