Bug #13078
Update breaks sendmail configuration
0%
Description
Whenever I update OI, sendmail stops working. I have custom sendmail.cf and submit.cf files installed in /etc/mail . These are built from my own .mc files. Among other things, they forward e-mail to a smart host. After each update, I have to restore those two files and restart the services.
I see that the manifest for package service/network/smtp/sendmail specifies preserve=renameold for these files. It would suit me better if it specified preserve=renamenew for these two files. That way it will preserve the existing working configuration for sendmail. The user could still rename the new files if that became necessary. As it is now, it assumes that the new file works better than the old one. This assumption is incorrect in my case. Is it ever correct?
Updated by Gary Mills 4 months ago
I've just added an OI PR that should fix this problem. The PR number is 6191 .
The only testing I did was to build and publish the package. Since the change only affects two lines in the manifest, this should be adequate.