VOila j'ai installé gestsup, configuré le connecteur smtp/ldap/imap vers un serveur ad et exchange 2013
Par contre impossible de crée un ticket, en mode debug:
Code : Tout sélectionner
DEBUG MODE:
VAR: save= post_modify=modify post_quit= post_mail= post_upload= post_send= post_action= get_action='new' post_category=2 post_subcat=2 post_technician=5 globalrow_technician= post_u_service= globalrow_u_service= post_u_agency= globalrow_u_agency= post_asset_id= globalrow[asset_id]= post_sender_service= globalrow_sender_service= post_priority=6 post_title=test
post_u_service=
AUTO MAIL SENDER: user detected
AUTO MAIL VAR: SESSION[profile_id]=4 mail_auto_user_modify=1 _POST[resolution]= _POST[private]=
AUTO MAIL DETECT: FROM system TO tech (Reason: mail_auto_tech_attribution ticket technician attribution is detected)
2018-12-24 14:00:14 Connection: opening to 10.x2.XX.XX5:25, timeout=300, options=array ( 'ssl' => array ( 'verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true, ),)
2018-12-24 14:00:14 Connection: opened
2018-12-24 14:00:14 SMTP INBOUND: "220 exch1.vd.local Microsoft ESMTP MAIL Service ready at Mon, 24 Dec 2018 15:00:13 +0100"
2018-12-24 14:00:14 SERVER -> CLIENT: 220 exch1.vd.local Microsoft ESMTP MAIL Service ready at Mon, 24 Dec 2018 15:00:13 +0100
2018-12-24 14:00:14 CLIENT -> SERVER: EHLO 10.x2.xx.x72
2018-12-24 14:00:14 SMTP INBOUND: "250-exch1.vd.local Hello [10.x2.xx.x72]"
2018-12-24 14:00:14 SMTP INBOUND: "250-SIZE 36700160"
2018-12-24 14:00:14 SMTP INBOUND: "250-PIPELINING"
2018-12-24 14:00:14 SMTP INBOUND: "250-DSN"
2018-12-24 14:00:14 SMTP INBOUND: "250-ENHANCEDSTATUSCODES"
2018-12-24 14:00:14 SMTP INBOUND: "250-STARTTLS"
2018-12-24 14:00:14 SMTP INBOUND: "250-X-ANONYMOUSTLS"
2018-12-24 14:00:14 SMTP INBOUND: "250-AUTH NTLM LOGIN"
2018-12-24 14:00:14 SMTP INBOUND: "250-X-EXPS GSSAPI NTLM"
2018-12-24 14:00:14 SMTP INBOUND: "250-8BITMIME"
2018-12-24 14:00:14 SMTP INBOUND: "250-BINARYMIME"
2018-12-24 14:00:14 SMTP INBOUND: "250-CHUNKING"
2018-12-24 14:00:14 SMTP INBOUND: "250 XRDST"
2018-12-24 14:00:14 SERVER -> CLIENT: 250-exch1.vd.local Hello [10.x2.xx0.x72]250-SIZE 36700160250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-STARTTLS250-X-ANONYMOUSTLS250-AUTH NTLM LOGIN250-X-EXPS GSSAPI NTLM250-8BITMIME250-BINARYMIME250-CHUNKING250 XRDST
2018-12-24 14:00:14 CLIENT -> SERVER: STARTTLS
2018-12-24 14:00:14 SMTP INBOUND: "220 2.0.0 SMTP server ready"
2018-12-24 14:00:14 SERVER -> CLIENT: 220 2.0.0 SMTP server ready
2018-12-24 14:00:14 CLIENT -> SERVER: EHLO 10.x2.xx.x72
2018-12-24 14:00:14 SMTP INBOUND: "250-exch1.vd.local Hello [10.x2.xx.x72]"
2018-12-24 14:00:14 SMTP INBOUND: "250-SIZE 36700160"
2018-12-24 14:00:14 SMTP INBOUND: "250-PIPELINING"
2018-12-24 14:00:14 SMTP INBOUND: "250-DSN"
2018-12-24 14:00:14 SMTP INBOUND: "250-ENHANCEDSTATUSCODES"
2018-12-24 14:00:14 SMTP INBOUND: "250-AUTH NTLM LOGIN"
2018-12-24 14:00:14 SMTP INBOUND: "250-X-EXPS GSSAPI NTLM"
2018-12-24 14:00:14 SMTP INBOUND: "250-8BITMIME"
2018-12-24 14:00:14 SMTP INBOUND: "250-BINARYMIME"
2018-12-24 14:00:14 SMTP INBOUND: "250-CHUNKING"
2018-12-24 14:00:14 SMTP INBOUND: "250 XRDST"
2018-12-24 14:00:14 SERVER -> CLIENT: 250-exch1.vd.local Hello [10.x2.xx.x72]250-SIZE 36700160250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-AUTH NTLM LOGIN250-X-EXPS GSSAPI NTLM250-8BITMIME250-BINARYMIME250-CHUNKING250 XRDST
2018-12-24 14:00:14 Auth method requested: UNSPECIFIED
2018-12-24 14:00:14 Auth methods available on the server: NTLM,LOGIN
2018-12-24 14:00:14 Requested auth method not available:
2018-12-24 14:00:14 Auth method selected: LOGIN
2018-12-24 14:00:14 CLIENT -> SERVER: AUTH LOGIN
2018-12-24 14:00:14 SMTP INBOUND: "334 VXNlcm5hbWU6"
2018-12-24 14:00:14 SERVER -> CLIENT: 334 VXNlcm5hbWU6
2018-12-24 14:00:14 CLIENT -> SERVER: c3VwcG9ydC5pbmZvcm1hdGlxdWVAbWFpcmllLWNyZWlsLmZy
2018-12-24 14:00:14 SMTP INBOUND: "334 UGFzc3dvcmQ6"
2018-12-24 14:00:14 SERVER -> CLIENT: 334 UGFzc3dvcmQ6
2018-12-24 14:00:14 CLIENT -> SERVER: KjYwc2lydDA1Iw==
2018-12-24 14:00:19 SMTP INBOUND: "535 5.7.3 Authentication unsuccessful"
2018-12-24 14:00:19 SERVER -> CLIENT: 535 5.7.3 Authentication unsuccessful
2018-12-24 14:00:19 SMTP ERROR: Password command failed: 535 5.7.3 Authentication unsuccessful
SMTP Error: Could not authenticate.
2018-12-24 14:00:19 CLIENT -> SERVER: QUIT
2018-12-24 14:00:19 SMTP INBOUND: "221 2.0.0 Service closing transmission channel"
2018-12-24 14:00:19 SERVER -> CLIENT: 221 2.0.0 Service closing transmission channel
2018-12-24 14:00:19 Connection: closed
Fatal error: Uncaught PHPMailer\PHPMailer\Exception: SMTP Error: Could not authenticate. in /var/www/html/gestsup/components/PHPMailer/src/PHPMailer.php:1911 Stack trace: #0 /var/www/html/gestsup/core/message.php(46): PHPMailer\PHPMailer\PHPMailer->smtpConnect(Array) #1 /var/www/html/gestsup/core/auto_mail.php(90): require('/var/www/html/g...') #2 /var/www/html/gestsup/core/ticket.php(590): include('/var/www/html/g...') #3 /var/www/html/gestsup/ticket.php(88): include('/var/www/html/g...') #4 /var/www/html/gestsup/index.php(918): include('/var/www/html/g...') #5 {main} thrown in /var/www/html/gestsup/components/PHPMailer/src/PHPMailer.php on line 1911