I have (well almost) configured a linux machine as a internet gateway
and mail server. It is to server aproximately 20 Win95 machines.
However I am having trouble configuring the host names.
The eth0 port, IP 192.168.1.1 has a name of gcsintranet
The ppp0 port (also using diald) is Ip 184.108.40.206 has a name
of the thegrangecs, in the domain thegrangecs.demon.co.uk
My etc/hosts looks like
220.127.116.11 thegrangecs.demon.co.uk thegrangecs
When I run sendmail -d0.11 all domain references are with respect
to gcsintranet - not thegrangecs. Therefore all my mail goes out with
gcsintranet as the sender.
If I don't qualify the gcsintranet with a domain, e.g. .com, the
sendmail deamon takes an age running, as does mailq, nslookup etc.
How do I reflect this configuration in my sendmail.cf/.cw
I have purchased the 'Bat Book' - however, either it doesn't clearly
define how I need to configure my system - or I just don't understand
Also, I have e-mail forwarding using grange.com, which gets sent to
the same address as thegrangecs.demon.co.uk
Any help would be most appreciated.