Leo Baltus: > However, I did notice that postfix exec()'s new processes using the > path to the binaries it got from > 'PATH=symlink_to_postfix/sbin postfix start' > instead of compile-time arguments DEF_COMMAND_DIR DEF_DAEMON_DIR etc.
The Postfix master(8) daemon executes programs with pathnames that are derived from the $daemon_directory value. master_ent.c: serv->path = concatenate(var_daemon_dir, "/", command, (char *) 0); master_spawn.c: execvp(serv->path, serv->args->argv); The kernel resolves the pathname each time Postfix invokes execvp(). > I may have been playing with symlink_to_postfix while hunting this down. If you swap symlinks, then the result of execvp() will change. Wietse