PDA

View Full Version : Warning: imap_open() [function.imap-open]


Divvy
02-15-2014, 01:32 PM
Hello guys,

Maybe someone can help me...
A few days ago, I changed my dedicated server to a new one and also as same time, I changed my domain nameservers to use cloudflare.

Today when I opened a thread I received this error:
Warning: imap_open() [function.imap-open]: Couldn't open stream {localhost:110/pop3/notls}INBOX in [path]/includes/cron/newsletter_bounces.php on line 57

I did a refresh and the error disappeared. But was not normal to appear... and maybe is appearing to more users.

What could be? DNS propagation? cloudflare conflict?

Does anyone know what could be?

My SysAdmin said:

I can see that something on your site (maybe a plugin or something) is trying to connect to localhost and port 110? Please change any scripts that needs o connect to the localhost and replace "localhost" with "127.0.0.1" this is how it works on cpanel servers, Although, I'm not sure why you are trying to connect to port 110 in that way? "localhost:110"

---

There is nothing wrong on the new server. All required modules/extensions/settings are installed. It can be one of your plugins/addons/hacks that's misconfigured or trying to access imap/port 110 in an incorrect method, Do you have anything on the forum that do connect to imap or pop3 to port 110? Anything do authentications to any of your pop3 email accounts on the server?

---

It appears to be a plugin or a mod on your forum trying to connect as localhost which is incorrect/insecure and is disabled for security reaons.

https://vborg.vbsupport.ru/showthread.php?t=151222&page=9

It's working fine for root, But it's restricted for any users other than root and exim to prevent open relay issues. So, To workaround this you will need to change the localhost to your own domains name as explained in the above link.


root@server [/]# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK Dovecot ready.

But the link that he gave me was for 3.6.8 vbulletin version...

Please advice, thanks! :-)

Zachery
02-15-2014, 01:55 PM
Do you have SE Linux installed/enabled?

Divvy
02-15-2014, 06:06 PM
Hi,

Thank you for your reply.

No, SElinux is disabled.. any more ideas?

ozzy47
02-15-2014, 06:08 PM
Do you get the same error with all mods disabled?

Divvy
02-16-2014, 09:18 AM
Well, this error only appeared once, I dont know why it appeared and dont know how to make him appear again.

ozzy47
02-16-2014, 09:20 AM
I would ignore it then, till you can find a way to reliably reproduce it.