Link to home
Start Free TrialLog in
Avatar of Jim
JimFlag for United States of America

asked on

Intermittent trouble deleting, moving & sending (Exchange 2007 & iPhone 3G)

Here's my setup:

I have a Microsoft Server 2008 with Exchange 2007 SP1 running at the office.  Firewall forwards the following ports to the server:
>25 (SMTP)
>587 (SMTP Secure)
>110 (POP3)
>995 (POP3 Secured)
>143 (IMAP)
>993 (IMAP Secured)
>80 (Ahsay Backup Software)
>8080 (Alternate HTTP for IIS 7)
>443 (HTTPS)
>6001-6004 (RPC over HTTP, for Outlook)

Exchange Server is running fine and has a self-signed certificate.  I've installed this certificated to client PCs and they all connect to Outlook just fine.  OWA is working fine as well.  I even went as far as installing the certificate on the iPhone.

The iPhone fails at auto discovery, but that's probably because I never set it up correctly in the server.  It then asks for the server, and I give it and specify SSL set to "ON" and the connection seems to be fine.  Running 2.2 firmware on all of our iPhones and PUSH email via the Exchange server works great.

The problem comes when users try to delete emails, move emails to another folder, or send emails.  I believe deleting a message is the same as moving a message to another folder, so I guess I only have 2 problems.  Moving messages and sending messages.  I can receive messages just fine.  I've tried multiple things, from reconfiguring the mail settings, hard reboots, and even factory restores.  But, the problem remains.  Sometimes I'll have to delete a message or a group of messages 3 or 4 times before it will actually delete.  The message that appears says it's unable to move the message.  This had been happening for a few months now, but I just now got time to look into it.

I've hooked one of the iPhones up to Apple's iPhone configuration utility.  I put the device into airplane mode and turned on WiFi, that way I would be on the internal LAN in order to rule out the firewall and a bad signal or faulty internet connection. With the iPhone connected to a wireless router and that same router wired directly to our server, I get the same results I get from remote location's WiFi network or the 3G network.  Sometimes messages will send or delete immediately and other times it will take 3, 4, 5 or more tries. While in airplane mode, and the device attached to the same LAN as the server, I tell the iPhone to delete a message in the inbox, and this is what is output to the console: (see code, lines 1-3).

Also, here is some more logs from earlier when I was messing around trying to delete and check for new mail.  I would delete the message and then immediately hit the refresh button in the bottom left of the mail application:  (see code, lines 5-13).

Any ideas on what could be causing this problem? I even asked over on the Apple Developer's Forums and have gotten no answer their... ( http://discussions.apple.com/thread.jspa?messageID=9549304#9549304 )

Thanks in advance!
>Wed May 27 18:52:00 unknown MobileMail[52] <Warning>: ERROR: The message could not be moved to the mailbox Trash.
>Wed May 27 18:52:00 unknown MobileMail[52] <Warning>: connection died with error Error Domain=NSURLErrorDomain Code=-1005 UserInfo=0x43dc6b0 "lost network connection" 0x43d1410
>Wed May 27 18:52:00 unknown MobileMail[52] <Warning>: ASMoveItemsTask failed: Error Domain=NSURLErrorDomain Code=-1005 UserInfo=0x43dc6b0 "lost network connection"
 
 
 
>Wed May 27 18:41:03 unknown MobileMail[52] <Warning>: connection died with error Error Domain=NSURLErrorDomain Code=-1005 UserInfo=0x43a8420 "lost network connection" 0x436a000
>Wed May 27 18:41:03 unknown MobileMail[52] <Warning>: ASFolderItemsSyncTask failed: Error Domain=NSURLErrorDomain Code=-1005 UserInfo=0x43a8420 "lost network connection"
>Wed May 27 18:41:03 unknown MobileMail[52] <Warning>: error syncing folder: Error Domain=MFMessageErrorDomain Code=1041 "Operation could not be completed. (MFMessageErrorDomain error 1041.)"
>Wed May 27 18:41:05 unknown MobileMail[52] <Error>: MobileMail(52,0x8f5600) malloc: *** error for object 0x4902188: pointer being freed was not allocated
>Wed May 27 18:41:05 unknown UIKitApplication:com.apple.mobilemail[0x7ff8][52] <Notice>: MobileMail(52,0x8f5600) malloc: *** error for object 0x4902188: pointer being freed was not allocated
>Wed May 27 18:41:09 unknown dataaccessd[55] <Warning>: connection died with error Error Domain=NSURLErrorDomain Code=-1005 UserInfo=0x320330 "lost network connection" 0x3851b0
>Wed May 27 18:41:09 unknown dataaccessd[55] <Warning>: ASPingTask failed: Error Domain=NSURLErrorDomain Code=-1005 UserInfo=0x320330 "lost network connection"

Open in new window

Avatar of Jim
Jim
Flag of United States of America image

ASKER

So, have I stumped everyone?   :-\
Avatar of aegisadmin
aegisadmin

I have the exact same problem and have yet to find a solution.....do you think it could be a firewall issue trying to connect back to the mail server?
Avatar of Jim

ASKER

aegisadmin, in my case I doubt it's a firewall problem, as I even tried connecting to the server via a WIFI connection on the same LAN as the server; and the server itself has no firewall software on it...
Have you tried to call Apple support to see if they have any leads?  Are we the only 2 running exchange 2007 and Iphone, has to be more people with this problem?
ASKER CERTIFIED SOLUTION
Avatar of Jim
Jim
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial