Hello all!
I have a small problem, could gimme a hand in this or point to where i can find some info?
I have 4 servers running rhel as3.0 in a network.
my need is simple: i need to to be able to send email from one server to another. among all four.
how to achieve this?
Right now using the mail command from server A as:
"mail
me@serverA.domain.com" i get the mail on my own serverA.
But i need to be able to use:
"mail
someoneelse@serverB.domain.com" and it should be received at B.
Currently it is not and is bouncing to the root user on the same machine.
The /etc/hosts looks like this:
10.3.1.222 serverA serverA.domain.com
10.3.1.223 serverA serverB.domain.com
10.3.1.224 serverA serverC.domain.com
10.3.1.225 serverA serverD.domain.com
in the sendmail.mc/cf file, the line exhorting "accepting connections...127.0.0.1.." has been commented and sendmail restarted on all machines.
I noticed that domainname is not actually set for any for any servers, i.e.
hostname gives serverA.domainname.com
but domainname gives blank output.
could anyone please guide me how???
thanks in advance.