[Corrigé 3.1.49] Mail de notification de création de mail vide

Vous avez trouvé un bug dans l'application (dernière version stable ou bêta): Décrivez le ici afin que la correction soit intégrée a la prochaine version.
okba6z
Gsup LEVEL 3
Messages : 88
Enregistré le : ven. 14 déc. 2018 16:38

bonjour
récemment on s'est rendu que lorsque certains utilisateurs créent des tickets via mail to ticket
L'utilisateur reçoit un mail de notification vide:
https://prnt.sc/qd00mo

Cela ne le fait pas avec tous par contre

Je ne comprends pas d’où cela peut venir

Cordialement,
GestSup : 3.1.47 | Debian: 9.8 | NGINX & MARIADB
Avatar du membre
Flox
Administrateur du site
Messages : 9431
Enregistré le : jeu. 21 juin 2012 19:00

Bonjour,

pouvez vous transmettre un impression écran de la section Administration > Paramètre > Général > Message
ainsi que Administration > Connecteur > IMAP.

cdt
GestSup: 3.2.47 | Debian: 12 | Apache: 2.4.59 | MariaDB: 11.5.2 | PHP: 8.3.12 | https://doc.gestsup.fr/
okba6z
Gsup LEVEL 3
Messages : 88
Enregistré le : ven. 14 déc. 2018 16:38

bonjour
Pour la partie général:
https://prnt.sc/qd10ti
GestSup : 3.1.47 | Debian: 9.8 | NGINX & MARIADB
okba6z
Gsup LEVEL 3
Messages : 88
Enregistré le : ven. 14 déc. 2018 16:38

pour la partie imap:
https://prnt.sc/qd11cf

Merci de votre aide
GestSup : 3.1.47 | Debian: 9.8 | NGINX & MARIADB
Avatar du membre
Flox
Administrateur du site
Messages : 9431
Enregistré le : jeu. 21 juin 2012 19:00

J'ai reproduis votre environnement et ne reproduis pas le problème avec votre version 3.1.45.

> pouvez-vous transmettre un impression écran avec l'ensemble de la section "Mails" du menu Administration > Paramètres > Général.
> Pouvez-vous détailler étapes par étapes les opérations réalisées en indiquant les profils utilisés.

Cdt
Fichiers joints
2019-12-19 13_41_37-screenshot-zensoft.png
2019-12-19 13_41_37-screenshot-zensoft.png (13.36 Kio) Vu 9538 fois
GestSup: 3.2.47 | Debian: 12 | Apache: 2.4.59 | MariaDB: 11.5.2 | PHP: 8.3.12 | https://doc.gestsup.fr/
okba6z
Gsup LEVEL 3
Messages : 88
Enregistré le : ven. 14 déc. 2018 16:38

https:// prnt.sc/qd43yz

Aucune idées, il s'agit que de profil utilisateur lamba qui déclare leur incident via mail to ticket
Le cas se produit aléatoirement
Par contre si je fais renvoyé le mail depuis le ticket, aucun souci
https:// prnt.sc/qd48yy

En renvoyant le mail

https:// prnt.sc/qd499t

Merci de votre aide
GestSup : 3.1.47 | Debian: 9.8 | NGINX & MARIADB
Avatar du membre
Flox
Administrateur du site
Messages : 9431
Enregistré le : jeu. 21 juin 2012 19:00

Avez-vous des messages d'erreurs dans les logs d'erreur Apache ?
GestSup: 3.2.47 | Debian: 12 | Apache: 2.4.59 | MariaDB: 11.5.2 | PHP: 8.3.12 | https://doc.gestsup.fr/
okba6z
Gsup LEVEL 3
Messages : 88
Enregistré le : ven. 14 déc. 2018 16:38

Ou voir sa?
Je dirais pas à ce que je saches
GestSup : 3.1.47 | Debian: 9.8 | NGINX & MARIADB
Avatar du membre
Flox
Administrateur du site
Messages : 9431
Enregistré le : jeu. 21 juin 2012 19:00

Code : Tout sélectionner

tail -n 200 /var/log/nginx/error.log
GestSup: 3.2.47 | Debian: 12 | Apache: 2.4.59 | MariaDB: 11.5.2 | PHP: 8.3.12 | https://doc.gestsup.fr/
okba6z
Gsup LEVEL 3
Messages : 88
Enregistré le : ven. 14 déc. 2018 16:38

Voila

