It seems to me that either -bf should set the 'checking' var to true or
this if block
if (!unprivileged && /* originally had root AND */
!removed_privilege && /* still got root AND */
!daemon_listen && /* not starting the daemon */
queue_interval <= 0 && /* (either kind of daemon) */
( /* AND EITHER */
deliver_drop_privilege || /* requested unprivileged */
( /* OR */
queue_interval < 0 && /* not running the queue */
(msg_action_arg < 0 || /* and */
msg_action != MSG_DELIVER) && /* not delivering and */
(!checking || !address_test_mode) /* not address checking */
)
))
{
exim_setugid(exim_uid, exim_gid, TRUE, US"privilege not needed");
}
should include the test 'filter_test != FTEST_NONE' in the line marked
with 'not address checking'.
But such a change should probably be sent to upstream for review.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]