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 2019-06-06 17:04:08

jromero97
Member
Registered: 2019-06-05
Posts: 7

Automatics alerts to glpi going to blacklist

I have a Synology DS218 + that sends alerts via smtp to our GLPI, but in mailgate when I see that it enters, in the log I get:

1 Number of missatges: available = 1, rebuts = 1, refusats = 0, errors = 0, black list = 1

Automatically goes to blacklist, someone would know how to do so that I do not go to blacklist the alert created by the NAS?

Thank you.

Last edited by jromero97 (2019-06-13 11:11:04)

Offline

#2 2019-06-06 22:44:48

Rafumel1774
Member
Registered: 2019-05-11
Posts: 84

Re: Automatics alerts to glpi going to blacklist

Why not set the topic title properly? wink


your_system.com/front/notimportedemail.php

anything there?

Offline

#3 2019-06-13 11:15:26

jromero97
Member
Registered: 2019-06-05
Posts: 7

Re: Automatics alerts to glpi going to blacklist

Yees, i change the tittle to a convenient tittle.

I can't see there in my:system.com/front/notimportedemail.php.

No item found

Offline

#4 2019-06-13 16:21:28

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,273

Re: Automatics alerts to glpi going to blacklist

Do you allow anonymous ticket in global configuration?


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#5 2019-06-17 10:13:50

jromero97
Member
Registered: 2019-06-05
Posts: 7

Re: Automatics alerts to glpi going to blacklist

Yes, anonymous tickets are allowed.

Offline

#6 2019-06-20 21:05:03

Stril
Member
Registered: 2011-04-12
Posts: 10

Re: Automatics alerts to glpi going to blacklist

Hi!

I have the same problem with GLPI 9.2.2

Messages from some "automatic" scripts are blacklisted, but I have no idea, why.

- Rules:
There is no rule, that blocks them. For a test, I deleted all rules except: Create Ticket in entity "root" for EVERY mail

- Blacklist:
Blacklist is empty

- Anonymous Tickets
Anonymous Tickets are allowed.

Can you give me a hint on how to debug that "blacklisting"?

Thank you for your help!

Regards

Offline

#7 2019-08-19 14:21:59

pepeimpulso
Member
From: Spain
Registered: 2019-04-08
Posts: 14

Re: Automatics alerts to glpi going to blacklist

Stril wrote:

Hi!

I have the same problem with GLPI 9.2.2

Messages from some "automatic" scripts are blacklisted, but I have no idea, why.

- Rules:
There is no rule, that blocks them. For a test, I deleted all rules except: Create Ticket in entity "root" for EVERY mail

- Blacklist:
Blacklist is empty

- Anonymous Tickets
Anonymous Tickets are allowed.

Can you give me a hint on how to debug that "blacklisting"?

Thank you for your help!

Regards

Hello. I have the same problem and I'm running GLPI 9.4.3.

Any clues as to what the problem is or where to check?

Regards

Offline

#8 2019-08-19 15:00:19

pepeimpulso
Member
From: Spain
Registered: 2019-04-08
Posts: 14

Re: Automatics alerts to glpi going to blacklist

I managed to get it working using the old trick of "debugging" the code and removing what I don't want to execute. smile

In version 9.4.3, I edited inc/mailcollector.class.php and commented this code, around line 837.

      // Check if email not send by GLPI : if yes -> blacklist
      if (!isset($head['message_id'])
          || preg_match($glpi_message_match, $head['message_id'], $match)) {
         $tkt['_blacklisted'] = true;
         return $tkt;
      }

Preliminary tests work. Hopefully I don't get too much junk in now.

Offline

Board footer

Powered by FluxBB