(Ted Harding) wrote:
<SNIP>
I'd suggest setting these in the /etc/hosts file which should look like
127.0.0.1 localhost lh 192.168.0.1 mach1.dons.dom.ain mach1 m1 192.168.0.2 mach2.dons.dom.ain mach2 m2 192.168.0.3 mach3.dons.dom.ain mach3 m3
and so on.
My hosts file looks more like: 127.0.0.1 localhost lh 192.168.0.1 mach1.dom.ain mach1 192.168.0.2 mach2.dom.ain mach2 192.168.0.3 mach3.dom.ain mach3 My /etc/hosts.conf is the same. I am attempting to send e-mail as - To: user2@mach2.dom.ain And therein is where my problem likely lies. I need to rename the domain, so that the domain name is something like dons.dom.ain, instead of dom.ain. Would that be correct? Don
Also, make sure that in /etc/host.conf you have the lines
order hosts bind multi on
Your machine should then look up name-to-IP translations by first looking in /etc/hosts and only then, if this fails, by attempting to find another nameserver in /etc/resolv.conf
*Note* that /etc/host.conf can get re-written by SuSEConfig.
In /etc/hosts, the first field is of course the IP address of a machine, the second is its full name (FQDN), and the rest are abbreviations ("nicknames") which you should be able to use locally.
E.g.
telnet m2
should initiate a telnet connection to 192.168.0.2
(I'm a bit of a freak for very short names. For instance, I've made an alias "tl" for "telnet", so "tl lh" is a telnet to localhost. Likewise, I have a nickname "ns" in /etc/hosts for my external mail host nessie.mcc.ac.uk, so when online I can do "tl ns". Etc.)
Hoping this breaks the final barrier! Ted.
-------------------------------------------------------------------- E-Mail: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk> Fax-to-email: +44 (0)870 094 0861 [NB: New number!] Date: 15-Oct-04 Time: 18:05:28 ------------------------------ XFMail ------------------------------
-- DC Parris http://matheteuo.org/ http://chaddb.sourceforge.net/ "Free software is like God's love - you can share it with anyone anytime anywhere."