Description of problem: I teach Linux classes and I notice a very common stumbling block for students that use system-switch-mail. They think (appropriately) that system-switch-mail handles all the changes for them, and so they never run the chkconfig commands to turn on the selected MTA and off the unselected MTAs. I'm attaching a patch to this bug report that adds chkconfig support to system-switch-mail so that it truly does to all the steps required to switch between MTAs. I have tested it and it works: Here is the output of the test: STARTING POINT: [root@mentorng ~]# chkconfig --list sendmail ; chkconfig --list postfix ; chkconfig --list exim sendmail 0:off 1:off 2:on 3:on 4:on 5:on 6:off postfix 0:off 1:off 2:on 3:on 4:on 5:on 6:off exim 0:off 1:off 2:on 3:on 4:on 5:on 6:off run system-switch-mail and choose sendmail: sendmail 0:off 1:off 2:on 3:on 4:on 5:on 6:off postfix 0:off 1:off 2:off 3:off 4:off 5:off 6:off exim 0:off 1:off 2:off 3:off 4:off 5:off 6:off run system-switch-mail and choose postfix: sendmail 0:off 1:off 2:off 3:off 4:off 5:off 6:off postfix 0:off 1:off 2:on 3:on 4:on 5:on 6:off exim 0:off 1:off 2:off 3:off 4:off 5:off 6:off run system-switch-mail and choose exim: sendmail 0:off 1:off 2:off 3:off 4:off 5:off 6:off postfix 0:off 1:off 2:off 3:off 4:off 5:off 6:off exim 0:off 1:off 2:on 3:on 4:on 5:on 6:off run system-switch-mail and choose sendmail: sendmail 0:off 1:off 2:on 3:on 4:on 5:on 6:off postfix 0:off 1:off 2:off 3:off 4:off 5:off 6:off exim 0:off 1:off 2:off 3:off 4:off 5:off 6:off Please apply this patch.
Created attachment 297087 [details] Patch to add chkconfig use to system-switch-mail
It would be great if this can get in before the March 11th freeze.
it's fixed in 0.5.26-1. Thanks
Please fix for RHEL5.3 as well.
it's the bug against rawhide. Please don't reopen it since there's someone already reported this issue against RHEL-5.x. Thanks