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

Clone Of:
Last Closed: 2006-03-30 23:51:29 UTC

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

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'):

define(`confDELIVERY_MODE', `defer')

This works.

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