I was given task to change configuration for sendmail. I need to change the IP for smart host relay.
I googled a few sites and searched this forum to check how that is done. What I cathered from results is that I need to make changes to sendmail.mc and then recreate the config file.
So I found the smarthost that had our old IP and changed it to the new one
then issued command
m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
I also checked that sendmail.cf changed DS********
Then I restarted sendmail service.
But checking the maillog I noticed that the old smart host is still in use. I have no idea what I'm doing wrong. Please help the n00b and google handicap