You are not logged in.
Pages: 1
Hi all!
I just made a fresh install R 9.1.6 in Centos as VM (proxmox)
I want to auto create tickets from emails:
1. In Mail server - Auto create tickets - I created the mail server and test is ok
2. I have created the email account and I send a test email (in the email inbox I receive the sended email error report).
3. I configured the receiver, when I test I got
Number of messages: available=1, retrieved=1, refused=1, errors=0, blacklisted=0
In the email inbox, the sended message (test email error report) disappear.
4. In Automatic action - mailgate - I have configured the options (5 min, scheduled, CLI)
Logs:
2017-07-27 14:55 Start 0.000 seconds 0 Run mode: GLPI
Running 0.002 seconds 0 Collect mails from account@domain.com ({hosting.domain.com:143/imap/tls}INBOX)
Running 4.131 seconds 1 Number of messages: available=1, retrieved=1, refused=1, errors=0, blacklisted=0
End 4.131 seconds 1 Action completed, fully processed
but no ticket was ceated!
PHP-ERROR.LOG
2017-07-27 14:55:12 [2@vm002]
*** PHP Notice(8): Undefined index: image002.png
Backtrace :
inc/ticket.class.php:6099
inc/mailcollector.class.php:771 Ticket::convertContentForTicket()
inc/mailcollector.class.php:508 MailCollector->buildTicket()
inc/mailcollector.class.php:1618 MailCollector->collect()
: MailCollector::cronMailgate()
inc/crontask.class.php:832 call_user_func()
front/crontask.form.php:50 CronTask::launch()
I would appreciate any ideas
Offline
>>Number of messages: available=1, retrieved=1, refused=1, errors=0, blacklisted=0
It's means GLPI recieved the mail, but can't create a ticket. Try to check rules for mail recievers and be sure that you have user with this email (from which you send). In other case, you can enable anonymous ticket creation, then you don't need a users in GLPI.
>>(5 min, scheduled, CLI)
Did you edit crontab file to automatically run this job?
Debian Stretch + nginx 1.10.3 + php7.0-fpm
GLPI v9.3.1 + Reports, Behaviors, Forms
Offline
Freewood, thanks for your response; I modify -enable anonymous ticket creation- and now the ticket is created correctly.
I also add in crontab,
*/5 * * * * root /usr/bin/php /var/www/html/glpi/front/cron.php
Its working fine now!
THANK YOU!!
Offline
Pages: 1