Linux - Networking This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
07-09-2005, 04:21 AM
|
#1
|
Member
Registered: Jul 2005
Distribution: SUSE Linux v9.2
Posts: 85
Rep:
|
Mail program can't reach local host
This is a new install of SUSE Linux v9.1.
I have set up the Mail program, and can send messages with no problem. An attempt to retrieve messages gets an error announcement: "Can't reach host local host".
I don't know why. Local host, with the customary IP address is included in the Network definitions in YaST. What does it REALLY want to tell me?
|
|
|
07-09-2005, 11:06 PM
|
#2
|
Member
Registered: Jun 2005
Location: Dallas, TX
Distribution: Fedora 11,12, RedHat4,6, CentOS4,5, FreeBSD7,8
Posts: 70
Rep:
|
my first guess is that either mail server is not listening at the address you tried to connect to, and/or firewall policy is preventing you from accessing.
i would try this. first, flush your firewall rules.
iptabels -P INPUT ACCEPT
iptables -F
(do the inpur accept just in case you have a line that sets defaul policy to drop)
then, test the mail servers active state.
telnet [ip address] 25
and
telnet 127.0.0.1 25
if 127.0.0.1 answers, and the ipaddress does not, then check the mail servers config, and make sure its listening on the servers ip address. if they both work on the first shot, check firewall rules. check to make sure port 25 is open, and that all traffic from -i lo is accepted. look for a rule similar to this to allow from localhost:
iptables -A INPUT -i lo -j ACCEPT
|
|
|
07-10-2005, 01:28 AM
|
#3
|
Member
Registered: Jul 2005
Distribution: SUSE Linux v9.2
Posts: 85
Original Poster
Rep:
|
Quote:
Originally posted by Sharaz
my first guess is that either mail server is not listening at the address you tried to connect to, and/or firewall policy is preventing you from accessing.
i would try this. first, flush your firewall rules.
iptabels -P INPUT ACCEPT
iptables -F
(do the inpur accept just in case you have a line that sets defaul policy to drop)
then, test the mail servers active state.
telnet [ip address] 25
and
telnet 127.0.0.1 25
if 127.0.0.1 answers, and the ipaddress does not, then check the mail servers config, and make sure its listening on the servers ip address. if they both work on the first shot, check firewall rules. check to make sure port 25 is open, and that all traffic from -i lo is accepted. look for a rule similar to this to allow from localhost:
iptables -A INPUT -i lo -j ACCEPT
|
Thanks for your reply; neither of these possibilities is the cause of the problem.
|
|
|
07-10-2005, 03:06 AM
|
#4
|
Member
Registered: Jul 2005
Distribution: SUSE Linux v9.2
Posts: 85
Original Poster
Rep:
|
Quote:
Originally posted by Sharaz
my first guess is that either mail server is not listening at the address you tried to connect to, and/or firewall policy is preventing you from accessing.
i would try this. first, flush your firewall rules.
iptabels -P INPUT ACCEPT
iptables -F
(do the inpur accept just in case you have a line that sets defaul policy to drop)
then, test the mail servers active state.
telnet [ip address] 25
and
telnet 127.0.0.1 25
if 127.0.0.1 answers, and the ipaddress does not, then check the mail servers config, and make sure its listening on the servers ip address. if they both work on the first shot, check firewall rules. check to make sure port 25 is open, and that all traffic from -i lo is accepted. look for a rule similar to this to allow from localhost:
iptables -A INPUT -i lo -j ACCEPT
|
I'm sorry for what must seem an abrupt reply earlier to your response. It was my first act on rolling out of the sack this morning. Here is more detail, and the results of some of your suggestions:
This installation is very new. There is no firewall yet. To be certain that there was nothing at all there, I ran your iptables commands, and got an error message that they were unrecognized.
I next tried to telnet to the ip address of the server. Because I don't know it, I tried first to ping the server with the literal address. This got me an error message saying that the command had not been implemented. How is it even possible that ping is not implemented?
What was left to do was to telnet to local host. This works, and it returned the escape character. Local host, then, is indeed defined.
The alternative you suggested was that the server might not be listening. It is not possible that the server has been offline for two days. Moreover, I experience no difficulty in retrieving mail from it with another OS on the same machine.
I hope for other suggestions from you or others, because I come up dry...
|
|
|
All times are GMT -5. The time now is 09:56 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|