Bug 187444 - msp.m4 always overrides confDELIVERY_MODE
Summary: msp.m4 always overrides confDELIVERY_MODE
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: sendmail
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Thomas Woerner
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-03-30 22:22 UTC by James Ralston
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-03-30 23:51:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch to fix the bug with cf/feature/msp.m4. (502 bytes, patch)
2006-03-30 22:22 UTC, James Ralston
no flags Details | Diff

Description James Ralston 2006-03-30 22:22:14 UTC
In all 8.12 and 8.13 versions of sendmail, cf/feature/msp.m4 unconditionally
sets confDELIVERY_MODE to interactive, thereby overriding any attempt to set
confDELIVERY_MODE in submit.mc.

The attached (simple, one-line) patch corrects this issue.

(I've filed this bug against FC5, but this applies to all FC and RHEL releases
that contain sendmail 8.12 or sendmail 8.13.)

Additionally, I've submitted a bug report (plus this patch) upstream to
sendmail-bugs-2006.

Comment 1 James Ralston 2006-03-30 22:22:14 UTC
Created attachment 127080 [details]
Patch to fix the bug with cf/feature/msp.m4.

Comment 2 James Ralston 2006-03-30 23:51:29 UTC
Bah, my bad--this patch won't work, because msp.m4 can't conditionally set
confDELIVERY_MODE, because confDELIVERY_MODE will always be set to something
(either what was specified in submit.mc, or the default of "background") by the
time the macros in msp.m4 are evaluated.

The *only* way to override the confDELIVERY_MODE in submit.mc is to ensure that
it is defined after FEATURE(`msp'):

FEATURE(`msp')dnl
define(`confDELIVERY_MODE', `defer')

This works.



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