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 2013-12-02 13:45:38

triscom5
Member
Registered: 2013-12-02
Posts: 3

Automatic ticket import

Hello good people,

I’m facing some problems with GLPI automatically import tickets from mailbox. If I send mail directly to the "GLPI mail account" it works fine, but if I send mail to mail-group that just redirects all mail to "GLPI mail account" it does not work anymore. In both cases the mail is processed, deleted, but in second case the mail is not imported into GLPI.

Here you can see two mails being processed by GLPI. First mail was send directly to "GLPI mail account", the second one (refused) was send to mail-group and redirected to "GLPI mail account":

Date            Status    Duration    Number    Description
2013-12-02     Start        0.000s        0        Run mode: CLI
            Running    0.039s        0        Collect mails from {mail.server.com/pop/novalidate-cert/tls}
            Running    2.265s        2        Number of messages: available=2, collected=2 (1 refused)
            End        2.267s        2        Action completed, fully processed

Thank you for helping me out!

Offline

#2 2013-12-02 14:55:34

Torks
Member
Registered: 2013-12-02
Posts: 25

Re: Automatic ticket import

Hello,

When you go to Setup => receivers and then "List of not imported emails", it should show you the reason why the email was not imported.
Can you check that?


Glpi 0.83.91 | Debian 6 | Apache2 + Php 5.3
Tant qu'y'a Glpi, y'a d'l'espoir !

Offline

#3 2013-12-02 16:45:05

triscom5
Member
Registered: 2013-12-02
Posts: 3

Re: Automatic ticket import

Home >Setup >Automatic actions>mailgate ---> manual executed
Date    Status    Duration    Number    Description
2013-12-02 15:41    Start    0.000s    0    Run mode : GLPI
    Running    0.017s    0    Collect mails from {mail.server.com/pop/novalidate-cert/tls}
    Running    0.303s    1    Number of messages: available=1, collected=1 (1 refused)
    End    0.305s    1    Action completed, fully processed

Home >Setup >Receivers>list of nonimported emails ---> No item found

Last edited by triscom5 (2013-12-02 16:45:23)

Offline

#4 2013-12-02 17:03:44

Torks
Member
Registered: 2013-12-02
Posts: 25

Re: Automatic ticket import

Are you sure that you are on the root entity?

You have in the log : Number of messages: available=1, collected=1 (1 refused)
So, that means that an email has been refused, and it should tell you why the email is refused?

I guess that I don't know enough about GLPI...


Glpi 0.83.91 | Debian 6 | Apache2 + Php 5.3
Tant qu'y'a Glpi, y'a d'l'espoir !

Offline

#5 2013-12-02 18:06:56

triscom5
Member
Registered: 2013-12-02
Posts: 3

Re: Automatic ticket import

Yes, I'm logged in as admin, but "Home >Setup>Receivers>List of nonimported emails" is empty. I think that the problem is, if recipient is not the same as mailbox address, where GLPI is checking mail.

User -> GLPI mail account -> GLPI check, import, delete -> ticket successfuly imported
User -> mail-group (FWD TO: my mail account & GLPI mail account) -> GLPI check, import, delete -> refused

Offline

#6 2013-12-02 18:11:46

Torks
Member
Registered: 2013-12-02
Posts: 25

Re: Automatic ticket import

Yes, it can be the cause of the problem.
But I thought (because I had the case last week, with my sender's email unknown in GLPI) that when the ticket is refused, list list of non-imported emails is populated with refused emails, and the reason given.

Eg, if the sender's email address is unknown of GLPI and anonymous posting disabled, the email is placed in list of non-imported emails, and the reason "unknown user" is displayed...

Maybe the problem is caused by your mail server?
Can you try to create an alias instead of the mail-group, and check the receiver's behaviour?


Glpi 0.83.91 | Debian 6 | Apache2 + Php 5.3
Tant qu'y'a Glpi, y'a d'l'espoir !

Offline

#7 2022-06-24 16:06:34

JoaoSintra
Member
Registered: 2022-06-17
Posts: 5

Re: Automatic ticket import

I've made a php script to insert directly inside GLPI database with a tickets export from spiceworks

github.com/joaosintra14/ImportTicketsFromSpiceworksToGLPI

Offline

Board footer

Powered by FluxBB