You are not logged in.
Hello,
since some weeks we're testing GLPI and we're very satisfied. I think it's one of the best and with safety the most comprhensive CMDB opensource tools.
But now i've some trouble with the automatic ticket generation by email.
Some information about my configuration:
- I have some different entities with own Mail-Gateways
- I have also configured an external (Linux)-cronjob (owned by www-data) on cron.php (like described in the Wiki).
The results:
- It works fine if someone is active in GLPI
- But it doesn't works if nobody is logged in
What I've done to find the error:
- Setting GLPI in debug-mode
- checked syslog for Linux-cronjob. OK (running every minute)
- checked the crontab command by executing on shell.
Result: - no error messages on shell, php-errors.log and sql-errors.log
- but also no ticket generation
- tailing cron.log with following results
2009-01-10 14:28:49
Launch mailgate
2009-01-10 14:28:49
Collect mails from {192.168.11.101/imap/ssl/novalidate-cert} for VPOSNet.eu
2009-01-10 14:28:50
Launch dbreplicate
Has anyone an idea what there could be wrong or what i can do to find this error?
The ticket generation by incoming emails is a very important (and critical) feature for us, because most ticktes will be generated on this way.
Thank you for help!
freelancer - martin henkel
-----------------------------------------------------
GLPI 0.71.1 - Debian Etch - Apache2 - PHP 5.2.0-8 - MySQL 5.1
Offline
I've got the same problem but I can't find a way to fix it.
Hope that someone can help us
Alex
Offline
Hi,
Freelancer : Pllease udpate your GLPI first. 0.71.3 correct some bugs on mailgate. But i don't really think that this is the real problem. If GLPI could collect with it's pseudo cron, your problem certainly in your configuration of your cronjob.
Webalex : http://glpi-project.org/forum/viewtopic.php?id=10279
JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au projet GLPI : Soutenir
Offline
My configuration :
Apache2
Php5
Glpi 0.71.3
Any browser
I've made the configuration as explained in the wiki.
The cron run well but not the mailgate
If someone is logged in the platform the mailgate run.
The debug information don't say anything that can help me.
Have you any idea of what can is the problem ?
Regards,
Alexandre
Offline
I've made the configuration as explained in the wiki.
Which configuration exactly ? On which distribution ? What are the result of the cron.log ?
Please more information you give, more help you could receive...
JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au projet GLPI : Soutenir
Offline
On unbuntu 8.10
The cron is configured as said in the wiki
The cron.log results:
11-01-2009 14:00
ocsng Nothing to do (0.00s)
11-01-2009 14:05
Launch mailgate
11-01-2009 14:05
Collect mails from {192.168.1.12/pop} for Entité Racine
11-01-2009 14:05
échec de connexion
11-01-2009 14:05
mailgate Successfull (0.00s)
Offline
Humm,
The cron.log is clear, your cron job is ok but you have connection problem. GLPI cant' connect to the pop account....
JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au projet GLPI : Soutenir
Offline
Hello,
I've updated our installation this afternoon on version 0.71.3 (it's only a test environment, so we need no change request....) . Seems that the problem is fixed now.
Thank you!
I didn't updated before, because I didn't find something like a Change-Log where I could see a relationship between mailgate and the changes in the newest version.
BTW, where can I find changelogs on your site?
freelancer - martin henkel
-----------------------------------------------------
GLPI 0.71.1 - Debian Etch - Apache2 - PHP 5.2.0-8 - MySQL 5.1
Offline
Changelog for each version is available as a link on the annoucement (to the trac)
Ex : https://dev.indepnet.net/glpi/milestone/0.71.3
++
Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/
Offline
Cool! Bookmarked!
Thank you!
freelancer - martin henkel
-----------------------------------------------------
GLPI 0.71.1 - Debian Etch - Apache2 - PHP 5.2.0-8 - MySQL 5.1
Offline
The changelog is specified for each new version in the announce, the mail on mailling list etc....
I don't understand why you didn't find it.
JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au projet GLPI : Soutenir
Offline
That's a good question! I suppose, that I didn't realized that 'changelog' in Announcements was a link....
For whatever reason....
freelancer - martin henkel
-----------------------------------------------------
GLPI 0.71.1 - Debian Etch - Apache2 - PHP 5.2.0-8 - MySQL 5.1
Offline
What is the default time on fetching the mail? My problems is as follows. I have successfully configuret mail gateway for sending e-mail follow ups and fetching mail (btw: excellent solution dev team!..). Now cron daemon is running every minute, but when I run it, my mail is still in the mailbox. After few minutes the mail is gone and the ticket is created. I tried looking to /var/www/glpi/files_log/cron.log but the file is empty.
Any suggestions?
Cheers,
V
Offline
3 or 6 min i don't remenber exactly.
Your could change it in the file /inc/cron.class,php
JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au projet GLPI : Soutenir
Offline