Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 13539 - Bug in queryprogram router processing
Bug in queryprogram router processing
Product: Red Hat Powertools
Classification: Retired
Component: exim (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Powers
Depends On:
  Show dependency treegraph
Reported: 2000-07-06 12:41 EDT by chris
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-07-06 14:39:57 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description chris 2000-07-06 12:41:36 EDT
There is a bug in Exim's processing of the queryprogram router.  In a
nutshell, it ignores any transport specified in the output of the program
being queried, and just uses the transport hardwired in the router
configuration (if any).

The fix is as follows:

--- exim-3.13/src/routers/queryprogram-old.c	Thu Jul  6 14:31:50 2000
+++ exim-3.13/src/routers/queryprogram.c	Thu Jul  6 14:35:44 2000
@@ -321,7 +321,7 @@
 /* Second field was empty or "+"; get the transport for this router, if
 any. It might be expanded, or it might be unset (which is not an error).
-if (!route_get_transport(rblock->transport, rblock->expand_transport,
+else if (!route_get_transport(rblock->transport, rblock->expand_transport,
       addr, &transport, rblock->name, NULL))
   return ERROR;
The Exim maintainer has been informed, who says the fix will be included in
the next release (presumably 3.16?)
Comment 1 Tim Powers 2000-07-06 14:39:55 EDT
OK. I applied the patch and it went in cleanly. You should see exim-3.13-9 show
up in rawhide either tonight or tomorrow.


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