You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2018-04-26 10:15:07

carlosbmc
Member
Registered: 2016-12-01
Posts: 159

Error new ticket by if is not using execute button in mailgate

Version 9.2.2 I have Automatic Action Mailgate program every 15 minutes.

If I send one mail the automatic action not create new ticket.

But if I execute the action manually then it works correctly and the ticket is created


GLPI 9.5.2;; FusionInventory: 9.2+1.0;; GLPI Modifications 1.1.4;; Notifications 1.1.9;;  Dashboard 0.8.8;; PHP 7.3.33

Offline

#2 2018-04-26 10:17:03

LaDenrée
HELPER
Registered: 2012-11-19
Posts: 6,168

Re: Error new ticket by if is not using execute button in mailgate

Hi,
is mailgate automatic ation mode set to CLI or GLPI ?

windows or linux server ?


Trouver la panne avant de réparer...
GLPI10.0.10 (ubuntu 22.04 PHP8.1  Mariadb10.6 ) plugins : comportements 2.7.2 reports 1.16.0 formcreator 2.13.8, datainjection 2.13.4 fields 1.21.6

Offline

#3 2018-04-26 14:08:48

carlosbmc
Member
Registered: 2016-12-01
Posts: 159

Re: Error new ticket by if is not using execute button in mailgate

I Have try two modes but not woking


GLPI 9.5.2;; FusionInventory: 9.2+1.0;; GLPI Modifications 1.1.4;; Notifications 1.1.9;;  Dashboard 0.8.8;; PHP 7.3.33

Offline

#4 2018-04-26 14:12:57

LaDenrée
HELPER
Registered: 2012-11-19
Posts: 6,168

Re: Error new ticket by if is not using execute button in mailgate

if GLPI mode :

create some tickets, solve tickets , this will trigger mailgate actions.

if CLI mode
add a line in your server crontab that runs glpi/front/cron.php every  15 minutes this will trigger automatic acions


Trouver la panne avant de réparer...
GLPI10.0.10 (ubuntu 22.04 PHP8.1  Mariadb10.6 ) plugins : comportements 2.7.2 reports 1.16.0 formcreator 2.13.8, datainjection 2.13.4 fields 1.21.6

Offline

#5 2018-04-26 17:06:25

carlosbmc
Member
Registered: 2016-12-01
Posts: 159

Re: Error new ticket by if is not using execute button in mailgate

Sorry ,   I'm not explain correctly.   The job executes everi 15 min,  but

Using the same mail (sender, destination, subject and body)

If the job is executed by cron or trigger then I obtain this   (the mail is rejected)
En ejecución    2.370 segundos      1    Número de mensajes: disponibles=1, recibidos=1, rechazados=1, errores=0, lista negra=0

but If i execute the job manually I obtain this
En ejecución    3.217 segundos      1    Número de mensajes: disponibles=1, recibidos=1, rechazados=0, errores=0, lista negra=0


GLPI 9.5.2;; FusionInventory: 9.2+1.0;; GLPI Modifications 1.1.4;; Notifications 1.1.9;;  Dashboard 0.8.8;; PHP 7.3.33

Offline

#6 2018-04-26 17:09:51

LaDenrée
HELPER
Registered: 2012-11-19
Posts: 6,168

Re: Error new ticket by if is not using execute button in mailgate

check that the email "FROM" is not admin email   (to avoid loops, glpi discards these emails)


Trouver la panne avant de réparer...
GLPI10.0.10 (ubuntu 22.04 PHP8.1  Mariadb10.6 ) plugins : comportements 2.7.2 reports 1.16.0 formcreator 2.13.8, datainjection 2.13.4 fields 1.21.6

Offline

#7 2018-04-26 17:11:23

LaDenrée
HELPER
Registered: 2012-11-19
Posts: 6,168

Re: Error new ticket by if is not using execute button in mailgate

check administration>rules>Rules for assigning a ticket created through a mails receiver


Trouver la panne avant de réparer...
GLPI10.0.10 (ubuntu 22.04 PHP8.1  Mariadb10.6 ) plugins : comportements 2.7.2 reports 1.16.0 formcreator 2.13.8, datainjection 2.13.4 fields 1.21.6

Offline

#8 2018-04-26 17:59:04

carlosbmc
Member
Registered: 2016-12-01
Posts: 159

Re: Error new ticket by if is not using execute button in mailgate

I think is all correct,   Simply the firs rule :

Condition :  Destinatario de correo    es    dimilXXX@sopXXX.XXX.XXX
Action Entidad basada en el perfil de usuario    Asignar    Sí  (entity based on user profile)

But the mail is rejected,, 

Hoy can I see why a mail is rejected.

(Notifications by mail works correctly,  an if a user responds a existing ticket usin mail,  works correctly too)


GLPI 9.5.2;; FusionInventory: 9.2+1.0;; GLPI Modifications 1.1.4;; Notifications 1.1.9;;  Dashboard 0.8.8;; PHP 7.3.33

Offline

#9 2018-05-02 17:28:04

carlosbmc
Member
Registered: 2016-12-01
Posts: 159

Re: Error new ticket by if is not using execute button in mailgate

Nobody?


GLPI 9.5.2;; FusionInventory: 9.2+1.0;; GLPI Modifications 1.1.4;; Notifications 1.1.9;;  Dashboard 0.8.8;; PHP 7.3.33

Offline

#10 2018-05-07 19:55:17

carlosbmc
Member
Registered: 2016-12-01
Posts: 159

Re: Error new ticket by if is not using execute button in mailgate

Solved, recreating rules


GLPI 9.5.2;; FusionInventory: 9.2+1.0;; GLPI Modifications 1.1.4;; Notifications 1.1.9;;  Dashboard 0.8.8;; PHP 7.3.33

Offline

Board footer

Powered by FluxBB