Hi!
I seem to be having no end of trouble with setting up my linux machine to do what i would like it too! This time around I am battling with sendmail!
I can send messages from the terminal window however there is a persistant warning
local host name (myservername) is not qualified; fix $j in config file
Sendmail seems to accept mail locally for users but not externally
I followed the instructions at
www.linuxnetworking.com and found them to be quite comprehensive. However some things have me
confused
i set hostname to myservername (using #hostname myservername) and the domainname to domainname1.com
1. What needs to be done (and or undone) to qualify the host name?
I have changed the local-host-names file so that it looks like this ...
Code:
domainname1.com
domainname2.com
domainname3.com
myservername.domainname1.com
myservername.domainname2.com
myservername.domainname3.com
but the error persists!
my hosts file looks like this
Code:
127.0.0.1 myservername.domainname1.com localhost localhost.localdomain
172.16.24.146 domainname1.com www.domainname1.com domainname1
172.16.24.146 domainname2.com www.domainname2.com domainname2
172.16.24.146 domainname3.com www.domainname3.com domainname3
172.16.24.146 myservername
as you can see its all over the place as i have read lots of stuff and tried to change lots of stuff to make it work out of desperation.
i have apache up and running w/ three virtual hosts (domainname1.com
domainname2.com, domainname3.com) and would like to have sendmail accept mail on the 3 domain names.
2. What should the MX record say?
www.linuxnetworking.com suggests mail.domainname.com should mine be myservername.domainname1.com ?
Any help will be greatly appreciated as i am pretty much lost at this point!
chetca