Link to home
Start Free TrialLog in
Avatar of HPatzen
HPatzenFlag for Switzerland

asked on

IMAP4 Problem with Exchange 2010 SP1 RU5

Hello everyone.

I'm having a problem with a program accessing our Exchange 2010 server using IMAP4.

They get the following erros in their log:
30.09.11 17:30:13 ERROR MailImportMessage:122 process() Fehler beim Abholen der Mails: CommandFailedException: A7 NO Command received in Invalid state. (in Protocol:294/in IMAPProtocol:1294/in IMAPProtocol:1279/in IMAPMessage:843/in Message:565/in MailImportMessage:118/in ImportMailConnection:1424/in ImportMailConnection:81/in ImportMailConnection$ActionProcessor:638/in ImportMailConnection:794/in ImportMailConnection:470/in ImportAccount:153/in ImportComWorker:495) / MessagingException@IMAPMessage:847
 
30.09.11 17:30:28 ERROR ImportMailConnection:711 getData() Error fetching message: FolderClosedException: Lost folder connection to server (in IMAPFolder:328/in IMAPFolder:1250/in ImportMailConnection:709/in ImportMailConnection:470/in ImportAccount:153)
30.09.11 17:30:28 Error: Verbindungsfehler bei Konto 84: ConnectionException: FolderClosedException: Lost folder connection to server (in ImportMailConnection:709) (in ImportMailConnection:712/in ImportMailConnection:470/in ImportAccount:153/in ImportComWorker:495)
30.09.11 17:30:28 Debug(5): Import-Kommunikation beenden

Open in new window


So they asked me to look into the IMAP4 log and all I get there are the following messages:
2011-10-03T12:06:20.007Z,000000000000000B,0,xxx.xx.xx.xx:143,xxx.xx.xx.xy:51947,,-2147483648,0,81,OpenSession,,
2011-10-03T12:06:20.007Z,000000000000000B,1,xxx.xx.xx.xx:143,xxx.xx.xx.xy:51947,,0,13,142,capability,,R=ok
2011-10-03T12:06:20.070Z,000000000000000B,2,xxx.xx.xx.xx:143,xxx.xx.xx.xy:51947,user,62,32,34,authenticate,PLAIN,"R=ok;RpcC=16;RpcL=15;LdapC=3;LdapL=15;Msg=""User:user:3f7916fb-d3d6-4c71-a9b6-6527992c085e:Mailbox Database 0693456929:mail.domain.com"";Budget=""Conn:0,HangingConn:0,AD:$null/$null/0%,CAS:$null/$null/1%,AB:$null/$null/0%,RPC:$null/$null/1%,FC:$null/0,Policy:ImapThrottlingPolicy,Norm[Resources:(DC)dc.domain.com(Health:-1%,HistLoad:0),(Mdb)Mailbox Database 0693456929(Health:-1%,HistLoad:0),]"""
2011-10-03T12:06:20.085Z,000000000000000B,3,xxx.xx.xx.xx:143,xxx.xx.xx.xy:51947,user,15,28,264,examine,"""2 - Folder""","R=ok;RpcC=9;RpcL=16;Rows=99;Recent=99;Budget=""Conn:0,HangingConn:0,AD:$null/$null/0%,CAS:$null/$null/1%,AB:$null/$null/0%,RPC:$null/$null/1%,FC:$null/0,Policy:ImapThrottlingPolicy,Norm[Resources:(DC)dc.domain.com(Health:-1%,HistLoad:0),(Mdb)Mailbox Database 0693456929(Health:-1%,HistLoad:0),]"""
.
. (List goes on for about 50 lines)
.
2011-10-03T12:07:02.054Z,000000000000000B,201,xxx.xx.xx.xx:143,xxx.xx.xx.xy:51947,user,0,49,370,fetch,99 (ENVELOPE INTERNALDATE RFC822.SIZE),"R=OK;RpcC=2;Rows=1;Budget=""Conn:0,HangingConn:0,AD:$null/$null/0%,CAS:$null/$null/2%,AB:$null/$null/0%,RPC:$null/$null/2%,FC:$null/0,Policy:ImapThrottlingPolicy,Norm[Resources:(DC)dc.domain.com(Health:-1%,HistLoad:0),(Mdb)Mailbox Database 0693456929(Health:-1%,HistLoad:0),];GC:1/0/0;"""
2011-10-03T12:07:02.351Z,000000000000000B,202,xxx.xx.xx.xx:143,xxx.xx.xx.xy:51947,user,15,21,62,fetch,99 (FLAGS),"R=OK;Rows=1;Budget=""Conn:0,HangingConn:0,AD:$null/$null/0%,CAS:$null/$null/2%,AB:$null/$null/0%,RPC:$null/$null/2%,FC:$null/0,Policy:ImapThrottlingPolicy,Norm[Resources:(DC)dc.domain.com(Health:-1%,HistLoad:0),(Mdb)Mailbox Database 0693456929(Health:-1%,HistLoad:0),];GC:1/0/0;"""
2011-10-03T12:07:02.554Z,000000000000000B,203,xxx.xx.xx.xx:143,xxx.xx.xx.xy:51947,user,0,10,26,close,,"R=ok;Budget=""Conn:0,HangingConn:0,AD:$null/$null/0%,CAS:$null/$null/2%,AB:$null/$null/0%,RPC:$null/$null/2%,FC:$null/0,Policy:ImapThrottlingPolicy,Norm[Resources:(DC)dc.domain.com(Health:-1%,HistLoad:0),(Mdb)Mailbox Database 0693456929(Health:-1%,HistLoad:0),];GC:1/0/0;"""
2011-10-03T12:07:02.554Z,000000000000000B,204,xxx.xx.xx.xx:143,xxx.xx.xx.xy:51947,user,0,11,91,logout,,"R=ok;Budget=""Conn:0,HangingConn:0,AD:$null/$null/0%,CAS:$null/$null/2%,AB:$null/$null/0%,RPC:$null/$null/2%,FC:$null/0,Policy:ImapThrottlingPolicy,Norm[Resources:(DC)dc.domain.com(Health:-1%,HistLoad:0),(Mdb)Mailbox Database 0693456929(Health:-1%,HistLoad:0),];GC:1/0/0;"""

Open in new window


So I'm wondering is this a problem with our exchange server or is it a problem with their software?

As far as I can see their using JavaMail to connect to the server. PlainText Login is enabled because it's internal and only one their user needs IMAP4 access.

Also because I thought the cause was the DefaultThrottlingPolicy I made a new Policy with no throttling enabled just for this user. But the it didn't change anything.

All other users can work without problems.

Would be great if someone has some advice.

Thanks in advance.
SOLUTION
Avatar of stefor
stefor
Flag of Sweden 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
Avatar of HPatzen

ASKER

I tried using Outlook and I get the same Log entries. Even though I can see the E-Mails and it seems to work?! They also said that they get the E-Mails but the Log entries are still generated.

Firewall ain't the Problem. (Even turned it off for testing but no difference.) IMAP4 is enabled for the user.
SOLUTION
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
ASKER CERTIFIED SOLUTION
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
Avatar of HPatzen

ASKER

It's all working now.

Cheers