Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Now I am sure my SMTP server works fine, through telnet 25 port remotely
But for my imap server, I got connection refused when I telnet 143 port remotely,
even login in the remote server, and do a local telnet, I got the follwing:
Will that fix my problem? If yes, how can I? - done in
imap( where to do), ask my ISP to put fake_domain_name through
DNS (not a good way to go) or edit or /etc/hsosts?
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
No, I mean open through your firewall. You can't tell if there's a hole through your firewall by using netstat! You need to use telnet to test the port remotely (143). Note that it's not the same to ssh from box 1 to box 2, then telnet (from your ssh session) to box 2, that will only test from box 2 to itself. You need to telnet from box 1 to box 2 on port 143 and see if you get the IMAP banner.
You still didn't answer where you mapped the domain name, I can't help you unless you tell me that. Also, use the -n flag to netstat so it doesn't resolve domain and hostnames, that would be much more helpful.
I suggest that if you want help, you should answer the questions that people ask you, instead of coming up with your own answers to different questions.
Yeah, I did try that as well remotely from my server in my LAN:
telnet real_ip_addr 143
Now if I do the same on port 25, it works
telnet real_ip_addr 25
I am suspecting that is because I could not go through
telnet 127.0.0.1 143 (but telnet real_ip_address 143 OK at the remote server)
The mapped domain name story is as follows:
The remote server was named temporailiy named new_domain.com before
I move my domain from hostway.com to my own remote server, and imap
was installed before the server was renamed from new_domain.com to domain.com,
how come imap record my old domain name? I am gathering that may cause
my local telnet 25 problem as well as remote telnet 25 problem?
Thx,
HTM
> No, I mean open through your firewall. You can't tell if there's a hole through your firewall by using netstat! You need to use telnet to test the port remotely (143). Note that it's not the same to ssh from box 1 to box 2, then telnet (from your ssh session) to box 2, that will only test from box 2 to itself. You need to telnet from box 1 to box 2 on port 143 and see if you get the IMAP banner.
> You still didn't answer where you mapped the domain name, I can't help you unless you tell me that. Also, use the -n flag to netstat so it doesn't resolve domain and hostnames, that would be much more helpful.
>I suggest that if you want help, you should answer the questions that people ask you, instead of coming up with your own answers to different questions.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.