Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now

Setting up email fetch - [CLOSED] IMAP connection broken (server response)

I am getting the above error when trying to set up email fetching.
I am running Ubuntu 16-04.2 LTS with PHP Version 5.6 with Apache2 connecting to a Microsoft Exchange 2010 server.

I have enabled IMAP and added the IP of the OSTickets VM to the allowed list for IMAP on exchange as well and the IMAP service is running.

I can send mail via telnet from the OSTickets VM as well.

Please let me know if there is anymore information that I can add to assist with troubleshooting this.

PHP logging appears to be enable but I am not seeing anything relevant in there.


Here is the error_log;

[Wed Jun 21 14:47:42.573834 2017] [mpm_event:notice] [pid 34796:tid 140328758994816] AH00489: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Wed Jun 21 14:47:42.573877 2017] [core:notice] [pid 34796:tid 140328758994816] AH00094: Command line: '/usr/sbin/apache2'
[Wed Jun 21 14:47:54.349101 2017] [mpm_event:notice] [pid 34796:tid 140328758994816] AH00491: caught SIGTERM, shutting down
[Wed Jun 21 14:47:55.393722 2017] [mpm_prefork:notice] [pid 40979] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Wed Jun 21 14:47:55.393775 2017] [core:notice] [pid 40979] AH00094: Command line: '/usr/sbin/apache2'
[Wed Jun 21 14:47:56.626005 2017] [mpm_prefork:notice] [pid 40979] AH00169: caught SIGTERM, shutting down
[Wed Jun 21 14:47:57.693441 2017] [mpm_prefork:notice] [pid 41088] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Wed Jun 21 14:47:57.693471 2017] [core:notice] [pid 41088] AH00094: Command line: '/usr/sbin/apache2'
[Wed Jun 21 14:49:05.355070 2017] [mpm_prefork:notice] [pid 41088] AH00169: caught SIGTERM, shutting down
[Wed Jun 21 14:49:05.412030 2017] [mpm_prefork:notice] [pid 41994] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Wed Jun 21 14:49:05.412071 2017] [core:notice] [pid 41994] AH00094: Command line: '/usr/sbin/apache2'
[Wed Jun 21 14:50:41.585763 2017] [mpm_prefork:notice] [pid 41994] AH00169: caught SIGTERM, shutting down
[Wed Jun 21 14:50:42.647396 2017] [mpm_prefork:notice] [pid 52006] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Wed Jun 21 14:50:42.647424 2017] [core:notice] [pid 52006] AH00094: Command line: '/usr/sbin/apache2'
[Wed Jun 21 14:51:44.061750 2017] [mpm_prefork:notice] [pid 52006] AH00171: Graceful restart requested, doing restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Wed Jun 21 14:51:44.096651 2017] [mpm_prefork:notice] [pid 52006] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Wed Jun 21 14:51:44.096661 2017] [core:notice] [pid 52006] AH00094: Command line: '/usr/sbin/apache2'
[Wed Jun 21 15:04:28.955352 2017] [mpm_prefork:notice] [pid 52006] AH00171: Graceful restart requested, doing restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Wed Jun 21 15:04:29.005730 2017] [mpm_prefork:notice] [pid 52006] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Wed Jun 21 15:04:29.005756 2017] [core:notice] [pid 52006] AH00094: Command line: '/usr/sbin/apache2'
[Wed Jun 21 15:04:29.222538 2017] [mpm_prefork:notice] [pid 52006] AH00171: Graceful restart requested, doing restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Wed Jun 21 15:04:29.263028 2017] [mpm_prefork:notice] [pid 52006] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Wed Jun 21 15:04:29.263038 2017] [core:notice] [pid 52006] AH00094: Command line: '/usr/sbin/apache2'
[Wed Jun 21 15:16:12.641327 2017] [mpm_prefork:notice] [pid 52006] AH00169: caught SIGTERM, shutting down
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/php_intl.dll' - /usr/lib/php/20131226/php_intl.dll: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Jun 21 15:16:13.669651 2017] [mpm_prefork:notice] [pid 61692] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Wed Jun 21 15:16:13.669679 2017] [core:notice] [pid 61692] AH00094: Command line: '/usr/sbin/apache2'
[Wed Jun 21 15:30:25.100166 2017] [:error] [pid 61748] [client 192.168.3.232:52207] PHP Warning:  stream_socket_client(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /var/www/html/include/pear/N$
[Wed Jun 21 15:30:25.100195 2017] [:error] [pid 61748] [client 192.168.3.232:52207] PHP Stack trace:, referer: http://tickets/scp/emails.php?a=add
[Wed Jun 21 15:30:25.100199 2017] [:error] [pid 61748] [client 192.168.3.232:52207] PHP   1. {main}() /var/www/html/scp/emails.php:0, referer: http://tickets/scp/emails.php?a=add
[Wed Jun 21 15:30:25.100202 2017] [:error] [pid 61748] [client 192.168.3.232:52207] PHP   2. Email->update() /var/www/html/scp/emails.php:39, referer: http://tickets/scp/emails.php?a=add
[Wed Jun 21 15:30:25.100204 2017] [:error] [pid 61748] [client 192.168.3.232:52207] PHP   3. Mail_smtp->connect() /var/www/html/include/class.email.php:367, referer: http://tickets/scp/emails.php?a=add
[Wed Jun 21 15:30:25.100207 2017] [:error] [pid 61748] [client 192.168.3.232:52207] PHP   4. Mail_smtp->getSMTPObject() /var/www/html/include/pear/Mail/smtp.php:395, referer: http://tickets/scp/emails.php?a=add
[Wed Jun 21 15:30:25.100210 2017] [:error] [pid 61748] [client 192.168.3.232:52207] PHP   5. Net_SMTP->connect() /var/www/html/include/pear/Mail/smtp.php:365, referer: http://tickets/scp/emails.php?a=add
[Wed Jun 21 15:30:25.100212 2017] [:error] [pid 61748] [client 192.168.3.232:52207] PHP   6. Net_Socket->connect() /var/www/html/include/pear/Net/SMTP.php:428, referer: http://tickets/scp/emails.php?a=add
[Wed Jun 21 15:30:25.100214 2017] [:error] [pid 61748] [client 192.168.3.232:52207] PHP   7. stream_socket_client() /var/www/html/include/pear/Net/Socket.php:166, referer: http://tickets/scp/emails.php?a=add
[Wed Jun 21 15:30:25.100225 2017] [:error] [pid 61748] [client 192.168.3.232:52207] PHP Warning:  stream_socket_client(): unable to connect to tiger:25 (php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution)$
[Wed Jun 21 15:30:25.100226 2017] [:error] [pid 61748] [client 192.168.3.232:52207] PHP Stack trace:, referer: http://tickets/scp/emails.php?a=add
[Wed Jun 21 15:30:25.100228 2017] [:error] [pid 61748] [client 192.168.3.232:52207] PHP   1. {main}() /var/www/html/scp/emails.php:0, referer: http://tickets/scp/emails.php?a=add
[Wed Jun 21 15:30:25.100230 2017] [:error] [pid 61748] [client 192.168.3.232:52207] PHP   2. Email->update() /var/www/html/scp/emails.php:39, referer: http://tickets/scp/emails.php?a=add
[Wed Jun 21 15:30:25.100232 2017] [:error] [pid 61748] [client 192.168.3.232:52207] PHP   3. Mail_smtp->connect() /var/www/html/include/class.email.php:367, referer: http://ickets/scp/emails.php?a=add
[Wed Jun 21 15:30:25.100235 2017] [:error] [pid 61748] [client 192.168.3.232:52207] PHP   4. Mail_smtp->getSMTPObject() /var/www/html/include/pear/Mail/smtp.php:395, referer: http://tickets/scp/emails.php?a=add
[Wed Jun 21 15:30:25.100237 2017] [:error] [pid 61748] [client 192.168.3.232:52207] PHP   5. Net_SMTP->connect() /var/www/html/include/pear/Mail/smtp.php:365, referer: http://tickets/scp/emails.php?a=add
[Wed Jun 21 15:30:25.100239 2017] [:error] [pid 61748] [client 192.168.3.232:52207] PHP   6. Net_Socket->connect() /var/www/html/include/pear/Net/SMTP.php:428, referer: http://tickets/scp/emails.php?a=add
[Wed Jun 21 15:30:25.100240 2017] [:error] [pid 61748] [client 192.168.3.232:52207] PHP   7. stream_socket_client() /var/www/html/include/pear/Net/Socket.php:166, referer: http://tickets/scp/emails.php?a=add
[Thu Jun 22 10:11:45.979088 2017] [mpm_prefork:notice] [pid 61692] AH00169: caught SIGTERM, shutting down
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/php_intl.dll' - /usr/lib/php/20131226/php_intl.dll: cannot open shared object file: No such file or directory in Unknown on line 0
[Thu Jun 22 10:11:47.005761 2017] [mpm_prefork:notice] [pid 79904] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Thu Jun 22 10:11:47.005790 2017] [core:notice] [pid 79904] AH00094: Command line: '/usr/sbin/apache2'

Tagged:

Comments

  • I have resolved the problem, I had the login information wrong. I was using the full email address, instead of the username. This can be closed and marked as resolved. Thank you.
  • "I have enabled IMAP and added the IP of the OSTickets VM to the allowed list for IMAP on exchange as well and the IMAP service is running."
    And did you also go to the Users account and grant the user permission to use IMAP?

    "[Wed Jun 21 15:30:25.100166 2017] [:error] [pid 61748] [client 192.168.3.232:52207] PHP Warning:  stream_socket_client(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /var/www/html/include/pear/N$"
    and
    "[Wed Jun 21 15:30:25.100225 2017] [:error] [pid 61748] [client 192.168.3.232:52207] PHP Warning:  stream_socket_client(): unable to connect to tiger:25 (php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution)$
    "
    This looks like you have DNS issues and tiger is not resolving to an IP address.  Try specifying the IP address instead of the server name?

    "PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/php_intl.dll'"
    This appears to be a missing DLL.  You might want to download the .dll from php.net and put it where it belongs.

Sign In or Register to comment.