Re: sendmail to postfix and procmail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, May 09, 2004 at 11:21:53AM -0400, Jay Daniels wrote:
> 
> Now, someone stated I should not be editing .cf files by hand.  Is
> this correct?

Regarding sendmail.cf the answer is "Sort of ...."
The default setup expects changes to be made in the *.mc files!
See the warning in sendmail.cf

     DO NOT EDIT THIS FILE! Only edit the source .mc file.

If you:

   cp sendmail.cf sendmail.cf-safe
   touch sendmail.mc   # or make a minor edit
   make -C /etc/mail
   diff sendmail.cf sendmail.cf-safe
   # now restore your correct config...!

you will note that sendmail.cf gets rebuilt
and your hand crafted  edits vanish.

So if you are a sendmail wizard this should work.

   #once only!
   cp -i sendmail.cf sendmail.cf.MASTER 

   vi sendmail.cf.MASTER
   cp sendmail.cf.MASTER sendmail.cf
   service sendmail restart
   # perhaps comment out the sendmail.mc/cf stuff in the Makefile

A key point is that for any generated configuration text file there is
a need to understand the generation process.  Some generated files do
invite hand edits because the GUI does not yet address all the options.


-- 
	T o m  M i t c h e l l 
	/dev/null the ultimate in secure storage.



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux