J'ai verifier l'etat de Imap4 sur exchange, il est bien activer
Voici ce que j'obtiens en faisant get-imapsettings | fl :
Code : Tout sélectionner
RunspaceId : 14c7effb-76e4-4d2a-a081-f293
ProtocolName : IMAP4
Name : 1
MaxCommandSize : 10240
ShowHiddenFoldersEnabled : False
UnencryptedOrTLSBindings : {[::]:143, 0.0.0.0:143}
SSLBindings : {[::]:993, 0.0.0.0:993}
InternalConnectionSettings : {Exchange.XXX.local:993:SSL, Exchange.XXX.local:143:TLS}
ExternalConnectionSettings : {exchange.XXX.com:143:TLS, exchange.XXX.com:993:SSL}
X509CertificateName : Exchange
Banner : The Microsoft Exchange IMAP4 service is ready.
LoginType : SecureLogin
AuthenticatedConnectionTimeout : 00:30:00
PreAuthenticatedConnectionTimeout : 00:01:00
MaxConnections : 2147483647
MaxConnectionFromSingleIP : 2147483647
MaxConnectionsPerUser : 16
MessageRetrievalMimeFormat : BestBodyFormat
ProxyTargetPort : 9933
CalendarItemRetrievalOption : iCalendar
OwaServerUrl :
EnableExactRFC822Size : False
LiveIdBasicAuthReplacement : False
SuppressReadReceipt : False
ProtocolLogEnabled : False
EnforceCertificateErrors : False
LogFileLocation : C:\Program Files\Microsoft\Exchange Server\V15\Logging\Imap4
LogFileRollOverSettings : Daily
LogPerFileSizeQuota : 0 B (0 bytes)
ExtendedProtectionPolicy : None
EnableGSSAPIAndNTLMAuth : False
Server : EXCHANGE
AdminDisplayName :
ExchangeVersion : 0.10 (14.0.100.0)
DistinguishedName : CN=1,CN=IMAP4,CN=Protocols,CN=EXCHANGE,CN=Servers,CN=Exchange Administrative Gr
(FYDIBOHF23SPDLT),CN=Administrative Groups,CN=First Organization,CN=Microsoft
Exchange,CN=Services,CN=Configuration,DC=XXX,DC=local
Identity : EXCHANGE\1
Guid : 9c4ee8a0-b2a1-432f-9443-2c9c5f982f18
ObjectCategory : XXX.local/Configuration/Schema/ms-Exch-Protocol-Cfg-IMAP-Server
ObjectClass : {top, protocolCfg, protocolCfgIMAP, protocolCfgIMAPServer}
WhenChanged : 21.01.2019 15:39:20
WhenCreated : 06.03.2015 16:06:28
WhenChangedUTC : 21.01.2019 14:39:20
WhenCreatedUTC : 06.03.2015 15:06:28
OrganizationId :
Id : EXCHANGE\1
OriginatingServer : XX.XXX.local
IsValid : True
ObjectState : Unchanged
J'ai egalement renouveller les certificats, mais rien ne change. J'obtiens ce message avec gestsup
Code : Tout sélectionner
Fatal error: Uncaught PhpImap\ConnectionException: IMAP method imap_open() failed with error: TLS/SSL failure for exchange.xxx.local: SSL negotiation failed in /var/www/html/components/PhpImap/Mailbox.php:866 Stack trace: #0 /var/www/html/components/PhpImap/Mailbox.php(148): PhpImap\Mailbox->imap('open', Array, false, 'PhpImap\\Connect...') #1 /var/www/html/components/PhpImap/Mailbox.php(134): PhpImap\Mailbox->initImapStream() #2 /var/www/html/components/PhpImap/Mailbox.php(112): PhpImap\Mailbox->initImapStreamWithRetry() #3 /var/www/html/components/PhpImap/Mailbox.php(856): PhpImap\Mailbox->getImapStream() #4 /var/www/html/components/PhpImap/Mailbox.php(244): PhpImap\Mailbox->imap('search', Array) #5 /var/www/html/mail2ticket.php(249): PhpImap\Mailbox->searchMailbox('ALL') #6 {main} thrown in /var/www/html/components/PhpImap/Mailbox.php on line 866