Sophos Anti-Virus for Linux and UNIX, v 7: notification email subjects do not contain the expected host name

  • N.º del artículo: 112943
  • Actualizado: 17 feb 2011

Issue
Notification email subject lines do not contain the expected host name, but instead show localhost6.localdomain6 or localhost.localdomain, for example, the subject line contains:

[SAV-LINUX] Notice from Sophos Anti-Virus on localhost6.localdomain6

Root cause
This occurs because the host name (helen in this example) is added to the localhost entry of the loopback device in the /etc/hosts file. For example

127.0.0.1 helen localhost.localdomain localhost localhost4
::1 helen localhost6.localdomain6 localhost6

The main reason for this issue is due to the bug described here: https://bugzilla.redhat.com/show_bug.cgi?id=659471

What to do

Perform one of the following workarounds.
You should however note that all of the following options change the way in which name resolution works in a system-wide fashion. This might have undesired side-effects on other applications. You should therefore test these workarounds thoroughly before implementing them.

  • Option 1 Change the host name to be the fully qualified domain name.
    On a running system (until next reboot):
    # hostname helen.domain.com
    To make this change permanent (so that it survives a reboot) you will have to perform further steps that vary on different distributions. Please refer to your OS manual for details of how to do this.
  • Option 2 Remove the host name from the loopback entries in /etc/hosts (Note that Network Manager might subsequently switch this back to its previous setting). Example:

    127.0.0.1 localhost.localdomain localhost localhost4
    ::1 localhost6.localdomain6 localhost6

 
Si necesita más ayuda, póngase en contacto con soporte técnico.

Valore el artículo

Muy malo Excelente

Comentarios