Mailing List CGatePro@mail.stalker.com Message #94792
From: Martin.Hepworth <martinh@solidstatelogic.com>
Subject: RE: Windows Mobile 5 and AirSync
Date: Fri, 18 Apr 2008 08:40:44 +0100
To: CommuniGate Pro Discussions <CGatePro@mail.stalker.com>
X-Mailer: CommuniGate Pro MAPI Connector 1.51.15.1/1.51.16.1
Shaun

I've found that redirecting the ports on firewalls doesn't work well at all.

It HAS to be port 80 and/or 443 for airsync to work. Why you wouldn't want to use 443 of course is your desciscion, but I wouldn't want all my email flowing clear text over mobile networks..

--
Martin Hepworth
Snr Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300

> -----Original Message-----
> From: CommuniGate Pro Discussions [mailto:CGatePro@mail.stalker.com] On
> Behalf Of Shaun Gamble
> Sent: 18 April 2008 08:03
> To: CommuniGate Pro Discussions
> Subject: Windows Mobile 5 and AirSync
>
> For some reason I cannot get this to work.
>
> CGP 5.2.2 is running on Windows 2003. IIS also runs on this server. It
> listens for mail.mydomain.dom and redirects to mail.mydomain.dom:8100
> Directory Integration is disabled.
>
> I've tried connecting via wireless and GPRS. I can logon to webmail with
> the account used. However, trying to Sync with "Exchange Server" in WM
> ActiveSync just shows incorrect password.
>
> Here are the server logs:
>
> 16:26:36.686 5 HTTPU [0.0.0.0]:8100 <- [LANGatewayIPAddress]:1487
> connection request. socket=432
> 16:26:36.686 5 HTTPU new VStream created, 1 total
> 16:26:36.686 5 HTTPU stream thread started
> 16:26:36.686 4 HTTPU-000005([LANGatewayIPAddress]) got connection on
> [CGPIPAddress]:8100(mydomain.dom) from [LANGatewayIPAddress]:1487
> 16:26:36.686 5 HTTPU-000005([LANGatewayIPAddress]) inp: OPTIONS
> /Microsoft-Server-ActiveSync HTTP/1.1
> 16:26:36.686 5 HTTPU-000005([LANGatewayIPAddress]) inp: Accept-Language:
> en-au
> 16:26:36.686 5 HTTPU-000005([LANGatewayIPAddress]) inp: MS-
> ASProtocolVersion: 2.5
> 16:26:36.686 5 HTTPU-000005([LANGatewayIPAddress]) inp: X-MS-PolicyKey: 0
> 16:26:36.686 5 HTTPU-000005([LANGatewayIPAddress]) inp: User-Agent: MSFT-
> PPC/5.1.2300
> 16:26:36.686 5 HTTPU-000005([LANGatewayIPAddress]) inp: Host:
> mail.mydomain.dom
> 16:26:36.686 5 HTTPU-000005([LANGatewayIPAddress]) inp: Content-Length: 0
> 16:26:36.686 5 HTTPU-000005([LANGatewayIPAddress]) inp: Connection: Keep-
> Alive
> 16:26:36.686 5 HTTPU-000005([LANGatewayIPAddress]) inp: Cache-Control: no-
> cache
> 16:26:36.686 5 HTTPU-000005([LANGatewayIPAddress]) inp:
> 16:26:36.686 4 HTTPU-000005([LANGatewayIPAddress]) req(0): OPTIONS
> /Microsoft-Server-ActiveSync
> 16:26:36.686 2 HTTPU-000005([LANGatewayIPAddress])
> Unauthorized.wssp(mydomain.dom) retrieved
> 16:26:36.686 5 HTTPU-000005([LANGatewayIPAddress]) hdr: HTTP/1.1 401
> Authentication required
> 16:26:36.686 5 HTTPU-000005([LANGatewayIPAddress]) hdr: Content-Length:
> 556
> 16:26:36.686 5 HTTPU-000005([LANGatewayIPAddress]) hdr: Connection: keep-
> alive
> 16:26:36.686 5 HTTPU-000005([LANGatewayIPAddress]) hdr: Date: Fri, 18 Apr
> 2008 06:56:36 GMT
> 16:26:36.686 5 HTTPU-000005([LANGatewayIPAddress]) hdr: Content-Type:
> text/html;charset=iso-8859-1
> 16:26:36.686 5 HTTPU-000005([LANGatewayIPAddress]) hdr: Server: Microsoft-
> IIS/6.0
> 16:26:36.686 5 HTTPU-000005([LANGatewayIPAddress]) hdr: WWW-Authenticate:
> NTLM
> 16:26:36.686 5 HTTPU-000005([LANGatewayIPAddress]) hdr: WWW-Authenticate:
> BASIC realm="mail.mydomain.dom"
> 16:26:36.686 5 HTTPU-000005([LANGatewayIPAddress]) hdr:
> 16:26:36.686 4 HTTPU-000005([LANGatewayIPAddress]) rsp(556): 401
> Authentication required
> 16:26:36.686 5 HTTPU-000005([LANGatewayIPAddress]) out: HTTP/1.1 401
> Authentication required\r\nContent-Length: 556\r\nConnection: keep-
> alive\r\nDate: Fri, 18 Apr 2008 06:56:36 GMT\r\nContent-Type:
> text/html;charset=iso-8859-1\r\nServer: Microsoft-IIS/6.0\r\nWWW-
> Authenticate: NTLM\r\nWWW-Authenticate: BAS
> 16:26:36.999 5 HTTPU-000005([LANGatewayIPAddress]) inp: OPTIONS
> /Microsoft-Server-ActiveSync HTTP/1.1
> 16:26:36.999 5 HTTPU-000005([LANGatewayIPAddress]) inp: Accept-Language:
> en-au
> 16:26:36.999 5 HTTPU-000005([LANGatewayIPAddress]) inp: MS-
> ASProtocolVersion: 2.5
> 16:26:36.999 5 HTTPU-000005([LANGatewayIPAddress]) inp: X-MS-PolicyKey: 0
> 16:26:36.999 5 HTTPU-000005([LANGatewayIPAddress]) inp: User-Agent: MSFT-
> PPC/5.1.2300
> 16:26:36.999 5 HTTPU-000005([LANGatewayIPAddress]) inp: Host:
> mail.mydomain.dom
> 16:26:36.999 5 HTTPU-000005([LANGatewayIPAddress]) inp: Connection: Keep-
> Alive
> 16:26:36.999 5 HTTPU-000005([LANGatewayIPAddress]) inp: Cache-Control: no-
> cache
> 16:26:36.999 5 HTTPU-000005([LANGatewayIPAddress]) inp: Authorization:
> Basic cmVkY28uY29tLmF1XHNnYW1ibGU6Zm5DS00zbjB3
> 16:26:36.999 5 HTTPU-000005([LANGatewayIPAddress]) inp: Content-Length: 0
> 16:26:36.999 5 HTTPU-000005([LANGatewayIPAddress]) inp:
> 16:26:36.999 4 HTTPU-000005([LANGatewayIPAddress]) req(0): OPTIONS
> /Microsoft-Server-ActiveSync
> 16:26:36.999 5 HTTPU-000005([LANGatewayIPAddress]) hdr: HTTP/1.1 200 OK
> 16:26:36.999 5 HTTPU-000005([LANGatewayIPAddress]) hdr: Content-Length: 0
> 16:26:36.999 5 HTTPU-000005([LANGatewayIPAddress]) hdr: Connection: keep-
> alive
> 16:26:36.999 5 HTTPU-000005([LANGatewayIPAddress]) hdr: Date: Fri, 18 Apr
> 2008 06:56:36 GMT
> 16:26:36.999 5 HTTPU-000005([LANGatewayIPAddress]) hdr: Server: Microsoft-
> IIS/6.0
> 16:26:36.999 5 HTTPU-000005([LANGatewayIPAddress]) hdr: Public: OPTIONS,
> POST
> 16:26:36.999 5 HTTPU-000005([LANGatewayIPAddress]) hdr: Allow: OPTIONS,
> POST
> 16:26:36.999 5 HTTPU-000005([LANGatewayIPAddress]) hdr: MS-Server-
> ActiveSync: 6.5.7638.1
> 16:26:36.999 5 HTTPU-000005([LANGatewayIPAddress]) hdr: MS-
> ASProtocolVersions: 1.0,2.0,2.1,2.5
> 16:26:36.999 5 HTTPU-000005([LANGatewayIPAddress]) hdr:+MS-
> ASProtocolCommands:
> Sync,SendMail,SmartForward,SmartReply,GetAttachment,GetHierarchy,CreateCol
> lection,DeleteCollection,MoveCollection,FolderSync,FolderCreate,FolderDele
> te,FolderUpdate,MoveItems,GetItemEstimate,MeetingResponse,Re
> 16:26:36.999 5 HTTPU-000005([LANGatewayIPAddress]) hdr:
> solveRecipients,ValidateCert,Provision,Search,Notify,Ping
> 16:26:36.999 5 HTTPU-000005([LANGatewayIPAddress]) hdr:
> 16:26:36.999 4 HTTPU-000005([LANGatewayIPAddress]) rsp(0): 200 OK
> 16:26:36.999 5 HTTPU-000005([LANGatewayIPAddress]) out: HTTP/1.1 200
> OK\r\nContent-Length: 0\r\nConnection: keep-alive\r\nDate: Fri, 18 Apr
> 2008 06:56:36 GMT\r\nServer: Microsoft-IIS/6.0\r\nPublic: OPTIONS,
> POST\r\nAllow: OPTIONS, POST\r\nMS-Server-ActiveSync: 6.5.7638.1\r\nMS-
> ASProtocolVersions: 1.0,2.0,
> 16:26:37.483 5 HTTPU-000005([LANGatewayIPAddress]) inp: GET /Microsoft-
> Server-ActiveSync HTTP/1.1
> 16:26:37.483 5 HTTPU-000005([LANGatewayIPAddress]) inp: Accept-Language:
> en-au
> 16:26:37.483 5 HTTPU-000005([LANGatewayIPAddress]) inp: MS-
> ASProtocolVersion: 2.5
> 16:26:37.483 5 HTTPU-000005([LANGatewayIPAddress]) inp: Content-Length: 0
> 16:26:37.483 5 HTTPU-000005([LANGatewayIPAddress]) inp: X-MS-PolicyKey: 0
> 16:26:37.483 5 HTTPU-000005([LANGatewayIPAddress]) inp: User-Agent: MSFT-
> PPC/5.1.2300
> 16:26:37.483 5 HTTPU-000005([LANGatewayIPAddress]) inp: Host:
> mail.mydomain.dom
> 16:26:37.483 5 HTTPU-000005([LANGatewayIPAddress]) inp: Connection: Keep-
> Alive
> 16:26:37.483 5 HTTPU-000005([LANGatewayIPAddress]) inp: Cache-Control: no-
> cache
> 16:26:37.483 5 HTTPU-000005([LANGatewayIPAddress]) inp:
> 16:26:37.483 4 HTTPU-000005([LANGatewayIPAddress]) req(0): GET /Microsoft-
> Server-ActiveSync
> 16:26:37.483 2 HTTPU-000005([LANGatewayIPAddress])
> Unauthorized.wssp(mydomain.dom) retrieved
> 16:26:37.483 5 HTTPU-000005([LANGatewayIPAddress]) hdr: HTTP/1.1 401
> Authentication required
> 16:26:37.483 5 HTTPU-000005([LANGatewayIPAddress]) hdr: Content-Length:
> 556
> 16:26:37.483 5 HTTPU-000005([LANGatewayIPAddress]) hdr: Connection: keep-
> alive
> 16:26:37.483 5 HTTPU-000005([LANGatewayIPAddress]) hdr: Date: Fri, 18 Apr
> 2008 06:56:37 GMT
> 16:26:37.483 5 HTTPU-000005([LANGatewayIPAddress]) hdr: Content-Type:
> text/html;charset=iso-8859-1
> 16:26:37.483 5 HTTPU-000005([LANGatewayIPAddress]) hdr: Server: Microsoft-
> IIS/6.0
> 16:26:37.483 5 HTTPU-000005([LANGatewayIPAddress]) hdr: WWW-Authenticate:
> NTLM
> 16:26:37.483 5 HTTPU-000005([LANGatewayIPAddress]) hdr: WWW-Authenticate:
> BASIC realm="mail.mydomain.dom"
> 16:26:37.483 5 HTTPU-000005([LANGatewayIPAddress]) hdr:
> 16:26:37.483 4 HTTPU-000005([LANGatewayIPAddress]) rsp(556): 401
> Authentication required
> 16:26:37.483 5 HTTPU-000005([LANGatewayIPAddress]) out: HTTP/1.1 401
> Authentication required\r\nContent-Length: 556\r\nConnection: keep-
> alive\r\nDate: Fri, 18 Apr 2008 06:56:37 GMT\r\nContent-Type:
> text/html;charset=iso-8859-1\r\nServer: Microsoft-IIS/6.0\r\nWWW-
> Authenticate: NTLM\r\nWWW-Authenticate: BAS
> 16:26:56.342 3 HTTPU-000005([LANGatewayIPAddress]) read failed. Error
> Code=connection reset by peer
> 16:26:56.342 4 HTTPU-000005([LANGatewayIPAddress]) closing connection
> 16:26:56.342 4 HTTPU-000005([LANGatewayIPAddress]) releasing stream
> 16:26:56.374 5 HTTPU [0.0.0.0]:8100 <- [LANGatewayIPAddress]:1489
> connection request. socket=432
> 16:26:56.374 4 HTTPU-000006([LANGatewayIPAddress]) got connection on
> [CGPIPAddress]:8100(mydomain.dom) from [LANGatewayIPAddress]:1489
> 16:26:56.374 5 HTTPU-000006([LANGatewayIPAddress]) inp: GET /Microsoft-
> Server-ActiveSync HTTP/1.1
> 16:26:56.374 5 HTTPU-000006([LANGatewayIPAddress]) inp: Accept-Language:
> en-au
> 16:26:56.374 5 HTTPU-000006([LANGatewayIPAddress]) inp: MS-
> ASProtocolVersion: 2.5
> 16:26:56.374 5 HTTPU-000006([LANGatewayIPAddress]) inp: Content-Length: 0
> 16:26:56.374 5 HTTPU-000006([LANGatewayIPAddress]) inp: X-MS-PolicyKey: 0
> 16:26:56.374 5 HTTPU-000006([LANGatewayIPAddress]) inp: User-Agent: MSFT-
> PPC/5.1.2300
> 16:26:56.374 5 HTTPU-000006([LANGatewayIPAddress]) inp: Host:
> mail.mydomain.dom
> 16:26:56.374 5 HTTPU-000006([LANGatewayIPAddress]) inp: Connection: Keep-
> Alive
> 16:26:56.374 5 HTTPU-000006([LANGatewayIPAddress]) inp: Cache-Control: no-
> cache
> 16:26:56.374 5 HTTPU-000006([LANGatewayIPAddress]) inp:
> 16:26:56.374 4 HTTPU-000006([LANGatewayIPAddress]) req(0): GET /Microsoft-
> Server-ActiveSync
> 16:26:56.374 2 HTTPU-000006([LANGatewayIPAddress])
> Unauthorized.wssp(mydomain.dom) retrieved
> 16:26:56.374 5 HTTPU-000006([LANGatewayIPAddress]) hdr: HTTP/1.1 401
> Authentication required
> 16:26:56.374 5 HTTPU-000006([LANGatewayIPAddress]) hdr: Content-Length:
> 556
> 16:26:56.374 5 HTTPU-000006([LANGatewayIPAddress]) hdr: Connection: keep-
> alive
> 16:26:56.374 5 HTTPU-000006([LANGatewayIPAddress]) hdr: Date: Fri, 18 Apr
> 2008 06:56:56 GMT
> 16:26:56.374 5 HTTPU-000006([LANGatewayIPAddress]) hdr: Content-Type:
> text/html;charset=iso-8859-1
> 16:26:56.374 5 HTTPU-000006([LANGatewayIPAddress]) hdr: Server: Microsoft-
> IIS/6.0
> 16:26:56.374 5 HTTPU-000006([LANGatewayIPAddress]) hdr: WWW-Authenticate:
> NTLM
> 16:26:56.374 5 HTTPU-000006([LANGatewayIPAddress]) hdr: WWW-Authenticate:
> BASIC realm="mail.mydomain.dom"
> 16:26:56.374 5 HTTPU-000006([LANGatewayIPAddress]) hdr:
> 16:26:56.374 4 HTTPU-000006([LANGatewayIPAddress]) rsp(556): 401
> Authentication required
> 16:26:56.374 5 HTTPU-000006([LANGatewayIPAddress]) out: HTTP/1.1 401
> Authentication required\r\nContent-Length: 556\r\nConnection: keep-
> alive\r\nDate: Fri, 18 Apr 2008 06:56:56 GMT\r\nContent-Type:
> text/html;charset=iso-8859-1\r\nServer: Microsoft-IIS/6.0\r\nWWW-
> Authenticate: NTLM\r\nWWW-Authenticate: BAS
> 16:27:51.936 3 HTTPU-000006([LANGatewayIPAddress]) read failed. Error
> Code=connection reset by peer
> 16:27:51.936 4 HTTPU-000006([LANGatewayIPAddress]) closing connection
> 16:27:51.936 4 HTTPU-000006([LANGatewayIPAddress]) releasing stream
> 16:27:51.983 5 HTTPU [0.0.0.0]:8100 <- [LANGatewayIPAddress]:1491
> connection request. socket=432
> 16:27:51.983 4 HTTPU-000007([LANGatewayIPAddress]) got connection on
> [CGPIPAddress]:8100(mydomain.dom) from [LANGatewayIPAddress]:1491
> 16:27:51.983 5 HTTPU-000007([LANGatewayIPAddress]) inp: GET /Microsoft-
> Server-ActiveSync HTTP/1.1
> 16:27:51.983 5 HTTPU-000007([LANGatewayIPAddress]) inp: Accept-Language:
> en-au
> 16:27:51.983 5 HTTPU-000007([LANGatewayIPAddress]) inp: MS-
> ASProtocolVersion: 2.5
> 16:27:51.983 5 HTTPU-000007([LANGatewayIPAddress]) inp: Content-Length: 0
> 16:27:51.983 5 HTTPU-000007([LANGatewayIPAddress]) inp: X-MS-PolicyKey: 0
> 16:27:51.983 5 HTTPU-000007([LANGatewayIPAddress]) inp: User-Agent: MSFT-
> PPC/5.1.2300
> 16:27:51.983 5 HTTPU-000007([LANGatewayIPAddress]) inp: Host:
> mail.mydomain.dom
> 16:27:51.983 5 HTTPU-000007([LANGatewayIPAddress]) inp: Connection: Keep-
> Alive
> 16:27:51.983 5 HTTPU-000007([LANGatewayIPAddress]) inp: Cache-Control: no-
> cache
> 16:27:51.983 5 HTTPU-000007([LANGatewayIPAddress]) inp:
> 16:27:51.983 4 HTTPU-000007([LANGatewayIPAddress]) req(0): GET /Microsoft-
> Server-ActiveSync
> 16:27:51.983 2 HTTPU-000007([LANGatewayIPAddress])
> Unauthorized.wssp(mydomain.dom) retrieved
> 16:27:51.983 5 HTTPU-000007([LANGatewayIPAddress]) hdr: HTTP/1.1 401
> Authentication required
> 16:27:51.983 5 HTTPU-000007([LANGatewayIPAddress]) hdr: Content-Length:
> 556
> 16:27:51.983 5 HTTPU-000007([LANGatewayIPAddress]) hdr: Connection: keep-
> alive
> 16:27:51.983 5 HTTPU-000007([LANGatewayIPAddress]) hdr: Date: Fri, 18 Apr
> 2008 06:57:51 GMT
> 16:27:51.983 5 HTTPU-000007([LANGatewayIPAddress]) hdr: Content-Type:
> text/html;charset=iso-8859-1
> 16:27:51.983 5 HTTPU-000007([LANGatewayIPAddress]) hdr: Server: Microsoft-
> IIS/6.0
> 16:27:51.983 5 HTTPU-000007([LANGatewayIPAddress]) hdr: WWW-Authenticate:
> NTLM
> 16:27:51.983 5 HTTPU-000007([LANGatewayIPAddress]) hdr: WWW-Authenticate:
> BASIC realm="mail.mydomain.dom"
> 16:27:51.983 5 HTTPU-000007([LANGatewayIPAddress]) hdr:
> 16:27:51.983 4 HTTPU-000007([LANGatewayIPAddress]) rsp(556): 401
> Authentication required
> 16:27:51.983 5 HTTPU-000007([LANGatewayIPAddress]) out: HTTP/1.1 401
> Authentication required\r\nContent-Length: 556\r\nConnection: keep-
> alive\r\nDate: Fri, 18 Apr 2008 06:57:51 GMT\r\nContent-Type:
> text/html;charset=iso-8859-1\r\nServer: Microsoft-IIS/6.0\r\nWWW-
> Authenticate: NTLM\r\nWWW-Authenticate: BAS
> 16:27:53.655 3 HTTPU-000007([LANGatewayIPAddress]) read failed. Error
> Code=connection reset by peer
> 16:27:53.655 4 HTTPU-000007([LANGatewayIPAddress]) closing connection
> 16:27:53.655 4 HTTPU-000007([LANGatewayIPAddress]) releasing stream
> 16:28:08.655 5 HTTPU stream thread finished
>
>
> --
>
> Shaun
> http://www.crocosauruscove.com http://www.destinationnt.com
> http://www.momdarwin.com http://www.valueinn.com.au
> Please do not send any unsolicited email. It is not wanted.
>
>
> #############################################################
> This message is sent to you because you are subscribed to
>   the mailing list <CGatePro@mail.stalker.com>.
> To unsubscribe, E-mail to: <CGatePro-off@mail.stalker.com>
> To switch to the DIGEST mode, E-mail to <CGatePro-digest@mail.stalker.com>
> To switch to the INDEX mode, E-mail to <CGatePro-index@mail.stalker.com>
> Send administrative queries to  <CGatePro-request@mail.stalker.com>




**********************************************************************
Confidentiality : This e-mail and any attachments are intended for the
addressee only and may be confidential. If they come to you in error
you must take no action based on them, nor must you copy or show them
to anyone. Please advise the sender by replying to this e-mail
immediately and then delete the original from your computer.
Opinion : Any opinions expressed in this e-mail are entirely those of
the author and unless specifically stated to the contrary, are not
necessarily those of the author's employer.
Security Warning : Internet e-mail is not necessarily a secure
communications medium and can be subject to data corruption. We advise
that you consider this fact when e-mailing us.
Viruses : We have taken steps to ensure that this e-mail and any
attachments are free from known viruses but in keeping with good
computing practice, you should ensure that they are virus free.

Red Lion 49 Ltd T/A Solid State Logic
Registered as a limited company in England and Wales
(Company No:5362730)
Registered Office: 25 Spring Hill Road, Begbroke, Oxford OX5 1RU,
United Kingdom
**********************************************************************

Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster