-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mail receivers not working #7683
Comments
log [2020-07-14 11:55:57] glpiphplog.CRITICAL: *** Uncaught Exception Laminas\Mail\Storage\Exception\RuntimeException: cannot login, user or password wrong in /home/domain/public_html/glpi/vendor/laminas/laminas-mail/src/Storage/Imap.php at line 218 i have tested the email address and password in webmail and it works... |
log |
Several issues has been fixed since the release regarding collectors. Please try with latest nightly build |
still not working, Uncaught Exception Laminas\Mail\Storage\Exception\RuntimeException: cannot login, user or password wrong in /home/domain/public_html/glpi/vendor/laminas/laminas-mail/src/Storage/Imap.php at line 218 |
#7698 may prevent the blank page, but message is pretty clear "cannot login, user or password wrong". Had you a working configuration before upgrading to GLPI 9.5 ? What was this configuration ? Regards |
login an password is correct, yes it was working before. [code] GLPI 9.4.6 (/glpi => /home/domain/public_html/glpi) Installation mode: TARBALLOperating system: Linux odedi56318.mywhc.ca 3.10.0-1127.13.1.el7.x86_64 #1 SMP Tue Jun 23 15:46:38 UTC 2020 x86_64 PHP 7.4.8 fpm-fcgi (Core, PDO, PDO_ODBC, Phar, Reflection, SPL, SimpleXML, SourceGuardian, Zend OPcache, apcu, bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imagick, imap, intl, json, ldap, libxml, mbstring, mysqli, mysqlnd, odbc, openssl, pcntl, pcre, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, posix, pspell, session, shmop, snmp, soap, sockets, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib) Setup: max_execution_time="60" memory_limit="256M" post_max_size="128M" safe_mode="" session.save_handler="files" upload_max_filesize="128M" Software: Apache () Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36 Server Software: MariaDB Server Server Version: 10.2.32-MariaDB Server SQL Mode: Parameters: domain_glpi32@localhost/domain_glpi32 Host info: Localhost via UNIX socket mysqli extension is installed ctype extension is installed fileinfo extension is installed json extension is installed mbstring extension is installed iconv extension is installed zlib extension is installed curl extension is installed gd extension is installed simplexml extension is installed xml extension is installed ldap extension is installed imap extension is installed Zend OPcache extension is installed APCu extension is installed xmlrpc extension is installed exif extension is installed CAS extension is not present Database version seems correct (10.2.32) - Perfect! /home/domain/public_html/glpi/files/_log : OK /home/domain/public_html/glpi/config : OK /home/domain/public_html/glpi/files : OK /home/domain/public_html/glpi/files/_dumps : OK /home/domain/public_html/glpi/files/_sessions : OK /home/domain/public_html/glpi/files/_cron : OK /home/domain/public_html/glpi/files/_graphs : OK /home/domain/public_html/glpi/files/_lock : OK /home/domain/public_html/glpi/files/_plugins : OK /home/domain/public_html/glpi/files/_tmp : OK /home/domain/public_html/glpi/files/_cache : OK /home/domain/public_html/glpi/files/_rss : OK /home/domain/public_html/glpi/files/_uploads : OK /home/domain/public_html/glpi/files/_pictures : OK Web access to files directory is protected : OK SELinux mode is Unknown SELinux boolean configuration for httpd_can_network_connect --> unkwown (Some features may require this to be on) SELinux boolean configuration for httpd_can_network_connect_db --> unkwown (Some features may require this to be on) SELinux boolean configuration for httpd_can_sendmail --> unkwown (Some features may require this to be on) htmLawed version 1.2.4 in (/home/domain/public_html/glpi/lib/htmlawed) phpmailer/phpmailer version 6.0.7 in (/home/domain/public_html/glpi/vendor/phpmailer/phpmailer/src) simplepie/simplepie version 1.5.3 in (/home/domain/public_html/glpi/vendor/simplepie/simplepie/library) tecnickcom/tcpdf version 6.3.2 in (/home/domain/public_html/glpi/vendor/tecnickcom/tcpdf) michelf/php-markdown in (/home/domain/public_html/glpi/vendor/michelf/php-markdown/Michelf) true/punycode in (/home/domain/public_html/glpi/vendor/true/punycode/src) iamcal/lib_autolink in (/home/domain/public_html/glpi/vendor/iamcal/lib_autolink) sabre/vobject in (/home/domain/public_html/glpi/vendor/sabre/vobject/lib) zendframework/zend-cache in (/home/domain/public_html/glpi/vendor/zendframework/zend-cache/src) zendframework/zend-i18n in (/home/domain/public_html/glpi/vendor/zendframework/zend-i18n/src) zendframework/zend-serializer in (/home/domain/public_html/glpi/vendor/zendframework/zend-serializer/src) monolog/monolog in (/home/domain/public_html/glpi/vendor/monolog/monolog/src/Monolog) sebastian/diff in (/home/domain/public_html/glpi/vendor/sebastian/diff/src) elvanto/litemoji in (/home/domain/public_html/glpi/vendor/elvanto/litemoji/src) symfony/console in (/home/domain/public_html/glpi/vendor/symfony/console) leafo/scssphp in (/home/domain/public_html/glpi/vendor/leafo/scssphp/src) Not active Way of sending emails: PHP Name: 'support@domain.ca' Active: Yes Server: '{domain.ca/imap/ssl/novalidate-cert/notls/debug}INBOX' Login: 'support@domain.ca' Password: Yes accounts Name: Accounts Version: 2.5.0 State: Not activated fields Name: Additional Fields Version: 1.10.0 State: Enabled dashboard Name: Dashboard Version: 0.9.7 State: Not activated databases Name: Databases Version: 2.2.0 State: Not activated domains Name: Domains Version: 2.1.0 State: Not activated environment Name: Environment Version: 2.3.0 State: Not activated datainjection Name: File injection Version: 2.7.0 State: Not activated formcreator Name: Forms Version: 2.7.0 State: Not activated fusioninventory Name: FusionInventory Version: 9.4+2.4 State: Enabled mod Name: GLPI Modifications Version: 1.5.2 State: Enabled resources Name: Human Resources Version: 2.6.0 State: Not activated mydashboard Name: My Dashboard Version: 1.7.4 State: Not activated officeonline Name: Office Online Version: 1.0.1 State: Not activated reservation Name: Reservation Version: 2.2.0 State: Enabled shellcommands Name: Shell Commands Version: 2.3.0 State: Not activated showconns Name: Show connected items Version: 0.1 State: Not activated webapplications Name: Web applications Version: 2.6.0 State: Not activated |
I was refering to the mail collector configuration. Can you give use its connection params (pop, imap, ssl, no ssl, port 143,port 993, port 995, tls, no tls, etc) ? |
Your problem may be due to usage of the "no-validate-cert" option. See #7693. |
now, when i test on a new installation on an other domain name on the same dedicated server i have an other error message when i try to add a mail receiver Uncaught Exception SodiumException: Key must be CRYPTO_AEAD_XCHACHA20POLY1305_KEYBYTES long in /home/test/public_html/glpi/vendor/paragonie/sodium_compat/src/Compat.php at line 897 |
Please provide the full stack trace. Wihout it, we cannot really investigate. |
[2020-07-21 13:57:59] glpiphplog.CRITICAL: *** Uncaught Exception SodiumException: Key must be CRYPTO_AEAD_XCHACHA20POLY1305_KEYBYTES long in /home/test/public_html/glpi/vendor/paragonie/sodium_compat/src/Compat.php at line 897 |
It looks like your GLPI key is corrupted, I do not know how it is possible. Did you edit the |
no i have not, never |
I'm having trouble logging into Exchange. The application connects, but gives a user and password error even without using special characters. The problem does not happen at office365. In version 9.4.6 the same configuration works. I have already changed the password several times and it was no use. I am not using TSL. |
That is not the problem. In office365 IMAP works, but in exchange it doesn't work. |
If I understand right, you have no |
Initial issue does not mention the Regards |
Hi, Multiple problems related to encryption and mail receivers have been solved recently. I close this issue as no feedback were given to latests comments. Feel free to reopen if problem persist or open a new issue if a new problem appears. Regards |
Expected behavior
after updating to 9.5.0 mail receivers doesnt work i tried updating with the 9.5 bugfixes and still doesnt work.
i tried every option, pop,imap, ssl, no ssl, port 143,port 993, port 995, tls, no tls, domain name, server ip, localhost.. nothing work.
when i click get 'get email tickets now" im redirected to a blank page (https://domain.ca/glpi/front/mailcollector.form.php) and nothing happens
Your GLPI setup (you can find it in Setup > General menu, System tab)
The text was updated successfully, but these errors were encountered: