Description of problem: To use sendmail+mimedefang one is required to edit the sendmail.mc and rebuild one's sendmail.cf file. So there's an implicit dependency on sendmail-cf there. However, to run mimedefang "standalone", or with any other MTA (such as postfix) doesn't have this reverse dependency. Which means that the dependency of mimedefang on sendmail-cf isn't actually correct. The README.FEDORA file enumerates how to use mimedefang with sendmail, including the steps of which particular changes to make to one's sendmail.mc file. This should be all the call-out that's required. And indeed, would avoid confusion on the part of postfix users attempting to integrate mimedefang into their operation. Version-Release number of selected component (if applicable): How reproducible: Install postfix, then attempt to remove sendmail and sendmail-cf: [root@mail conf]# rpm --test -e sendmail sendmail-cf error: Failed dependencies: sendmail = 8.14.5-1.fc15 is needed by (installed) sendmail-doc-8.14.5-1.fc15.noarch sendmail-cf >= 8.12.0 is needed by (installed) mimedefang-2.72-0.4.fc13.x86_64 [root@mail conf]# Steps to Reproduce: 1. 2. 3. Actual results: Complains about incorrect dependency. Expected results: Should succeed. Additional info:
Created attachment 534320 [details] Call out the dependency that sendmail has on sendmail-cf when using mimedefang, but remove mimedefang's own dependency on sendmail (it's agnostic).
Can we get some movement on this please? There's a proposed fix attached. Thanks.
I should also note that if you try to do a: # make -C /etc/mail sendmail.cf and you don't have the sendmail-cf file installed, it fails anyway. From /etc/mail/make: makecf() { mc=${1%.cf}.mc teste "$mc" if [ -z "$SM_FORCE_CFREBUILD" ]; then test "$mc" -nt "$1" || return 0 fi if test -f /usr/share/sendmail-cf/m4/cf.m4; then umask 022 [ -e "$1" ] && mv -f "$1" "$1".bak m4 "$mc" > "$1" else echo "WARNING: '$mc' is modified. Please install package sendmail-cf to update your configuration." exit 15 fi } So the dependency is definitely expressed already in two different places.
probably the best solution here is to make a mimedefang-sendmail subpackage that has the things specifically needed for sendmail to work. but would allow for postfix to not pull in sendmail.
Fix has been commited. However, I'm waiting for bug #759805 or a new upstream release before forcing all mimedefang users to update.
(In reply to comment #5) > Fix has been commited. However, I'm waiting for bug #759805 or a new upstream > release before forcing all mimedefang users to update. #759805 was been updated with news that MIMEDefang 2.73-BETA1 is released.
mimedefang-2.73-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/mimedefang-2.73-1.fc16
mimedefang-2.73-1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/mimedefang-2.73-1.fc15
mimedefang-2.73-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/mimedefang-2.73-1.el6
mimedefang-2.73-1.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/mimedefang-2.73-1.el5
Package mimedefang-2.73-1.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing mimedefang-2.73-1.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-0869/mimedefang-2.73-1.fc16 then log in and leave karma (feedback).
mimedefang-2.73-1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
mimedefang-2.73-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
mimedefang-2.73-1.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.
mimedefang-2.73-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.