I am trying to set up email fetching and keep getting Unable to create TCP socket: Address family not supported by protocol error. There is nothing in the httpd error log.From the command line ping -4 imap.gmail.com works but when I use ping -6 imap.gmail.com I get: ping: socket: Address family not supported by protocolosTicket Versionv1.9.15 (70898b3) — Up to dateWeb Server SoftwareApache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.1e-fips PHP/5.6.29MySQL Version5.5.52PHP Version5.6.29
Here are the settings that I am using.Hostname imap.gmail.comPort Number 993Mail Box Protocol IMAP and IMAP +SSL tried
Please provide the full PHP error.also see: http://osticket.com/wiki/Email_settingsespecially the section about using gmail.
There was no error logged in the log file. The only error I see is in the application front end. The Sending Email via SMTP seems to be working fine. I suspect it has something to do with ipv 6 being specified somewhere when connecting. Fetching Email via IMAP or POP Unable to create TCP socket: Address family not supported by protocol
Hello pundip,Can you try changing imap.google.com to 64.233.168.108 and see the results?
Or do a dig on imap.google.com. And see what the results are.Personally I still disable IPv6 on everything I use.
Hi Kevin,I can ping 64.233.168.108 but the application gives me a "Can't connect to 64.233.168.108,993: Connection timed out" error.
pundip Hi, did you solve it? I have the same problem
@[deleted], sorry for pointing out obivous, but it sounds like port 993 is blocked, consult your network admin/firewall.
Try telnet to see if it's opened or not.
@jvillalta this thread is 3 years old. You might be better served starting your own thread with the pertinent details of your setup.