imap is not connecting to mail server from live se

2019-09-03 19:56发布

问题:

I could connect to a mail server from my localserver my when I uploaded that file to a server I am getting the following error

Notice: Unknown: rsh to IMAP server timed out (errflg=1) in Unknown on line 0

Notice: Unknown: Connection failed to mail.xxxxxxxxxxxxxxxxxxxx.com,143: Connection refused (errflg=2) in Unknown on line 0

Please help Thanks

回答1:

Try using the ip address to connect instead of the domain name (mail.xxxxxxxxxxxxxxxxxxxx.com).



回答2:

Is your server behind a firewall or a NAT router ? Otherwise does it resolve to the same IP when you try to look it up from the remote and local host ? Check with:

nslookup mail.xxxxxxxxxxxxxxxxxxxx.com



回答3:

Server may miss or have broken libraries.

If you have a ssh-connection at server you could try to open an IMAP-connection over telnet. (Initiated from server).

Just google "telnet imap" and try a login. If success, library error, if no success. Firewall?



标签: php imap