I see specifically it is using POSIX::uname, even though the documentation
says it is very unreliable. I would advise not using it.
uname
Get name of current operating system.
($sysname, $nodename, $release, $version, $machine) =
POSIX::uname();
Note that the actual meanings of the various fields are not that well
standardized, do not expect any great portability. The $sysname might be
the name of the operating system, the $nodename might be the name of the
host, the $release might be the (major) release number of the operating
system, the $version might be the (minor) release number of the operating
system, and the $machine might be a hardware identifier. Maybe.
--Quanah
--On Friday, March 25, 2011 3:04 PM -0700 Quanah Gibson-Mount
<[email protected]> wrote:
2.7.0 pre 14 expects "hostname" to return a fully qualified hostname
value, but that is not correct. That is what "hostname -f" does. This
causes amavis to fail to start on correctly configured systems.
--Quanah
--
Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
--
Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration