Change the default for system_filter_user.
[exim.git] / src / src / exim.c
index 6b82013f879979c4529d4cd57797e3eaf417b71a..729114c1c0f524a050ffbdfb884434fd860db079 100644 (file)
@@ -1268,6 +1268,10 @@ if (!route_finduser(US CONFIGURE_OWNERNAME, NULL, &config_uid))
   }
 #endif
 
+/* We default the system_filter_user to be the Exim run-time user, as a
+sane non-root value. */
+system_filter_uid = exim_uid;
+
 #ifdef CONFIGURE_GROUPNAME
 if (!route_findgroup(US CONFIGURE_GROUPNAME, &config_gid))
   {