You are not logged in.
Pages: 1
Topic closed
Hello @all,
we using here the new GLPI V0.70 and it look and feels really great. Good work dudes... :-)
The feature to get the tickets per email is very interesting for us. But it didn't work here. We use an Cyrus IMAP Server here with no SSL, no certificates, no TLS or anything else. I configured the server name (tried IP and name), protocol (IMAP, any other field are emtpy), user and password. The mail and port field i left blank.
Every time i tried to connect to our IMAP GLPI says 'Verbindung fehlgeschlagen' = connection failed.
Entering values in the port and email adress field changed nothing... :-(
I read in the forum, that i must re-type the password everytime i changed values. I did so, but still: connection failed.
Are there any log-files i can check (tried debug mode and login in files enabled, but there are no usefull information for me)??? What PHP Modules must be installed to use the Mail Gateway?
I tried to reach our IMAP Server per telnet and it works. So the error must be at the side of PHP or so...
Thanks for help (and for the great soft ;-) )
Marco
Offline
Trying:
Protokoll
IMAP <Empty> NO-VALIDATE-CERT <Empty>
email <Empty>
port <Empty>
user <username>
password <password>
Results in the same error: connection failed :-)
Are there any logs i can take a look ???
Greets
Marco
Offline
All log are in /files
Active debug mode and trace file.
What is your "Resulting connection parameter ?"
JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au projet GLPI : Soutenir
Offline
I am also experiencing this problem. We are currently testing GLPI and have setup a new Gmail account to use as a test with the Mail Gateway function. We are able to check the Gmail account using POP and IMAP from outlook. However are receiving the Connection Failed message when using the Get Tickets Now Option. Current Settings are as follows:
GLPI version 0.7
Server: imap.gmail.com
Connection Options: IMAP SSL <blank> <blank>
Email: <account address>
Port: 993
Resulting connection Parameter: {imap.gmail.com:993/ssl}<account address>
Username: <username>
Password: <Password>
Is there a setting we must adjust?
Offline
add novalidate-cert
MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI : Support Contribute References Freshmeat
Offline
I added the no validate-cert option and still receive connection failed. Any other things I might try?
Thanks
Offline
{imap.gmail.com:993/imap/ssl} should work
Do you have imap extansion compiled with you PHP ?
JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au projet GLPI : Soutenir
Offline
Yes we do, I also double checked using phpinfo to make sure this was the case.
Offline
No error messages come in the Apache error logs below is the information from the Apache access log is there another log I should look in?
From Apache access log:
128.163.44.___- - [04/Jan/2008:13:29:01 -0500] "POST /ocsinventory HTTP/1.1" 200 204
128.163.163.___- - [04/Jan/2008:13:29:10 -0500] "POST /ocsinventory HTTP/1.1" 200 96
128.163.163.___- - [04/Jan/2008:13:29:10 -0500] "POST /ocsinventory HTTP/1.1" 200 88
128.163.44.___- - [04/Jan/2008:13:29:11 -0500] "POST /ocsinventory HTTP/1.1" 200 96
128.163.44.___ - - [04/Jan/2008:13:29:11 -0500] "POST /ocsinventory HTTP/1.1" 200 88
128.163.57.___ - - [04/Jan/2008:13:29:18 -0500] "POST /glpi/front/mailgate.form.php HTTP/1.1" 200 821
128.163.57.___ - - [04/Jan/2008:13:29:18 -0500] "GET /glpi/front/mailgate.form.php?ID=1 HTTP/1.1" 200 46309
Last edited by applebeck25 (2008-01-04 20:36:31)
Offline
I create a count in gmail to test With this parameters :
for pop it's ok -> {pop.gmail.com:995/pop/ssl/novalidate-cert}
and for imap it's ok -> {imap.gmail.com:993/imap/ssl/novalidate-cert}
JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au projet GLPI : Soutenir
Offline
I have also turned off Windows Firewall and still no luck. Are there any other settings on the server which is running GLPI I should verify?
Again thank you for you help.
Offline
JMD and MoYo thanks for you help! I was able to locate the problem and resolve the issue.
There is a bug in PHP versions which are earlier then 5.2.2 which causes the command imap_open not to be able make connections of the SSL type. Once I updated PHP from the version I had, 5.2.0, to the most current version 5.2.5 the issue appears to be resolved. Below are the links which I used to find this information.
http://bugs.php.net/bug.php?id=29036 <---- Best
http://bugs.php.net/bug.php?id=36496&edit=1
Offline
thanks for the information.
MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI : Support Contribute References Freshmeat
Offline
Pages: 1
Topic closed