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 2017-10-03 09:08:47

krogac
Member
Registered: 2015-11-27
Posts: 74

Create new ticket by e-mail

Hello,

1. I create receiver to create tickets by email. I have connection to my email.
When i "Get email tickets now" i got information in task:

"Number of messages: available=1, retrieved=1, refused=1, errors=0, blacklisted=0"

Why GLPI refused my email?

2. Can i set rule or something else in GLPI that emails while by add to the system automatically?

I use GLPI 9.1.6 / Fedora Server 26

Offline

#2 2017-10-03 10:12:38

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

Re: Create new ticket by e-mail

1)
check that "from" is not an admin email adress.
check if you can create anonymous tickets . if not and if you dont want to , check that 'from'  corresponds to a single glpi user.

2) check automatic tasks : setup>automatic tasks>mailgate should be active. set frequency, and mode

CLI MODE : you have to set up a cron that launches glpi/front/cron.php every x minutes -> ( more reliable 24h/24 7d/7)
GLPI Mode: actions in glpi triggers automatic tasks ->  if no action ( week end, overnight) no mailgate.


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 2017-10-03 13:52:26

krogac
Member
Registered: 2015-11-27
Posts: 74

Re: Create new ticket by e-mail

Thanks, everything's work fine.

I have another question. Can i block other email's than my domain?

Offline

#4 2017-10-03 14:23:03

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

Re: Create new ticket by e-mail

here one way to reject unknown domain ( but there are other ways)

administration>rules> Rules for assigning a ticket created through a mails receiver
create new rule ( R_RejectOtherDomains)
Criteria :  From email header does not contain @mydomain
action : reject email (without email response) assign yes


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 2017-10-03 14:38:46

krogac
Member
Registered: 2015-11-27
Posts: 74

Re: Create new ticket by e-mail

Thank's! It works! :-)

Offline

Board footer

Powered by FluxBB