On Wednesday 27 September 2006 8:38 pm, John Fleming wrote:
> Mine doesn't like using `localhost` or `mydomain.com` or `nn.nnn.nnn.nn`
> (my IP)
>
> What is wrong here??  Thanks!  - John
>
> my $logfile = "/var/log/clamav/clamav.log";
> my $fclogfile = "/var/log/clamav/freshclam.log";
> my $host = `localhost`;
>

Mine is set as below, notice my $host just has 'hostname', I believe that 
variable is read from somewhere else, but not knowing perl I can't say for 
sure. This is how mine is setup:

my $CLAMAV_ROOT = "/var/log/clamav/";
my $logfile = $CLAMAV_ROOT . "clamd.log";
my $fclogfile = $CLAMAV_ROOT . "freshclam.log";
my $host = `hostname`;
-- 
Chris

Attachment: pgpeK54uvOOgA.pgp
Description: PGP signature

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to