Bug 99080
Summary: | Default installation of sendmail can't send mail: no route to host | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Jim <peripatetic> |
Component: | sendmail | Assignee: | Florian La Roche <laroche> |
Status: | CLOSED WORKSFORME | QA Contact: | David Lawrence <dkl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 9 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-07-30 21:37:51 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jim
2003-07-14 09:46:55 UTC
OK, I think I've figured it out. Its to do with the way sendmail treats hostnames. When you install RH9, it asks you for a hostname which the installer writes into /etc/sysconfig/network and /etc/hosts The entry into /etc/hosts seems to confuse sendmail. Removing the entry containing the hostname allows sendmail to work. Eg. If you called your machine rh9box on install, you'll have the following in your /etc/hosts file 127.0.0.1 rh9box localhost.localdomain localhost This should read 127.0.0.1 localhost for sendmail to work. Now the question is does anything else break when you change it? Looks like a config problem, closing bug. Florian La Roche Of course its a config problem. My point was that it was a config problem introduced by the Redhat Installer. i.e. the installer disables sendmail's ability to send mail. Which kind of negates its purpose. Anyway, I've done my duty reporting it. |