Right I've done the following:-
Sevice sendmail stop
Edited vi /etc/mail/sendmail.mc
Removed dnl from infront of smart host and put in the host name of the mail server which I can ping and it resolves to an ip.
dnl #
define(`SMART_HOST',`xxx.xxxxxxxx.xxx)
dnl #
Closed and saved
installed sendmail-cf via yum
run
make -C /etc/mail
to generate a new
/etc/mail/sendmail.cf
Checked to see if the mail server is in there
vi /etc/mail/sendmail.cf
# "Smart" relay host (may be null)
DSxxx.xxxxxxxx.xxx
which it is
I still get errors when sending
(reason: 550-Verification failed for <root@test.server.org>) which is name of the server......
I'd like to change it so that appears to come from
gateway@ourcompany.com I Take it I use the masquarade function... any pointers
Sorry sendmail newbie