You are not logged in.
Hi,
I found that GLPI 10.0.1 receiver does not import tickets from mail account.
When there is a special character in message header (From contains eg ł,ą,ś,ć...) I got error:
Number of messages: available=3, already imported=0, received=3, refused=0, errors=3, blacklisted=0
All other messages are imported correctly.
Why?
Offline
Debug mode enabled but I see no errors.
also no errors in apache logs.
Where can I find some details?
Offline
Problem solved
I found in /var/www/html/glpi/files/_log/php-errors.log:
glpiphplog.CRITICAL: *** Uncaught Exception Laminas\Mail\Header\Exception\InvalidArgumentException: Invalid header value detected in /var/www/html/glpi/vendor/laminas/laminas-mail/src/Header/GenericHeader.php at line 59
and hashed 3 lines in that file:
# if (! HeaderValue::isValid($parts[1])) {
# throw new Exception\InvalidArgumentException('Invalid header value detected');
# }
maybe not elegant but it works
Offline
Hi pawcclsc,
It would be great if you can share the settings/configurations you did in GLPI 10.0.0.1 , in order to automatically generate tickets by receiving emails.
I have tried several forums however the solutions provided there seem to work with older versions of GLPI and not 10.0.0.1. I tried everything from configuring mailgate settings in "Automatic actions", and then trying to update crontab settings using command "crontab -e" on the root. However, nothing seems to work
Is there any specific version of PHP that should be used. I am using PHP 8.1.6.
Thanks a lot for your help.
Offline
Hi dhsahay,
I didn't make any change in default config.
I installed GLPI 10.0.1 from the scratch on Debian GNU/Linux 11 and PHP 7.4.
Do you have any errors in in /var/www/html/glpi/files/_log/php-errors.log ?
Offline
Work for me , even after upgrade from 9.x to 10.0.0 and 10.0.1
Provide mail error log, php log and mail log to review the problem
Offline