Page 1 sur 4

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

Posté : jeu. 19 déc. 2019 12:06
par okba6z
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,

Re: Mail de notification de création de mail vide

Posté : jeu. 19 déc. 2019 12:13
par Flox
Bonjour,

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

cdt

Re: Mail de notification de création de mail vide

Posté : jeu. 19 déc. 2019 12:55
par okba6z
bonjour
Pour la partie général:
https://prnt.sc/qd10ti

Re: Mail de notification de création de mail vide

Posté : jeu. 19 déc. 2019 12:56
par okba6z
pour la partie imap:
https://prnt.sc/qd11cf

Merci de votre aide

Re: Mail de notification de création de mail vide

Posté : jeu. 19 déc. 2019 13:42
par Flox
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

Re: Mail de notification de création de mail vide

Posté : jeu. 19 déc. 2019 15:58
par okba6z
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

Re: Mail de notification de création de mail vide

Posté : jeu. 19 déc. 2019 17:41
par Flox
Avez-vous des messages d'erreurs dans les logs d'erreur Apache ?

Re: Mail de notification de création de mail vide

Posté : lun. 23 déc. 2019 09:48
par okba6z
Ou voir sa?
Je dirais pas à ce que je saches

Re: Mail de notification de création de mail vide

Posté : lun. 23 déc. 2019 10:04
par Flox

Code : Tout sélectionner

tail -n 200 /var/log/nginx/error.log

Re: Mail de notification de création de mail vide

Posté : lun. 23 déc. 2019 11:15
par okba6z
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.