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 2011-05-09 01:09:05

enay
Member
Registered: 2011-05-06
Posts: 62

pick up tickets from email automatically

Hi,

I'm new to GPLI and would like to know how get GPLI to automatically check for new emails and then auto reply and assign to a technician?

Please help.

Thanks.

Offline

#2 2011-05-09 02:22:17

enay
Member
Registered: 2011-05-06
Posts: 62

Re: pick up tickets from email automatically

Okay,

The email is working, but the scheduler for mailgate (automation) is not working. If I click on the execute button, then it goes and fetch the emails. It supposed to fetch mails every 10 minutes and the next run shows this but doesn't automatically execute.

Can someone please help?

Offline

#3 2011-05-09 07:53:06

scmi
Member
From: Germany
Registered: 2009-02-10
Posts: 80

Re: pick up tickets from email automatically

Hi,
automatic actions must by in CLI run mode.


Prod GLPI: 9.4.1.1 / Apache 2.4.25 (Debian) /PHP 7.0.30/ Server Software: Debian 9.1/Server Version: 10.1.26-MariaDB-0+deb9u1

Offline

#4 2011-05-09 08:10:15

enay
Member
Registered: 2011-05-06
Posts: 62

Re: pick up tickets from email automatically

Thank you, scmi for your reply.

It is in CLI mode. Anything else I'm missing.

Offline

#5 2011-05-09 09:47:17

scmi
Member
From: Germany
Registered: 2009-02-10
Posts: 80

Re: pick up tickets from email automatically

Have you more system informations?


Prod GLPI: 9.4.1.1 / Apache 2.4.25 (Debian) /PHP 7.0.30/ Server Software: Debian 9.1/Server Version: 10.1.26-MariaDB-0+deb9u1

Offline

#6 2011-05-09 15:41:32

ocastillo
Member
Registered: 2011-05-08
Posts: 4

Re: pick up tickets from email automatically

I had this issue before and solved with a cron task:

http://www.glpi-project.org/wiki/doku.p … ig:crontab


regards
Osmin Castillo

Offline

#7 2011-05-10 00:52:21

enay
Member
Registered: 2011-05-06
Posts: 62

Re: pick up tickets from email automatically

Thank you ocastillo and scmi.

systems - windows 2008, iis 7 with php and mysql.

I have created a schedule task for the cron job. The task runs successfully, but glpi is still not picking up email unless I do it manually.

Offline

#8 2011-05-10 08:51:26

scmi
Member
From: Germany
Registered: 2009-02-10
Posts: 80

Re: pick up tickets from email automatically

may not delete emails in the inbox ??

cron log?

Last edited by scmi (2011-05-10 08:54:05)


Prod GLPI: 9.4.1.1 / Apache 2.4.25 (Debian) /PHP 7.0.30/ Server Software: Debian 9.1/Server Version: 10.1.26-MariaDB-0+deb9u1

Offline

#9 2011-05-10 08:53:18

enay
Member
Registered: 2011-05-06
Posts: 62

Re: pick up tickets from email automatically

I've manually deleted the emails from the inbox. Is this what you mean?

Thanks.

Offline

#10 2011-05-10 15:02:06

kriber
Member
From: Germany
Registered: 2010-12-10
Posts: 16

Re: pick up tickets from email automatically

Hi,

I have the same problem with automatic action "mailgate" - others seem to work fine.
The "execute" -Button works fine, too.

I am running glpi in version 0.80 (updated from 0.72.4) on an ubuntu environment.

I would like to use "cli"run-mode but I tried both run-modes.
My question is: do both run modes need an entry in /etc/crontab? do I have to chmod some other files than glpi directory (belongs to www-data)?

thanks for your help.

PS: in http://www.glpi-project.org/forum/viewt … p?id=22890 the original problem sounds like mine (but I had no update-errors like him) the last post says to add "u+x permission on the /var/lib/mysql/glpi", but I would rather ask you, than just try different things ... any suggestions?


GLPI 0.80.5 | Ubuntu Server 10.04.1 lts | Apache 2.2.14 | PHP 5.3.2-1 | MySQL  5.1.41

Offline

#11 2011-05-11 08:36:04

scmi
Member
From: Germany
Registered: 2009-02-10
Posts: 80

Re: pick up tickets from email automatically

Hi,

1. We've one entry and it works fine
2. I don't mean


Prod GLPI: 9.4.1.1 / Apache 2.4.25 (Debian) /PHP 7.0.30/ Server Software: Debian 9.1/Server Version: 10.1.26-MariaDB-0+deb9u1

Offline

#12 2011-05-11 08:42:29

enay
Member
Registered: 2011-05-06
Posts: 62

Re: pick up tickets from email automatically

Hi scmi,

I don't understand what you mean?

I have rebuild the install GLPI from scratch again. I have uninstalled MySQL, PHP and GLPI. I the re setup them all up again.

