Bug 187444

Summary: msp.m4 always overrides confDELIVERY_MODE
Product: [Fedora] Fedora Reporter: James Ralston <ralston>
Component: sendmailAssignee: Thomas Woerner <twoerner>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 5   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-03-30 23:51:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to fix the bug with cf/feature/msp.m4. none

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.