Re: [Feature request] Find "sendmail" in $PATH at runtime

Sergey Poznyakoff <[email protected]>
Newsgroups gmane.comp.gnu.mailutils.bugs
Organization GNU.org.ua
Message-ID <[email protected]>
Hi Bjørn,

> For packaging mailutils in Nix/NixOS I/we would like to have the
> "mail" program lookup the path to "sendmail" at runtime via the $PATH
> environment variable.

Have you considered the security implications of such a move?

> How to do that?

There's no way to do this currently, except for symlinking the actual
sendmail-compatible binary (whatever it is in your distro) to the
predefined path (preferably, to the place defined by _PATH_SENDMAIL
in your /usr/include/paths.h). In fact, that's what all distros that
I've ever seen do.

Best regards,
Sergey

_______________________________________________
Bug-mailutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-mailutils
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.