Ho attivato il server IMAP 4 su Exchange 2016, ma non riesco a connettermi in alcun modo. Ricevo sempre il solito errore: NO LOGIN.
l'accesso via IMAP mi serve per leggere la posta tramite un Servizio di windows, nella LAN, ma provando l'accesso, sia via outlook che via console l'errore è sempre lo stesso. L'accesso IMAP verra utilizzato solo per questo e solo internamente.
Ho verificato il certificato, ed è corretto. Il server POP funziona correttamente.
[PS] C:\Windows\system32>get-serverhealth castore | ?{$_.healthsetname -like "IMAP*"}
Server State Name TargetResource HealthSetName AlertValue ServerComp
onent
------ ----- ---- -------------- ------------- ---------- ----------
castore NotApplicable ImapCTPMonitor MSExchangeImap4 IMAP Unhealthy None
castore NotApplicable ProcessProcessorT... microsoft.exchang... IMAP.Protocol Healthy None
castore NotApplicable PrivateWorkingSet... microsoft.exchang... IMAP.Protocol Healthy None
castore NotApplicable ProcessProcessorT... microsoft.exchang... IMAP.Protocol Healthy None
castore NotApplicable CrashEvent.M.exch... microsoft.exchang... IMAP.Protocol Healthy None
castore NotApplicable PrivateWorkingSet... microsoft.exchang... IMAP.Protocol Healthy None
castore NotApplicable ProcessProcessorT... microsoft.exchang... IMAP.Protocol Healthy None
castore NotApplicable ProcessProcessorT... microsoft.exchang... IMAP.Protocol Healthy None
castore NotApplicable CrashEvent.M.exch... microsoft.exchang... IMAP.Protocol Healthy None
castore Online ImapProxyTestMonitor MSExchangeImap4 IMAP.Proxy Healthy ImapProxy
castore NotApplicable PrivateWorkingSet... microsoft.exchang... IMAP.Protocol Healthy None
castore NotApplicable PrivateWorkingSet... microsoft.exchang... IMAP.Protocol Healthy None
nel log di IMAP4 trovo questo errore dopo un tentativo di login via console:
2018-10-12T07:14:16.178Z,0000000000000454,0,172.16.1.73:143,172.16.1.110:49901,,12,0,53,OpenSession,,,
2018-10-12T07:14:33.394Z,0000000000000454,1,172.16.1.73:143,172.16.1.110:49901,CredinvestService,2443,31,20,login,credinvestservice *****,"R=""? NO LOGIN failed."";Msg=Proxy:castore.vci.locale:1993:SSL;ErrMsg=ProxyFailed;Excpt=""Impossibile
stabilire la connessione. Rifiuto persistente del computer di destinazione 172.16.1.73:1993-System.Net.Sockets.SocketException"";ExStk=H4sIAAAAAAAEAHVOzUrDQBC+C77DHJvLsLFqbW8SKuSglOYJ1s20DiY7y84EEp/eLVTEg6dvhu+3W9RoxDcy7CR8kukV93OgZCwRVm5+cs7dO/dQ7aAdk6jyOw8Ear4gZ4LBQ5AYqTASCeHIJ55MIFFWLg3RCHoaimhMk1GGnsuvxtF/XRxQb+6wfsQaN+tdvd2ub28AgCN0/+3DfeybS2WwVfusSwxH0mkw8L939ZPyyiGLyqm45vDh45nwIKkdfcJGMmGRJ4lKLz6Y5AUPWeblml7mNWX1QEZ/i9jn6hupSJmRPwEAAA==",
2018-10-12T07:14:44.220Z,0000000000000454,2,172.16.1.73:143,172.16.1.110:49901,edika,2131,19,20,login,edika *****,"R=""? NO LOGIN failed."";Msg=Proxy:castore.vci.locale:1993:SSL;ErrMsg=ProxyFailed;Excpt=""Impossibile stabilire
la connessione. Rifiuto persistente del computer di destinazione 172.16.1.73:1993-System.Net.Sockets.SocketException"";ExStk=H4sIAAAAAAAEAHVOzUrDQBC+C77DHJvLsLFqbW8SKuSglOYJ1s20DiY7y84EEp/eLVTEg6dvhu+3W9RoxDcy7CR8kukV93OgZCwRVm5+cs7dO/dQ7aAdk6jyOw8Ear4gZ4LBQ5AYqTASCeHIJ55MIFFWLg3RCHoaimhMk1GGnsuvxtF/XRxQb+6wfsQaN+tdvd2ub28AgCN0/+3DfeybS2WwVfusSwxH0mkw8L939ZPyyiGLyqm45vDh45nwIKkdfcJGMmGRJ4lKLz6Y5AUPWeblml7mNWX1QEZ/i9jn6hupSJmRPwEAAA==",
e lo stesso errore generato dal sistema controllo di exchange
12T07:00:57.422Z,0000000000000442,2,127.0.0.1:993,127.0.0.1:21534,HealthMailboxe1d6e01,2088,70,89,login,HealthMailboxe1d6e01db4a34351baf34ffc567cd14f@vci-am.com *****,"R=""z NO [Error=""ProxyFailed"" AuthResult=8 Proxy=castore.vci.locale:1993:SSL]
LOGIN failed."";Msg=Proxy:castore.vci.locale:1993:SSL;ErrMsg=ProxyFailed;Excpt=""Impossibile stabilire la connessione. Rifiuto persistente del computer di destinazione 172.16.1.73:1993-System.Net.Sockets.SocketException"";ExStk=H4sIAAAAAAAEAHVOzUrDQBC+C77DHJvLsLFqbW8SKuSglOYJ1s20DiY7y84EEp/eLVTEg6dvhu+3W9RoxDcy7CR8kukV93OgZCwRVm5+cs7dO/dQ7aAdk6jyOw8Ear4gZ4LBQ5AYqTASCeHIJ55MIFFWLg3RCHoaimhMk1GGnsuvxtF/XRxQb+6wfsQaN+tdvd2ub28AgCN0/+3DfeybS2WwVfusSwxH0mkw8L939ZPyyiGLyqm45vDh45nwIKkdfcJGMmGRJ4lKLz6Y5AUPWeblml7mNWX1QEZ/i9jn6hupSJmRPwEAAA==",
La configurazione del server IMAP è la seguente
[PS] C:\Windows\system32>get-imapsettings |fl
RunspaceId : f3917c37-c4ec-4376-b739-be37a39e66d3
ProtocolName : IMAP4
Name : 1
MaxCommandSize : 10240
ShowHiddenFoldersEnabled : False
UnencryptedOrTLSBindings : {[::]:143, 0.0.0.0:143}
SSLBindings : {[::]:993, 0.0.0.0:993}
InternalConnectionSettings : {castore.vci.locale:993:SSL, castore.vci.locale:143:TLS}
ExternalConnectionSettings : {}
X509CertificateName : castore
Banner : The Microsoft Exchange IMAP4 service is ready.
LoginType : PlainTextLogin
AuthenticatedConnectionTimeout : 00:30:00
PreAuthenticatedConnectionTimeout : 00:01:00
MaxConnections : 2147483647
MaxConnectionFromSingleIP : 2147483647
MaxConnectionsPerUser : 16
MessageRetrievalMimeFormat : BestBodyFormat
ProxyTargetPort : 1993
CalendarItemRetrievalOption : iCalendar
OwaServerUrl :
EnableExactRFC822Size : False
LiveIdBasicAuthReplacement : False
SuppressReadReceipt : False
ProtocolLogEnabled : True
EnforceCertificateErrors : False
LogFileLocation : C:\Program Files\Microsoft\Exchange Server\V15\Logging\Imap4
LogFileRollOverSettings : Hourly
LogPerFileSizeQuota : 0 B (0 bytes)
ExtendedProtectionPolicy : None
EnableGSSAPIAndNTLMAuth : True
Server : CASTORE
AdminDisplayName :
ExchangeVersion : 0.10 (14.0.100.0)
DistinguishedName : CN=1,CN=IMAP4,CN=Protocols,CN=CASTORE,CN=Servers,CN=Exchange Administrative Group
(FYDIBOHF23SPDLT),CN=Administrative Groups,CN=VCI-AM,CN=Microsoft
Exchange,CN=Services,CN=Configuration,DC=vci,DC=locale
Identity : CASTORE\1
Guid : 94d958b1-1729-4ea7-9bc6-14accea5d61b
ObjectCategory : vci.locale/Configuration/Schema/ms-Exch-Protocol-Cfg-IMAP-Server
ObjectClass : {top, protocolCfg, protocolCfgIMAP, protocolCfgIMAPServer}
WhenChanged : 11/10/2018 18:28:01
WhenCreated : 26/07/2017 10:04:11
WhenChangedUTC : 11/10/2018 16:28:01
WhenCreatedUTC : 26/07/2017 08:04:11
OrganizationId :
Id : CASTORE\1
OriginatingServer : aldebaran.vci.locale
IsValid : True
ObjectState : Unchanged
Ho provato anche ad impostare EnableGSSAPIAndNTLMAuth su false, ma niente.
A questo punto non so come intervenire.
Grazie dell'aiuto