Results 1 to 2 of 2
i made some changes to the sendmail.mc on a fc6 and I was wondering if the command /sbin/service sendmail restart will generate the an updated version of sendmail.cf file? And ...
- 10-01-2007 #1Just Joined!
- Join Date
- Sep 2007
- Posts
- 7
configuring sendmail
i made some changes to the sendmail.mc on a fc6 and I was wondering if the command /sbin/service sendmail restart will generate the an updated version of sendmail.cf file? And if not, what command do I need to issue?
- 10-05-2007 #2Just Joined!
- Join Date
- Oct 2007
- Posts
- 2
Good question!
While I don't run FC6 specifically, I can say that it is not typical for the init script for a particular daemon to to do too much in the way of managing its config files. the Red Hat sendmail script does do a bit of that though (newaliases, etc), just not to this level.
Anyway, here's what you'll want to do after making a good backup of your working config:
cd /etc/mail
make sendmail.cf
This uses the rules in the Makefile in the directory to handle generating the new sendmail.cf. if you just type "make" without specifying sendmail.cf, it will regenerate any .cf files that depend on the .mc files as well as any db files there as well. If that's what you want, then just do a "make" by itself.
Let us know if you solve this.
Thanks,
-Shaun


Reply With Quote
