Control: tags -1 moreinfo

Hi,

On 19.07.2014 15:44, Dudytz wrote:
> In the clamav-milter installed with default options, the
> X-Virus-Scanned header shows the hostname instead of the FQDN.

What would be the benefit of showing the fully qualified domain name instead of just the hostname?

On 19.07.2014 15:55, Dudytz wrote:
I made some tests:

My local configuration:

/etc/hostname:
myhostname

/etc/hosts:
1.1.1.1 myhostname.mydomain.com myhostname

Test code:
[...]
Output of the test code:

Hostname..: myhostname
FQDN......: myhostname.mydomain.com

If you want clamav-milter to use something other than the hostname, you can add the ReportHostname variable in /etc/clamav-milter.conf, e.g.:
ReportHostname myhostname.mydomain.com

Is that sufficient for you?

Best regards,
Andreas

_______________________________________________
Pkg-clamav-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-clamav-devel

Reply via email to