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 2024-03-04 20:47:10

fgendorf
Member
Registered: 2011-02-01
Posts: 10

mailcollector blacklisting some e-mails

Hi, I created an notification from contract to send e-mail to mailcollector, but the GLPI are putting this e-mails on blacklist
I already check all rules and test disable then, but e-mails send from contract notification steal appear blacklisted=2 after "Get Email Tickets Now".

How can I track this blacklist and solve my problem?

Offline

#2 2024-03-05 12:52:10

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,430
Website

Re: mailcollector blacklisting some e-mails

Setup > Dropdowns > Blacklisted Mail Content


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#3 2024-03-05 13:25:26

fgendorf
Member
Registered: 2011-02-01
Posts: 10

Re: mailcollector blacklisting some e-mails

Thanks, but I already saw, and is empty... no filter added, how can I debug where this is classified as blacklist?
We have another notifications about license, etc and it is not blacklisted

Thank you in advance

Offline

#4 2024-03-05 14:17:43

fgendorf
Member
Registered: 2011-02-01
Posts: 10

Re: mailcollector blacklisting some e-mails

I found the part of code that is blacklisting my notification:

```
if ($this->isMessageSentByGlpi($message)) {
           // Message was sent by current instance of GLPI.
           // Message is blacklisted to avoid infinite loop (where GLPI creates a ticket from its own notification).
            $tkt['_blacklisted'] = true;
            return $tkt;
        }

```

but sometimes I want an automatic notification turn into a ticket, especially expiration license and contracts

Offline

Board footer

Powered by FluxBB