Code : Tout sélectionner

login as: glpi
glpi@10.X.XXX.72's password:
Linux creweb 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Nov  5 15:03:32 2019 from 10.XX.XXX.60
glpi@creweb:~$ tail -n 200 /var/log/nginx/error.log
tail: impossible d'ouvrir '/var/log/nginx/error.log' en lecture: Permission non                                                                                                                                                              accordée
glpi@creweb:~$ su
Mot de passe :
root@creweb:/home/glpi# tail -n 200 /var/log/nginx/error.log
2019/12/19 12:08:56 [error] 647#647: *94 FastCGI sent in stderr: "Primary script                                                                                                                                                              unknown" while reading response header from upstream, client: 10.X.XXXX.138, serv                                                                                                                                                             er: localhost, request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://127.0.                                                                                                                                                             0.1:9000", host: "gestsup"
2019/12/23 10:19:01 [error] 647#647: *12977 FastCGI sent in stderr: "PHP message                                                                                                                                                             : PHP Fatal error:  Uncaught PHPMailer\PHPMailer\Exception: The following From a                                                                                                                                                             ddress failed: support.informatique@XXXXX.fr : MAIL FROM command failed,M                                                                                                                                                             essage submission rate for this client has exceeded the configured limit
,421,4.4.2SMTP server error: MAIL FROM command failed Detail: Message submission                                                                                                                                                              rate for this client has exceeded the configured limit
 SMTP code: 421 Additional SMTP info: 4.4.2 in /var/www/html/gestsup/components/                                                                                                                                                             PHPMailer/src/PHPMailer.php:1858
Stack trace:
#0 /var/www/html/gestsup/components/PHPMailer/src/PHPMailer.php(1589): PHPMailer                                                                                                                                                             \PHPMailer\PHPMailer->smtpSend('Date: Mon, 23 D...', '---- Repondre a...')
#1 /var/www/html/gestsup/components/PHPMailer/src/PHPMailer.php(1423): PHPMailer                                                                                                                                                             \PHPMailer\PHPMailer->postSend()
#2 /var/www/html/gestsup/core/mail.php(517): PHPMailer\PHPMailer\PHPMailer->send                                                                                                                                                             ()
#3 /var/www/html/gestsup/core/auto_mail.php(126): include('/var/www/html/g...')
#4 /var/www/html/gestsup/core/ticket.php(625): include('/var/www/html/g...')
#5 /" while reading upstream, client: 10.X.XXX.138, server: localhost, request: "                                                                                                                                                             POST /index.php?page=ticket&id=2034&userid=0&state=%25&viewid=&ticket=%25&techni                                                                                                                                                             cian=0&user=%25&sender_service=%25&category=%25&subcat=%25&asset=%25&title=%25&d                                                                                                                                                             ate_create=%25&priority=%25&criticality=%25&place=%25&service=%25&agency=%25&com                                                                                                                                                             panyview=&type=%25&company=%25&keywords=&view=&date_start=&date_end=&order=tstat                                                                                                                                                             es.number,tincidents.priority,tincidents.criticality,tincidents.date_create&way=                                                                                                                                                             DESC&cursor=0 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "gestsup",                                                                                                                                                              referrer: "http://gestsup/index.php?page=ticket&id=2034&userid=0&state=%25&viewi                                                                                                                                                             d=&ticket=%25&technician=0&user=%25&sender_service=%25&category=%25&subcat=%25&a                                                                                                                                                             sset=%25&title=%25&date_create=%25&priority=%25&criticality=%25&place=%25&servic                                                                                                                                                             e=%25&agency=%25&companyview=&type=%25&company=%25&keywords=&view=&date_start=&d                                                                                                                                                             ate_end=&order=tstates.number,tincidents.priority,tincidents.criticality,tincide                                                                                                                                                             nt
2019/12/23 10:19:47 [error] 647#647: *12977 FastCGI sent in stderr: "PHP message                                                                                                                                                             : PHP Fatal error:  Uncaught PHPMailer\PHPMailer\Exception: The following From a                                                                                                                                                             ddress failed: support.informatique@XXXXX.fr : MAIL FROM command failed,M                                                                                                                                                             essage submission rate for this client has exceeded the configured limit
,421,4.4.2SMTP server error: MAIL FROM command failed Detail: Message submission                                                                                                                                                              rate for this client has exceeded the configured limit
 SMTP code: 421 Additional SMTP info: 4.4.2 in /var/www/html/gestsup/components/                                                                                                                                                             PHPMailer/src/PHPMailer.php:1858
