Description of problem: Sendmail doesn't use alternatives mechanism for "makemap" and its man file. There are other maildaemons (e.g., opensmtpd) which already consider that other mailers could have their own implementations of such utilities. It's expected that sendmail would do the same. Version-Release number of selected component (if applicable): Current version in rawhide How reproducible: Always Steps to Reproduce: 1. Install sendmail and opensmtpd 2. Switch current mta to opensmtpd and back to sendmail using alternatives: /usr/sbin/alternatives --set mta /usr/sbin/sendmail.opensmtpd /usr/sbin/alternatives --set mta /usr/sbin/sendmail.sendmail Actual results: Unlike other components, every time "makemap" points to the sendmail version. Expected results: Symbolic link to "makemap" and man-page should be adjusted accordingly. Additional info: Can be solved with adding some alternative-specific lines into spec. E.g., the appropriate opensmtpd lines are: --slave %{_sbindir}/makemap mta-makemap %{_sbindir}/makemap.opensmtpd \ --slave %{_mandir}/man1/makemap.1.gz mta-makemapman %{_mandir}/man8/makemap.opensmtpd.8.gz
I used alternatives as you proposed. I also had to use the following hack: %pre [ -h %{_sbindir}/makemap ] || rm -f %{_sbindir}/makemap || : [ -h %{_mandir}/man8/makemap.8.gz ] || rm -f %{_mandir}/man8/makemap.8.gz || : Otherwise it is not possible to convert to alternatives by simply upgrading.
sendmail-8.15.1-5.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/sendmail-8.15.1-5.fc22
sendmail-8.14.9-6.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/sendmail-8.14.9-6.fc21
sendmail-8.15.1-5.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
sendmail-8.14.9-6.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.