I still have the same problem. I know how to test incoming and outgoing email now, they're both working. I just can't get the mailgate service to execute automatically.

Also, I have problem auto assigning tickets by email. I have created a business rule for email and assign to a tech. Rule validated okay, but won't work.

Is the a trouble shooting section for windows? I'm scratching my head.

Btw - Thank you for your assistance.

Offline

#13 2011-05-11 10:58:18

scmi
Member
From: Germany
Registered: 2009-02-10
Posts: 80

Re: pick up tickets from email automatically

Sorry the last reply were related to kriber

We#ve one entry in /etc/crontab
(like this: */5 * * * * apache /usr/bin/php /srv/www/html/glpi/front/cron.php)

My installation is so old that I do not remember whether we  have to chmod some other files

Excuse my terrible English


Prod GLPI: 9.4.1.1 / Apache 2.4.25 (Debian) /PHP 7.0.30/ Server Software: Debian 9.1/Server Version: 10.1.26-MariaDB-0+deb9u1

Offline

#14 2011-05-12 05:57:05

enay
Member
Registered: 2011-05-06
Posts: 62

Re: pick up tickets from email automatically

I have resolved my issue. It was PHP that caused the problem. I have also created a scheduled task as mentioned early by ocastillo.

Now automation is working and email is working. Now I can begin testing....

Thanks to all that have assisted me with this issue.

Offline

#15 2011-05-12 15:42:26

kriber
Member
From: Germany
Registered: 2010-12-10
Posts: 16

Re: pick up tickets from email automatically

Hi,

thanks scmi, I tried the crontab entry with cli-mode, which did not work. But now with this entry the glpi-mode ran successfully. I thought the crontab entry would not be necessary for glpi-mode, because loading other sites should trigger the automatic action.... I am confused.

Anywwy, I hope it works continously now.

thanks for your advise, scmi.

kriber

PS: another short question, in one version I tried (0.78 I think), there was an automatic action for backups, is this gone in the 0.80 version? or am i able to create my own actions?


GLPI 0.80.5 | Ubuntu Server 10.04.1 lts | Apache 2.2.14 | PHP 5.3.2-1 | MySQL  5.1.41

Offline

#16 2011-07-08 10:57:34

zerabba
Member
Registered: 2010-10-18
Posts: 3

Re: pick up tickets from email automatically

Hi,

I have the same trouble since I upgrade from version 0.78 to 0.80.1. How did you solve your problem in the PHP configuration?

When I launch manually in the mailgate, it works. But after the next automatic check, it marks me in the mailgate:

Next run :     As soon as possible (2011-07-08 10:48) - Execute

What could be the problem?

Thanks for your help.

Best regards,

Raphaël

Offline

#17 2011-07-13 10:17:07

pdsgomes
Member
Registered: 2010-11-18
Posts: 17

Re: pick up tickets from email automatically

Zerebba, I have the same problem as you, do you have any solution?

Thank you

Offline

#18 2011-08-04 01:15:11

enay
Member
Registered: 2011-05-06
Posts: 62

Re: pick up tickets from email automatically

Zerebba,

These are the steps i took to resolve the issue;

1) change the mode to CLI
2) It's a link from ocastillo which tells you to do the below steps (i set the schedule task to 1 min)-

You must use the Task Scheduler (from the Control Panel)

Create a new task which will launch the PHP binary, with the cron.php script path as argument every 5 minutes

Examples :

"c:/pathtophp.exe c:/web_folder/glpi/front/cron.php "


If you GLPI is not windows, then use the cron job example from the link above - or here - http://www.glpi-project.org/wiki/doku.p … ig:crontab

Offline

#19 2011-09-19 14:46:25

Cjxy
Member
Registered: 2011-09-19
Posts: 2

Re: pick up tickets from email automatically

enay wrote:

Zerebba, crate training puppies puppy feeding schedule puppy aggression puppy biting puppy whining
These are the steps i took to resolve the issue; puppy barking weaning puppies puppy training tips

1) change the mode to CLI puppy chewing how to train a puppy puppy separation anxiety puppy toilet training
2) It's a link from ocastillo which tells you to do the below steps (i set the schedule task to 1 min)-

You must use the Task Scheduler (from the Control Panel) puppy crying why do dogs eat poop

Create a new task which will launch the PHP binary, with the cron.php script path as argument every 5 minutes

Examples : how to leash train a puppy marijuana seeds for sale why do dogs eat grass buy weed seeds northern lights strain pot seeds for sale buy cannabis seeds cannabis seeds for sale
"c:/pathtophp.exe c:/web_folder/glpi/front/cron.php "


If you GLPI is not windows, then use the cron job example from the link above - or here - http://www.glpi-project.org/wiki/doku.p … ig:crontab

Thank you thank you thank you enay.. Been struggling with this for the last few days, just tried this and it worked a treat... thanks again smile

Offline

Board footer

Powered by FluxBB