Stack trace:
#0 /var/www/html/gestsup/components/PHPMailer/src/PHPMailer.php(1589): PHPMailer                                                                                                                                                             \PHPMailer\PHPMailer->smtpSend('Date: Mon, 23 D...', '---- Repondre a...')
#1 /var/www/html/gestsup/components/PHPMailer/src/PHPMailer.php(1423): PHPMailer                                                                                                                                                             \PHPMailer\PHPMailer->postSend()
#2 /var/www/html/gestsup/core/mail.php(517): PHPMailer\PHPMailer\PHPMailer->send                                                                                                                                                             ()
#3 /var/www/html/gestsup/core/auto_mail.php(126): include('/var/www/html/g...')
#4 /var/www/html/gestsup/core/ticket.php(625): include('/var/www/html/g...')
#5 /" while reading upstream, client: 10.X.XXX.138, server: localhost, request: "                                                                                                                                                             POST /index.php?page=ticket&id=2037&userid=0&state=%25&viewid=&ticket=%25&techni                                                                                                                                                             cian=0&user=%25&sender_service=%25&category=%25&subcat=%25&asset=%25&title=%25&d                                                                                                                                                             ate_create=%25&priority=%25&criticality=%25&place=%25&service=%25&agency=%25&com                                                                                                                                                             panyview=&type=%25&company=%25&keywords=&view=&date_start=&date_end=&order=tstat                                                                                                                                                             es.number,tincidents.priority,tincidents.criticality,tincidents.date_create&way=                                                                                                                                                             DESC&cursor=0 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "gestsup",                                                                                                                                                              referrer: "http://gestsup/index.php?page=ticket&id=2037&userid=0&state=%25&viewi                                                                                                                                                             d=&ticket=%25&technician=0&user=%25&sender_service=%25&category=%25&subcat=%25&a                                                                                                                                                             sset=%25&title=%25&date_create=%25&priority=%25&criticality=%25&place=%25&servic                                                                                                                                                             e=%25&agency=%25&companyview=&type=%25&company=%25&keywords=&view=&date_start=&d                                                                                                                                                             ate_end=&order=tstates.number,tincidents.priority,tincidents.criticality,tincide                                                                                                                                                             nt
2019/12/23 10:20:17 [error] 649#649: *13021 FastCGI sent in stderr: "PHP message                                                                                                                                                             : PHP Fatal error:  Uncaught PHPMailer\PHPMailer\Exception: The following From a                                                                                                                                                             ddress failed: support.informatique@XXXX.fr : MAIL FROM command failed,M                                                                                                                                                             essage submission rate for this client has exceeded the configured limit
,421,4.4.2SMTP server error: MAIL FROM command failed Detail: Message submission                                                                                                                                                              rate for this client has exceeded the configured limit
 SMTP code: 421 Additional SMTP info: 4.4.2 in /var/www/html/gestsup/components/                                                                                                                                                             PHPMailer/src/PHPMailer.php:1858
