Improve queryprogram behaviour when not running as root.
[exim.git] / doc / doc-txt / ChangeLog
index 212ec706c55d9444c6bbf5ab0cfa2a98d5019082..103463fc1720f66010b0fe27c34298a6908c6d64 100644 (file)
@@ -1,4 +1,4 @@
-$Cambridge: exim/doc/doc-txt/ChangeLog,v 1.283 2006/02/03 15:26:54 ph10 Exp $
+$Cambridge: exim/doc/doc-txt/ChangeLog,v 1.284 2006/02/07 14:05:17 ph10 Exp $
 
 Change log file for Exim from version 4.21
 -------------------------------------------
@@ -72,6 +72,20 @@ PH/13 Domain literals for IPv6 were not recognized unless IPv6 support was
       recognized, so I have changed this. It also means that IPv4 domain
       literals of the form [IPV4:n.n.n.n] are now always recognized.
 
+PH/14 When a uid/gid is specified for the queryprogram router, it cannot be
+      used if the router is not running as root, for example, when verifying at
+      ACL time, or when using -bh. The debugging output from this situation was
+      non-existent - all you got was a failure to exec. I have made two
+      changes:
+
+      (a) Failures to set uid/gid, the current directory, or a process leader
+          in a subprocess such as that created by queryprogram now generate
+          suitable debugging ouput when -d is set.
+
+      (b) The queryprogram router detects when it is not running as root,
+          outputs suitable debugging information if -d is set, and then runs
+          the subprocess without attempting to change uid/gid.
+
 
 Exim version 4.60
 -----------------