Computer-Innovations
asked on
Exchange server 2010 Pop/Imap Error
I am able to log into my exchange server with pop/imap but get an error message trying to retrieve the messages. I tried logging in with telnet and I can list all the messages, but when I try to retrieve any I get -ERR Server Unavailable. 21
By design when you install exchange 2010, IMAP and POP services are not enabled. You will have to manually go to services on the computer running exchange server 2010 and start the services and set the startup type to -automatic
ASKER
This is not the issue. As I stated earlier, I can log into the server and list all the messages. I just can't retrieve them.
So I take it that you have verified that the services are running ?
Can you run test-imapconnectivity and test-popconnectivity from the EMS and post your results ?
Also if you have a firewall check that port 143 and 110 are open.
If you are using SSL make sure that the additional ports 995 and 993 are open
Can you run test-imapconnectivity and test-popconnectivity from the EMS and post your results ?
Also if you have a firewall check that port 143 and 110 are open.
If you are using SSL make sure that the additional ports 995 and 993 are open
ASKER
Here is the result of the test-popconnectivity
CasServer LocalSite Scenario Result Latency(MS) Error
--------- --------- -------- ------ ----------- -----
EXCHANGE Default-Fi... Test POP3 Co... Failure System.IO.IOException...
The test-imapconnectivity produces no failures, but it still doesn't work.
CasServer LocalSite Scenario Result Latency(MS) Error
--------- --------- -------- ------ ----------- -----
EXCHANGE Default-Fi... Test POP3 Co... Failure System.IO.IOException...
The test-imapconnectivity produces no failures, but it still doesn't work.
do the following in EMS and post results:
test-popconnectivity | fl
Do you have a firewall or a smarthost in your environment ?
test-popconnectivity | fl
Do you have a firewall or a smarthost in your environment ?
ASKER
I have a sonic wall in place, but I get these errors if I try to connect from inside the firewall. Here is the output you asked for.
Creating a new session for implicit remoting of "Test-PopConnectivity" command...
RunspaceId : 46b24329-5e3f-4018-b614-3a e6e9e1f3d9
LocalSite : Default-First-Site-Name
SecureAccess : False
VirtualDirectoryName :
Url :
UrlType : Unknown
Port : 995
ConnectionType : Ssl
ClientAccessServerShortNam e : EXCHANGE
LocalSiteShortName : Default-First-Site-Name
ClientAccessServer : EXCHANGE.david-city.local
Scenario : Test POP3 Connectivity
ScenarioDescription : Connect to server using POP3 protocol, search for the test message, and delete it along w
ith any messages that are older than 24 hours.
PerformanceCounterName : POPConnectivity-Latency
Result : Failure
Error : System.IO.IOException: Unable to read data from the transport connection: An existing con
nection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketE xception:
An existing connection was forcibly closed by the remote host
UserName : randy
StartTime : 11/24/2010 7:33:28 AM
Latency : 00:00:09.4668654
EventType : Error
LatencyInMillisecondsStrin g :
Identity :
IsValid : True
Creating a new session for implicit remoting of "Test-PopConnectivity" command...
RunspaceId : 46b24329-5e3f-4018-b614-3a
LocalSite : Default-First-Site-Name
SecureAccess : False
VirtualDirectoryName :
Url :
UrlType : Unknown
Port : 995
ConnectionType : Ssl
ClientAccessServerShortNam
LocalSiteShortName : Default-First-Site-Name
ClientAccessServer : EXCHANGE.david-city.local
Scenario : Test POP3 Connectivity
ScenarioDescription : Connect to server using POP3 protocol, search for the test message, and delete it along w
ith any messages that are older than 24 hours.
PerformanceCounterName : POPConnectivity-Latency
Result : Failure
Error : System.IO.IOException: Unable to read data from the transport connection: An existing con
nection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketE
An existing connection was forcibly closed by the remote host
UserName : randy
StartTime : 11/24/2010 7:33:28 AM
Latency : 00:00:09.4668654
EventType : Error
LatencyInMillisecondsStrin
Identity :
IsValid : True
can you do a get-popsettings from EMS:
Information should look like the following:
UnencryptedOrTLSBindings SSLBindings LoginType X509CertificateName
------------------------ ----------- --------- -------------------
{:::110, 0.0.0.0:110} {:::995, 0.0.0.0:995} SecureLogin webmail.domain.com
if you do a get-popsettings | fl
Your configuration should like somewhat the following:
ProtocolName : POP3
MaxCommandSize : 512
MessageRetrievalSortOrder : Ascending
UnencryptedOrTLSBindings : {:::110, 0.0.0.0:110}
SSLBindings : {:::995, 0.0.0.0:995}
InternalConnectionSettings : {cashub1.domain.dom:995:SS L, cashub1.techtacon.dom:110: TLS}
ExternalConnectionSettings : {webmail.domain.com:995:SS L, webmail.domain.com:110:TLS }
X509CertificateName : webmail.techtacon.com
Banner : The Microsoft Exchange POP3 service is ready.
If you dont have the externalconnection (or internalconnectionsettings ) user the following cmdlet to set the externalconnectionsettings :
Set-PopSettings -ExternalConnectionSetting s 'webmail.domain.com:995:SS L','webmai l.domain.c om:110:TLS '
Information should look like the following:
UnencryptedOrTLSBindings SSLBindings LoginType X509CertificateName
------------------------ ----------- --------- -------------------
{:::110, 0.0.0.0:110} {:::995, 0.0.0.0:995} SecureLogin webmail.domain.com
if you do a get-popsettings | fl
Your configuration should like somewhat the following:
ProtocolName : POP3
MaxCommandSize : 512
MessageRetrievalSortOrder : Ascending
UnencryptedOrTLSBindings : {:::110, 0.0.0.0:110}
SSLBindings : {:::995, 0.0.0.0:995}
InternalConnectionSettings
ExternalConnectionSettings
X509CertificateName : webmail.techtacon.com
Banner : The Microsoft Exchange POP3 service is ready.
If you dont have the externalconnection (or internalconnectionsettings
Set-PopSettings -ExternalConnectionSetting
ASKER
You were right about not having the externalconnectionsettings . However after setting them, the problem still exists.
[PS] C:\Windows\system32>get-po psettings | fl
RunspaceId : 46b24329-5e3f-4018-b614-3a e6e9e1f3d9
Name : 1
ProtocolName : POP3
MaxCommandSize : 512
MessageRetrievalSortOrder : Ascending
UnencryptedOrTLSBindings : {:::110, 0.0.0.0:110}
SSLBindings : {:::995, 0.0.0.0:995}
InternalConnectionSettings : {Exchange.david-city.local :995:SSL, Exchange.david-city.local: 110:TLS}
ExternalConnectionSettings : {mail.naimon.net:110:TLS, mail.naimon.net:995:SSL}
X509CertificateName : mail.naimon.net
Banner : The Microsoft Exchange POP3 service is ready.
LoginType : PlainTextLogin
AuthenticatedConnectionTim eout : 00:30:00
PreAuthenticatedConnection Timeout : 00:01:00
MaxConnections : 2000
MaxConnectionFromSingleIP : 2000
MaxConnectionsPerUser : 16
MessageRetrievalMimeFormat : BestBodyFormat
ProxyTargetPort : 110
CalendarItemRetrievalOptio n : iCalendar
OwaServerUrl :
EnableExactRFC822Size : False
LiveIdBasicAuthReplacement : False
SuppressReadReceipt : False
ProtocolLogEnabled : False
EnforceCertificateErrors : False
LogFileLocation : C:\Program Files\Microsoft\Exchange Server\V14\Logging\Pop3
LogFileRollOverSettings : Daily
LogPerFileSizeQuota : 0 B (0 bytes)
ExtendedProtectionPolicy : None
EnableGSSAPIAndNTLMAuth : True
Server : EXCHANGE
AdminDisplayName :
ExchangeVersion : 0.10 (14.0.100.0)
DistinguishedName : CN=1,CN=POP3,CN=Protocols, CN=EXCHANG E,CN=Serve rs,CN=Exch ange Administrative Group (
FYDIBOHF23SPDLT),CN=Admini strative Groups,CN=First Organization,CN=Microsoft Exchan
ge,CN=Services,CN=Configur ation,DC=d avid-city, DC=local
Identity : EXCHANGE\1
Guid : 3618fe6e-440a-42a7-babc-f1 76f5e83c39
ObjectCategory : david-city.local/Configura tion/Schem a/ms-Exch- Protocol-C fg-POP-Ser ver
ObjectClass : {top, protocolCfg, protocolCfgPOP, protocolCfgPOPServer}
WhenChanged : 11/24/2010 9:06:12 AM
WhenCreated : 10/26/2010 11:26:48 PM
WhenChangedUTC : 11/24/2010 3:06:12 PM
WhenCreatedUTC : 10/27/2010 4:26:48 AM
OrganizationId :
OriginatingServer : pdc.david-city.local
IsValid : True
[PS] C:\Windows\system32>get-po
RunspaceId : 46b24329-5e3f-4018-b614-3a
Name : 1
ProtocolName : POP3
MaxCommandSize : 512
MessageRetrievalSortOrder : Ascending
UnencryptedOrTLSBindings : {:::110, 0.0.0.0:110}
SSLBindings : {:::995, 0.0.0.0:995}
InternalConnectionSettings
ExternalConnectionSettings
X509CertificateName : mail.naimon.net
Banner : The Microsoft Exchange POP3 service is ready.
LoginType : PlainTextLogin
AuthenticatedConnectionTim
PreAuthenticatedConnection
MaxConnections : 2000
MaxConnectionFromSingleIP : 2000
MaxConnectionsPerUser : 16
MessageRetrievalMimeFormat
ProxyTargetPort : 110
CalendarItemRetrievalOptio
OwaServerUrl :
EnableExactRFC822Size : False
LiveIdBasicAuthReplacement
SuppressReadReceipt : False
ProtocolLogEnabled : False
EnforceCertificateErrors : False
LogFileLocation : C:\Program Files\Microsoft\Exchange Server\V14\Logging\Pop3
LogFileRollOverSettings : Daily
LogPerFileSizeQuota : 0 B (0 bytes)
ExtendedProtectionPolicy : None
EnableGSSAPIAndNTLMAuth : True
Server : EXCHANGE
AdminDisplayName :
ExchangeVersion : 0.10 (14.0.100.0)
DistinguishedName : CN=1,CN=POP3,CN=Protocols,
FYDIBOHF23SPDLT),CN=Admini
ge,CN=Services,CN=Configur
Identity : EXCHANGE\1
Guid : 3618fe6e-440a-42a7-babc-f1
ObjectCategory : david-city.local/Configura
ObjectClass : {top, protocolCfg, protocolCfgPOP, protocolCfgPOPServer}
WhenChanged : 11/24/2010 9:06:12 AM
WhenCreated : 10/26/2010 11:26:48 PM
WhenChangedUTC : 11/24/2010 3:06:12 PM
WhenCreatedUTC : 10/27/2010 4:26:48 AM
OrganizationId :
OriginatingServer : pdc.david-city.local
IsValid : True
Still getting the same error message when doing a test-popconnectivity ? or is it a new one now ?
ASKER
Looks like the same error... here is the output..
RunspaceId : 46b24329-5e3f-4018-b614-3a e6e9e1f3d9
LocalSite : Default-First-Site-Name
SecureAccess : False
VirtualDirectoryName :
Url :
UrlType : Unknown
Port : 995
ConnectionType : Ssl
ClientAccessServerShortNam e : EXCHANGE
LocalSiteShortName : Default-First-Site-Name
ClientAccessServer : EXCHANGE.david-city.local
Scenario : Test POP3 Connectivity
ScenarioDescription : Connect to server using POP3 protocol, search for the test message, and delete it along w
ith any messages that are older than 24 hours.
PerformanceCounterName : POPConnectivity-Latency
Result : Failure
Error : System.IO.IOException: Unable to read data from the transport connection: An existing con
nection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketE xception:
An existing connection was forcibly closed by the remote host
UserName : randy
StartTime : 11/25/2010 11:17:11 AM
Latency : 00:00:09.1462448
EventType : Error
LatencyInMillisecondsStrin g :
Identity :
IsValid : True
RunspaceId : 46b24329-5e3f-4018-b614-3a
LocalSite : Default-First-Site-Name
SecureAccess : False
VirtualDirectoryName :
Url :
UrlType : Unknown
Port : 995
ConnectionType : Ssl
ClientAccessServerShortNam
LocalSiteShortName : Default-First-Site-Name
ClientAccessServer : EXCHANGE.david-city.local
Scenario : Test POP3 Connectivity
ScenarioDescription : Connect to server using POP3 protocol, search for the test message, and delete it along w
ith any messages that are older than 24 hours.
PerformanceCounterName : POPConnectivity-Latency
Result : Failure
Error : System.IO.IOException: Unable to read data from the transport connection: An existing con
nection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketE
An existing connection was forcibly closed by the remote host
UserName : randy
StartTime : 11/25/2010 11:17:11 AM
Latency : 00:00:09.1462448
EventType : Error
LatencyInMillisecondsStrin
Identity :
IsValid : True
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
This also did not work :(
ASKER
I stand corrected. I had forgotten to restart the POP service after that last change. All seems to be working now. Thank you so much.
Good to hear that you got it resolved =]