Stack trace:
#0 /var/www/html/gestsup/components/PHPMailer/src/PHPMailer.php(1589): PHPMailer                                                                                                                                                             \PHPMailer\PHPMailer->smtpSend('Date: Mon, 23 D...', '\r\n\t\t\tLe ticket ...')
#1 /var/www/html/gestsup/components/PHPMailer/src/PHPMailer.php(1423): PHPMailer                                                                                                                                                             \PHPMailer\PHPMailer->postSend()
#2 /var/www/html/gestsup/core/message.php(63): PHPMailer\PHPMailer\PHPMailer->se                                                                                                                                                             nd()
#3 /var/www/html/gestsup/core/auto_mail.php(111): require('/var/www/html/g...')
#4 /var/www/html/gestsup/core/ticket.php(625): include('/var/www/html/g" while r                                                                                                                                                             eading upstream, client: 10.X.XXX.138, server: localhost, request: "POST /index.p                                                                                                                                                             hp?page=ticket&id=2032&userid=0&state=%25&viewid=&ticket=%25&technician=0&user=%                                                                                                                                                             25&sender_service=%25&category=%25&subcat=%25&asset=%25&title=%25&date_create=%2                                                                                                                                                             5&priority=%25&criticality=%25&place=%25&service=%25&agency=%25&companyview=&typ                                                                                                                                                             e=%25&company=%25&keywords=&view=&date_start=&date_end=&order=tstates.number,tin                                                                                                                                                             cidents.priority,tincidents.criticality,tincidents.date_create&way=DESC&cursor=0                                                                                                                                                              HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "gestsup", referrer: "ht                                                                                                                                                             tp://gestsup/index.php?page=ticket&id=2032&userid=0&state=%25&viewid=&ticket=%25                                                                                                                                                             &technician=0&user=%25&sender_service=%25&category=%25&subcat=%25&asset=%25&titl                                                                                                                                                             e=%25&date_create=%25&priority=%25&criticality=%25&place=%25&service=%25&agency=                                                                                                                                                             %25&companyview=&type=%25&company=%25&keywords=&view=&date_start=&date_end=&orde                                                                                                                                                             r=tstates.number,tincidents.priority,tincidents.criticality,tincidents.d
2019/12/23 10:21:08 [error] 649#649: *13021 FastCGI sent in stderr: "PHP message                                                                                                                                                             : PHP Fatal error:  Uncaught PHPMailer\PHPMailer\Exception: The following From a                                                                                                                                                             ddress failed: support.informatique@XXXXXl.fr : MAIL FROM command failed,M                                                                                                                                                             essage submission rate for this client has exceeded the configured limit
,421,4.4.2SMTP server error: MAIL FROM command failed Detail: Message submission                                                                                                                                                              rate for this client has exceeded the configured limit
 SMTP code: 421 Additional SMTP info: 4.4.2 in /var/www/html/gestsup/components/                                                                                                                                                             PHPMailer/src/PHPMailer.php:1858
Stack trace:
#0 /var/www/html/gestsup/components/PHPMailer/src/PHPMailer.php(1589): PHPMailer                                                                                                                                                             \PHPMailer\PHPMailer->smtpSend('Date: Mon, 23 D...', '---- Repondre a...')
#1 /var/www/html/gestsup/components/PHPMailer/src/PHPMailer.php(1423): PHPMailer                                                                                                                                                             \PHPMailer\PHPMailer->postSend()
#2 /var/www/html/gestsup/core/mail.php(517): PHPMailer\PHPMailer\PHPMailer->send                                                                                                                                                             ()
#3 /var/www/html/gestsup/core/auto_mail.php(126): include('/var/www/html/g...')
#4 /var/www/html/gestsup/core/ticket.php(625): include('/var/www/html/g...')
#5 /" while reading upstream, client: 10.X.XXX.138, server: localhost, request: "                                                                                                                                                             POST /index.php?page=ticket&id=2030&userid=0&state=%25&viewid=&ticket=%25&techni                                                                                                                                                             cian=0&user=%25&sender_service=%25&category=%25&subcat=%25&asset=%25&title=%25&d                                                                                                                                                             ate_create=%25&priority=%25&criticality=%25&place=%25&service=%25&agency=%25&com                                                                                                                                                             panyview=&type=%25&company=%25&keywords=&view=&date_start=&date_end=&order=tstat                                                                                                                                                             es.number,tincidents.priority,tincidents.criticality,tincidents.date_create&way=                                                                                                                                                             DESC&cursor=0 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "gestsup",                                                                                                                                                              referrer: "http://gestsup/index.php?page=ticket&id=2030&userid=0&state=%25&viewi                                                                                                                                                             d=&ticket=%25&technician=0&user=%25&sender_service=%25&category=%25&subcat=%25&a                                                                                                                                                             sset=%25&title=%25&date_create=%25&priority=%25&criticality=%25&place=%25&servic                                                                                                                                                             e=%25&agency=%25&companyview=&type=%25&company=%25&keywords=&view=&date_start=&d                                                                                                                                                             ate_end=&order=tstates.number,tincidents.priority,tincidents.criticality,tincide                                                                                                                                                             nt
root@creweb:/home/glpi# Linux creweb 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64
bash: Linux : commande introuvable
root@creweb:/home/glpi#
eroot@creweb:/home/glpi# The programs included with the Debian GNU/Linux system are free software;
bash: The : commande introuvable
root@creweb:/home/glpi# the exact distribution terms for each program are described in the
bash: the : commande introuvable
root@creweb:/home/glpi# individual files in /usr/share/doc/*/copyright.
GestSup : 3.1.47 | Debian: 9.8 | NGINX & MARIADB
Répondre