You are not logged in.
Pages: 1
Hi,
I set email notifications as follow:
It works,
But when I set Receiver as follow:
And try to get mails tickets, it fail and crash the web session.
I put the GLPI in debug mode but don't get any aditional logs different from this:
[2018-08-29 14:53:45] glpiphplog.ERROR: Toolbox::userErrorHandlerNormal() in /var/www/html/soporte/inc/toolbox.class.php line 657
*** PHP Warning(2): imap_open(): Couldn't open stream {imap.gmail.com:993/imap/ssl/validate-cert/notls/debug}
Backtrace :
:
inc/mailcollector.class.php:1107 imap_open()
inc/mailcollector.class.php:515 MailCollector->connect()
inc/mailcollector.class.php:1658 MailCollector->collect()
: MailCollector::cronMailgate()
inc/crontask.class.php:836 call_user_func()
front/cron.php:61 CronTask::launch()
{"user":"@rigel.gtssa.co","mem_usage":"0.446\", 3.22Mio)"}
I tried with all options for Stream but nothing works,
Can you help me Please.
Thanks a lot.
Offline
Hi;
I had a similar issue a year ago.
The frist thing you can try is to fill our the "Incoming mail folder box".
The other thing was : Gmail worked with flags on emails. I had to deactived these flags.
Offline
Hi;
I had a similar issue a year ago.
The frist thing you can try is to fill our the "Incoming mail folder box".
The other thing was : Gmail worked with flags on emails. I had to deactived these flags.
Hi Robikom,
Thanks for you message,
I try fill the "incoming mail folder box" with INBOX, and desactived the Flags for IMAP in the gmail account configuration but I get the same behaivor.
Thing most weird for me is that the session crash after we click in "get email tickets", I need to close the navegator and reopen the glpi portal.
Any other Idea?
Offline
Any idea?
Thanks
Offline
Special gmail security is disabled ? You don't have mfa or something else activated ?
(Microsoft called this modern authentication.)
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
Special gmail security is disabled ? You don't have mfa or something else activated ?
(Microsoft called this modern authentication.)
Hi,
I disabled the less security apps protection and dont have MFA activated, but It does not work.
Thanks
Offline
If you have debug mode on you should have a "/var/www/glpi/files/_log/mail-debug.log" or something mail*.
We need the output of this files.
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
If you have debug mode on you should have a "/var/www/glpi/files/_log/mail-debug.log" or something mail*.
We need the output of this files.
Hi,
I ran a test in debug mode but I dont get any extra log file in that folder, and in the mail.log only get:
2018-08-28 22:48:01 [2@rigel.gtssa.co]
Un correo electrónico para soportetecnico@gtscolombia.com fue añadido a la cola: [GLPI] Errores del Receptor
2018-08-28 22:56:24 [2@rigel.gtssa.co]
Se ha enviado un correo electrónico a soportetecnico@gtscolombia.com: [GLPI] Errores del Receptor
It look like debug mode does not working. This is a clean installation.
Thanks a lot
Offline
oh sorry my mistake mail-debug.log mail* are for smtp the sending mail.
Did you check your local firewall or network firewall to allow this service ?
You can try the optional mailbox inbox. Type there "INBOX" (or the folder name of your inbox)
I got this, of course to real mailbox only fun name and password
root@glpidev:/var/www/glpi/files/_log# cat php-errors.log
2018-09-10 21:53:42 [2@glpidev]
*** PHP Warning(2): imap_open(): Couldn't open stream {imap.gmail.com:993/imap/ssl/validate-cert/notls}
Backtrace :
:
inc/mailcollector.class.php:1109 imap_open()
inc/mailcollector.class.php:519 MailCollector->connect()
front/mailcollector.form.php:81 MailCollector->collect()
2018-09-10 21:53:44 [2@glpidev]
*** PHP Warning(2): imap_open(): Couldn't open stream {imap.gmail.com:993/imap/ssl/validate-cert/notls}
Backtrace :
:
inc/mailcollector.class.php:1109 imap_open()
inc/mailcollector.class.php:519 MailCollector->connect()
front/mailcollector.form.php:81 MailCollector->collect()
2018-09-10 21:53:44 [2@glpidev]
*** PHP Notice(8): Unknown: Can not authenticate to IMAP server: [AUTHENTICATIONFAILED] Invalid credentials (Failure) (errflg=2)
Backtrace :
:
2018-09-10 21:53:44 [2@glpidev]
*** PHP Notice(8): Unknown: [AUTHENTICATIONFAILED] Invalid credentials (Failure) (errflg=1)
Backtrace :
:
2018-09-10 21:53:44 [2@glpidev]
*** PHP Notice(8): Unknown: Too many login failures (errflg=2)
Backtrace :
:
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
oh sorry my mistake mail-debug.log mail* are for smtp the sending mail.
Did you check your local firewall or network firewall to allow this service ?
You can try the optional mailbox inbox. Type there "INBOX" (or the folder name of your inbox)
I got this, of course to real mailbox only fun name and password
root@glpidev:/var/www/glpi/files/_log# cat php-errors.log
2018-09-10 21:53:42 [2@glpidev]
*** PHP Warning(2): imap_open(): Couldn't open stream {imap.gmail.com:993/imap/ssl/validate-cert/notls}
Backtrace :
:
inc/mailcollector.class.php:1109 imap_open()
inc/mailcollector.class.php:519 MailCollector->connect()
front/mailcollector.form.php:81 MailCollector->collect()
2018-09-10 21:53:44 [2@glpidev]
*** PHP Warning(2): imap_open(): Couldn't open stream {imap.gmail.com:993/imap/ssl/validate-cert/notls}
Backtrace :
:
inc/mailcollector.class.php:1109 imap_open()
inc/mailcollector.class.php:519 MailCollector->connect()
front/mailcollector.form.php:81 MailCollector->collect()
2018-09-10 21:53:44 [2@glpidev]
*** PHP Notice(8): Unknown: Can not authenticate to IMAP server: [AUTHENTICATIONFAILED] Invalid credentials (Failure) (errflg=2)
Backtrace :
:
2018-09-10 21:53:44 [2@glpidev]
*** PHP Notice(8): Unknown: [AUTHENTICATIONFAILED] Invalid credentials (Failure) (errflg=1)
Backtrace :
:
2018-09-10 21:53:44 [2@glpidev]
*** PHP Notice(8): Unknown: Too many login failures (errflg=2)
Backtrace :
:
I try with that change and get this:
[2018-09-11 13:57:11] glpiphplog.ERROR: Toolbox::userErrorHandlerNormal() in /var/www/html/soporte/inc/toolbox.class.php line 657
*** PHP Warning(2): imap_open(): Couldn't open stream {imap.gmail.com:993/imap/ssl/validate-cert/notls}INBOX
Backtrace :
:
inc/mailcollector.class.php:1107 imap_open()
inc/mailcollector.class.php:515 MailCollector->connect()
front/mailcollector.form.php:77 MailCollector->collect()
{"user":"2@rigel.gtssa.co","mem_usage":"0.720\", 3.43Mio)"}
I dont know why I cant get PHP Notice logs that you have, It would be very usefull. I run this test in debug mode
Offline
I toke a packet capture in order to be sure about my firewall rules and I notice the following:
- My rules work, I can see packets from Gmail to my Glpi Server.
- The last packet before reset packet is mark as "encryted Alert"
Do It make sense for you?
Offline
Can you tell us your os version ?
And your GLPI setup (you can find it in Setup > General menu, System tab) :
I don't know the snapshot from my dev system with running gmail config. I will make new config the next 10 days and will post the result here. If it work in my case.
at the moment I cannot help you with this encryted alert
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
Can you tell us your os version ?
And your GLPI setup (you can find it in Setup > General menu, System tab) :I don't know the snapshot from my dev system with running gmail config. I will make new config the next 10 days and will post the result here. If it work in my case.
at the moment I cannot help you with this encryted alert
Hi,
Those are my parameters:
Operating system: Linux rigel.gtssa.co 3.10.0-693.2.2.el7.x86_64 #1 SMP Tue Sep 12 22:26:13 UTC 2017 x86_64
PHP 5.6.31 apache2handler (Core, PDO, Phar, Reflection, SPL, SQLite, SimpleXML, Zend OPcache, apache2handler, apc, apcu, bz2,
calendar, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, igbinary, imap, json, ldap,
libxml, mbstring, mcrypt, memcache, memcached, mhash, mongo, msgpack, mysql, mysqli, mysqlnd, openssl, pcre, pdo_mysql,
pdo_pgsql, pdo_sqlite, pgsql, posix, session, shmop, sockets, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx,
xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib)
Setup: max_execution_time="30" memory_limit="128M" post_max_size="8M" safe_mode="" session.save_handler="files"
upload_max_filesize="2M"
Software: Apache/2.4.6 (CentOS) PHP/5.6.31 ()
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0
Server Software: MariaDB Server, wsrep_25.23.rc3fc46e
Server Version: 10.0.36-MariaDB-wsrep
Server SQL Mode:
Thanks a lot,
Offline
GPLPI Version missing
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
GPLPI Version missing
Today I uploaded to 9.3.1 but the problem still occur.
Offline
Can you tell us your os version ?
And your GLPI setup (you can find it in Setup > General menu, System tab) :I don't know the snapshot from my dev system with running gmail config. I will make new config the next 10 days and will post the result here. If it work in my case.
at the moment I cannot help you with this encryted alert
Hi,
Do you have any update?
Thanks a lot,
Offline
Добрый день, похожая проблема, подскажите где хранятся логи и что может быть не так
Good afternoon, a similar problem, tell me where the logs are stored and what might be wrong
Last edited by ntfl (2021-07-13 11:49:35)
Offline
When mail is delivered over the internet, the sender receives confirmation only from the very first "hop" in the delivery. If there is a problem with a subsequent server, you are only notified after a long period of retries, and even then only in certain situations.
So with respect to GMail, unless you are doing a straight GMail to GMail send, deliver may have failed at dozens of intervening servers with no notice to you at all.
Offline
Pages: 1