Notification email subject lines do not contain the expected host name, but instead show
localhost.localdomain, for example, the subject line contains:
[SAV-LINUX] Notice from Sophos Anti-Virus on localhost6.localdomain6
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.