Exchange 2016 POP3 & IMAP Logon failure

Hi @ all

i want to fetch emails via POP3 & IMAP but it doesent work.
Both Services are enabled.
testuser Credentials work via OWA.

The Error from Test-PopConnectivity : -ERR Logon failure: unknown user name or bad password an
 and from Test-ImapConnectivity: Authentication error

what can i do to fix this?
regards
LVL 5
deibelAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Patrick BogersDatacenter platform engineer LindowsCommented:
Hi

This test user is not Some kind off admin right?

If the user is a normal user...  can you share Some error logging?
0
skullnobrainsCommented:
are pop and imap enabled for this specific user ?
0
deibelAuthor Commented:
the user is not an admin user and pop / imap are enabled for this user.
were can i find the pop/imap logfiles?
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

skullnobrainsCommented:
depends on the versions but there should be either a bunch on .log files or a log directory in exchange's install dir. it should be easy to find. starting with the logs is a good idea. note that exchange lets you configure what you want to log and you'll possibly have to make the logs more verbose in order to get enough debug.
0
deibelAuthor Commented:
there are plenty of logfiles but no one for pop/imap
0
skullnobrainsCommented:
then you are missing verbosity.
you may also want to double check that the pop and imap connections actually reach the imap server and not some other server.
also try and logon locally with the same accounts.
0
deibelAuthor Commented:
i testet it via telnet and i can't come further then the credentials.
0
skullnobrainsCommented:
you mean it worked ? locally ? from the same location as the outlook client ?

if you want help, copy-paste your tests and relevant information
0
deibelAuthor Commented:
[PS] C:\Windows\system32>Test-ImapConnectivity | fl


RunspaceId                  : 7d92ccc2-1097-4bfe-a32b-c48e720150c3
LocalSite                   : Default-First-Site
SecureAccess                : False
VirtualDirectoryName        :
Url                         :
UrlType                     : Unknown
Port                        : 993
ConnectionType              : Ssl
ClientAccessServerShortName : EX2
LocalSiteShortName          : Default-First-Site
ClientAccessServer          : EX2.domain.local
Scenario                    : IMAP4-Verbindung testen
ScenarioDescription         : Stellen Sie mit dem Server eine Verbindung mithilfe des IMAP4-Protokolls her, suchen Si
                              nach der Testnachricht, und löschen Sie diese zusammen mit allen Nachrichten, die älter
                              als 24 Stunden sind.
PerformanceCounterName      : ImapConnectivity-Latency
Result                      : Fehler
Error                       : Microsoft.Exchange.Monitoring.ProtocolException: Authentifizierungsfehler. Die
                              Verbindung wird geschlossen.
                              Fehler bei Handshake wegen eines unerwarteten Paketformats.Serverantworten während des
                              Herstellens der Verbindung: []. ---> System.IO.IOException: Fehler bei Handshake wegen
                              eines unerwarteten Paketformats.
UserName                    : extest_81d1dfdcbd684
StartTime                   : 23.03.2017 08:51:44
Latency                     : 00:00:00.0047884
EventType                   : Error
LatencyInMillisecondsString :
Identity                    :
IsValid                     : True
ObjectState                 : New



[PS] C:\Windows\system32>Test-PopConnectivity | fl


RunspaceId                  : 7d92ccc2-1097-4bfe-a32b-c48e720150c3
LocalSite                   : Default-First-Site
SecureAccess                : False
VirtualDirectoryName        :
Url                         :
UrlType                     : Unknown
Port                        : 995
ConnectionType              : Ssl
ClientAccessServerShortName : EX2
LocalSiteShortName          : Default-First-Site
ClientAccessServer          : EX2.domain.local
Scenario                    : POP3-Verbindung testen
ScenarioDescription         : Stellen Sie mit dem Server eine Verbindung mithilfe des POP3-Protokolls her, suchen Sie
                              nach der Testnachricht, und löschen Sie diese zusammen mit allen Nachrichten, die älter
                              als 24 Stunden sind.
PerformanceCounterName      : POPConnectivity-Latency
Result                      : Fehler
Error                       : POP Fehler: -ERR Logon failure: unknown user name or bad password.

UserName                    : extest_81d1dfdcbd684
StartTime                   : 23.03.2017 08:51:49
Latency                     : 00:00:00.1320104
EventType                   : Error
LatencyInMillisecondsString :
Identity                    :
IsValid                     : True
ObjectState                 : New
0
deibelAuthor Commented:
Eventlogs



The Test-CasConnectivity cmdlet failed. Find the entry in TransientErrorCache. BaseUrl: . MbxServre: EX2.domain.local. Error: Ziel: EX2.domain.local|Default-First-Site

