Sendmail reconfigure
Hello,
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 define(`SMART_HOST', `********')dnl 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 :D |
Hi,
What is the output of: Code:
sendmail -bv foo@bar.com |
Hello and thanks for answering.
Apparently the solution was borrowed from Windows world. I rebooted the machine and problem was solved. I don't understand why restartting service didn't help. I quess that happens when you go poke around system you didn't install your self :D |
All times are GMT -5. The time now is 04:39 PM. |