You are not logged in.
Pages: 1
Hi Friends,
Mailgate in automatic actions is not creating any tickets unless I collect the manually from the receiver.
I have scheduled the task in windows to run every 5 minutes.
Below is the message that I am getting in PHPerrors.
MailCollector::cronMailgate()
inc\crontask.class.php:832 call_user_func()
front\crontask.form.php:50 CronTask::launch()
2017-02-21 21:48:31 [9@GLPIDEV]
*** PHP Warning(2): imap_fetchheader(): Bad message number
Offline
In Automatic Actions -> mailgate, what's the status?
Running?
CLI or GLPI mode?
Last edited by eulogy (2017-02-21 22:20:56)
Offline
1) Status is enabled. .
2) Tried both options
A) CLI ...Scheduled a job in Windows to run cron.php and crontask.form.php
B) GLPI and scheduled to run every 5 minutes.
Both of the above modes I haven't got any ticket automatically.
I need to go to the receivers and click on the action manually to get the tickets from the Inbox.
Offline
Does this job have time in "Last run", maybe it's freezed after unsuccesseful run? In this case try to press "Execute" near the "Last run" field. If it's will successeful, then you have problem with mail server.
Debian Stretch + nginx 1.10.3 + php7.0-fpm
GLPI v9.3.1 + Reports, Behaviors, Forms
Offline
Yes it has time in Last Run. So it is not freezed and no need to run execute against the Last run.
Last run 2017-02-22 15:05
Next Run (2017-02-22 15:06) Execute.
Do you still say that it is because of mail server issue.
I am using below in receiver configuration.
{imap.gmail.com:993/imap/ssl/novalidate-cert/notls/debug}INBOX
I am still having the issue as I need to click the get mails every time.
Am using the same mail id even for the notifications also but the relay server is different. Mails are delayed.
What you suggest to 1) use same SMTP and email for both the notification and receivers or different email ID's
Offline
Hi,
I am facing the same issue anybody can help me?
Thanks
Imran Saif
Offline
Also windows system ? which version of glpi ?
You can mark this threat as [resolved] in subject of your threat. (This is only available edit of the first post.) It is good for users who help others to quickly see which post is still open.
##############################################
GLPI 9.3.3
Offline
ubuntu 16.10
{imap.gmail.com:993/imap/ssl/validate-cert/notls}
(google pls activate imap on google website in the accounts)
no problems
You can mark this threat as [resolved] in subject of your threat. (This is only available edit of the first post.) It is good for users who help others to quickly see which post is still open.
##############################################
GLPI 9.3.3
Offline
i have the same issue and i just update the crontab -e
*/1 * * * * /usr/bin/php5 /var/www/glpi/front/cron.php --force mailgate
Offline
please run this on CLI
*/1 * * * * /usr/bin/php5 /var/www/glpi/front/cron.php
put the result
Offline
Pages: 1