Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 754847 - Incorrect dependency for mimedefang on sendmail-cf
Summary: Incorrect dependency for mimedefang on sendmail-cf
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mimedefang
Version: rawhide
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Robert Scheck
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-17 21:40 UTC by Philip Prindeville
Modified: 2012-02-08 20:34 UTC (History)
2 users (show)

Fixed In Version: mimedefang-2.73-1.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-07 07:48:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Call out the dependency that sendmail has on sendmail-cf when using mimedefang, but remove mimedefang's own dependency on sendmail (it's agnostic). (deleted)
2011-11-17 21:45 UTC, Philip Prindeville
philipp: review?
Details | Diff

Description Philip Prindeville 2011-11-17 21:40:05 UTC
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:

Comment 1 Philip Prindeville 2011-11-17 21:45:50 UTC
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).

Comment 2 Philip Prindeville 2011-11-28 18:46:48 UTC
Can we get some movement on this please? There's a proposed fix attached. Thanks.

Comment 3 Philip Prindeville 2011-12-09 19:55:43 UTC
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.

Comment 4 Dennis Gilmore 2011-12-09 20:03:39 UTC
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.

Comment 5 Robert Scheck 2011-12-26 02:35:20 UTC
Fix has been commited. However, I'm waiting for bug #759805 or a new upstream
release before forcing all mimedefang users to update.

Comment 6 Philip Prindeville 2011-12-26 17:51:38 UTC
(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.

Comment 7 Fedora Update System 2012-01-23 22:32:22 UTC
mimedefang-2.73-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/mimedefang-2.73-1.fc16

Comment 8 Fedora Update System 2012-01-23 22:32:52 UTC
mimedefang-2.73-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/mimedefang-2.73-1.fc15

Comment 9 Fedora Update System 2012-01-23 22:33:24 UTC
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

Comment 10 Fedora Update System 2012-01-23 22:41:12 UTC
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

Comment 11 Fedora Update System 2012-01-24 01:43:41 UTC
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).

Comment 12 Fedora Update System 2012-02-07 07:48:50 UTC
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.

Comment 13 Fedora Update System 2012-02-07 07:52:23 UTC
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.

Comment 14 Fedora Update System 2012-02-08 20:33:51 UTC
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.

Comment 15 Fedora Update System 2012-02-08 20:34:14 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.