You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2004/09/23 11:26:27 UTC

[Bug 3806] New: Build scripts renames host to --fqdn when run as root

http://bugzilla.spamassassin.org/show_bug.cgi?id=3806

           Summary: Build scripts renames host to --fqdn when run as root
           Product: Spamassassin
           Version: 3.0.0
          Platform: PC
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Building & Packaging
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: triad@df.lth.se


When installing SpamAssassin 3.0.0 on Solaris for x86, the host is renamed
"--fqdn". The output of the "hostname" command will subsequently say the host
is named "--fqdn".

Somewhere in the build scripts the shell command "hostname --fqdn" is executed
in order to retrieve the fully qualified domain name. Solaris does not
recognize the "--fqdn" switch, and as a result renames the host to "--fqdn",
which is the default behaviour for "hostname" on these systems.

The problem can be remedied by immediately running "hostname foo" and rename
the host back to its original name.

SpamAssassin will however subsequently add headers like this to the messages 
processed:

X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on --fqdn



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.