Fehler: Microsoft.Exchange.Monitoring.ProtocolException: Authentifizierungsfehler. Die Verbindung wird geschlossen.
Fehler bei Handshake wegen eines unerwarteten Paketformats.Serverantworten während des Herstellens der Verbindung: []. ---> System.IO.IOException: Fehler bei Handshake wegen eines unerwarteten Paketformats.

Details:

Eine Testnachricht wurde mit dem eindeutigen Betreff 'Test-ImapConnectivity-b0b48edb-ff0b-4148-9c88-9f1b38fa318b' im Postfach 'extest_81d1dfdcbd684@domain.de' erfolgreich erstellt.
Clientzugriffsserver: EX2.domain.local
Postfachserver: EX2.domain.local
Postfachdatenbank: EXDB1
Postfach: extest_81d1dfdcbd684@EX2.domain.de
Port: 993
Verbindungstyp: Ssl
TrustAnySSLCertificate: True.
Die Serververbindung wird hergestellt
Serververbindung wird getrennt.
Name des Clientzugriffsservers: EX2.domain.local
Szenario: IMAP4-Verbindung testen
Szenariobeschreibung: Stellen Sie mit dem Server eine Verbindung mithilfe des IMAP4-Protokolls her, suchen Sie nach der Testnachricht, und löschen Sie diese zusammen mit allen Nachrichten, die älter als 24 Stunden sind.
Benutzername: extest_81d1dfdcbd684
Leistungsindikatorname: ImapConnectivity-Latency
Ergebnis: Fehler
Standort: Default-First-Site
Wartezeit: 00:00:00.0047884
Sicherer Zugriff: False
ConnectionType: Ssl
Port: 993
Wartezeit (ms): 4,7884
Name des virtuellen Verzeichnisses:
URL: null
URL-Typ: Unknown
Fehler:
Microsoft.Exchange.Monitoring.ProtocolException: Authentifizierungsfehler. Die Verbindung wird geschlossen.
Fehler bei Handshake wegen eines unerwarteten Paketformats.Serverantworten während des Herstellens der Verbindung: []. ---> System.IO.IOException: Fehler bei Handshake wegen eines unerwarteten Paketformats.




-------------------------------------

. Warning: .






The Test-CasConnectivity cmdlet failed. Find the entry in TransientErrorCache. BaseUrl: . MbxServre: EX2.domain.local. Error: Ziel: EX2.domain.local|Default-First-Site

Fehler: POP Fehler: -ERR Logon failure: unknown user name or bad password.


Details:

Serververbindung wird getrennt.
Name des Clientzugriffsservers: EX2.domain.local
Szenario: POP3-Verbindung testen
Szenariobeschreibung: Stellen Sie mit dem Server eine Verbindung mithilfe des POP3-Protokolls her, suchen Sie nach der Testnachricht, und löschen Sie diese zusammen mit allen Nachrichten, die älter als 24 Stunden sind.
Benutzername: extest_81d1dfdcbd684
Leistungsindikatorname: POPConnectivity-Latency
Ergebnis: Fehler
Standort: Default-First-Site
Wartezeit: 00:00:00.1320104
Sicherer Zugriff: False
ConnectionType: Ssl
Port: 995
Wartezeit (ms): 132,0104
Name des virtuellen Verzeichnisses:
URL: null
URL-Typ: Unknown
Fehler:
POP Fehler: -ERR Logon failure: unknown user name or bad password.





-------------------------------------

. Warning: .
0
skullnobrainsCommented:
locally ? from the same location as the outlook client ?

and it's easier with a trace or something that looks as a telnet session than with a tool that does not provide any actual debugging and additionally speaks german. you mentioned testing with telnet...
0
skullnobrainsCommented:
if you can translate this properly, that should help

Fehler bei Handshake wegen eines unerwarteten Paketformats.Serverantworten während des Herstellens der Verbindung: []. ---> System.IO.IOException: Fehler bei Handshake wegen eines unerwarteten Paketformats.

ich verstehe ein wenig deutsch aber das ist a little out of my league
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
skullnobrainsCommented:
nice ! feel free to give the explanation ( in english ;) and accept your own answer.
0
Patrick BogersDatacenter platform engineer LindowsCommented:
Translated from german the problem was there was no ssl certificate bound to both pop and imap services.
0
skullnobrainsCommented:
thanks for posting back... i guess you know how to solve the problem : basic pop/imap connector settings. should work with the same cert if the domain name is the same as the one you already use for https
0
Patrick BogersDatacenter platform engineer LindowsCommented:
Solution found
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
IMAP

From novice to tech pro — start learning today.