[BlueOnyx:07611] Re: Yum update breaks specific sendmail config

Frank Soyer fsoyer at systea.net
Mon Jul 4 12:24:25 -05 2011


Le lundi 04 juillet 2011 à 13:00 -0400, Darrell D. Mobley a écrit :
> > -----Original Message-----
> > From: blueonyx-bounces at mail.blueonyx.it [mailto:blueonyx-
> > bounces at mail.blueonyx.it] On Behalf Of Frank Soyer
> > Sent: Monday, July 04, 2011 12:34 PM
> > To: blueonyx at mail.blueonyx.it
> > Subject: [BlueOnyx:07609] Re: Yum update breaks specific sendmail config
> > 
> > Oh yes good idea...
> > In the sendmail.mc I have just
> > 
> > # grep -i include sendmail.mc
> > include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
> > 
> > Which seems to be related to m4 only, but nothing else.
> > The problem is : if I add something like
> > "include(`/etc/mail/cf/my_cf_file.cf')" in the sendmail.mc, maybe this
> > could work (not tested)... But will also be broken at last update !! :/
> > 
> > Any other solution ?
> 
> I understand that the include will be whacked when a new updated comes in, but it's simpler to re-add the include line than all of the changes you original wrote.
Not really. Actually I have two commands :
 cp sendmail.mc.bak sendmail.mc
 m4 sendmail.cf < sendmail.mc
You see ?
My problem is : yes, just two lines in a console. But on many servers at
each update !

>   I would think the include would need to go to toward the bottom if you have overwritten standard commands that are present in the base sendmail.mc.
> 
> Wouldn't it be nice if there were one more option window in the mail server configuration of GUI to put your optional includes and that gets added automatically after every update?
Ho yes ! How nice ! And one to simply (in one action) restart sendmail
from GUI, maybe, too ? ;)
> 
> 
> 
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at mail.blueonyx.it
> http://mail.blueonyx.it/mailman/listinfo/blueonyx




More information about the Blueonyx mailing list