Adding machine to Domain
I am used to Windows Domains and have got myself in a muddle on Linux.
I have set up Red Hat 9 with a hostname morpheous. My local /etc/hosts file reads
127.0.0.1 morpheous localhost.localdomain localhost
I want this machine to be part of the domain lapthornconsulting.com. I have sendmail running and have the following lines in my cf file:
LOCAL_DOMAIN(`lapthornconsulting.com')dnl
MASQUERADE_DOMAIN(lapthornconsulting.com)dnl
When I use evolution to send mail I don't have any problems. People receive email from the 'from' address I setup in evolution.
If I use mutt then the email has the following from value 'lapthorn@localhost.localdomain'
How do I make my machine part of the domain lapthornconsulting.com
Do I just change the hosts file, the machine has two network cards on it, eth0 which goes to my ADSL router has an IP of 192.168.0.100 and eth1 which goes to my lan has the IP address 10.0.0.100
Please help it's driving me crazy.
|