Moin.
Danke, das mit whereis hat wunderbar geklappt !!!
Habe ich auch wieder was gelernt! Biete aber bei Deinem Installationsscript trotzdem an, den Pfad händisch einzugeben.
Der Grund: es kann sein, daß sendmail nicht gefunden wird, weil "whereis" nur in einer vordefinierten Liste sucht (Beispiel SunOS 5.8):
DESCRIPTION
The whereis utility locates source/binary and manuals sec-
tions for specified files. The supplied names are first
stripped of leading pathname components and any (single)
trailing extension of the form .ext, for example, .c. Pre-
fixes of s. resulting from use of source code control are
also dealt with. whereis then attempts to locate the desired
program in a list of standard places:
/usr/bin
/usr/bin
/usr/5bin
/usr/games
/usr/hosts
/usr/include
/usr/local
/usr/etc
/usr/lib
/usr/share/man
/usr/src
/usr/ucb
Beispiel FreeBSD 4.8:
The default path searched is the string returned by the sysctl(8) utility for the ``user.cs_path'' string, with /usr/libexec and the current user's $PATH appended. Manual pages are searched by default along the $MANPATH. Program sources are located in a list of known standard places, including all the subdirectories of /usr/src and /usr/ports.
Oder: "whereis" findet mehrere Ergebnisse (sucht ja nach source, binary und manuals):
agapanthus % whereis sendmail
sendmail: /usr/sbin/sendmail /usr/share/man/man8/sendmail.8.gz /usr/ports/mail/sendmail
agapanthus %
Dann muß der User doch noch wählen bzw. editieren können.
Gruß Frank