Re: [Clamav-users] ClamAV 0.80, daemontools and logging

2004-11-09 Thread Andrej Trobentar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matt Gourley wrote: | Andrej Trobentar wrote: |> Put |> |> "exec /usr/local/bin/softlimit -a 4000 /usr/local/sbin/clamd" |> |> and |> |> "exec /usr/local/bin/multilog t s100 n20 /var/log/clamd" |> |> in your startups files (without setuidgid). W

Re: [Clamav-users] ClamAV 0.80, daemontools and logging

2004-11-09 Thread Matt Gourley
Andrej Trobentar wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rick Macdougall wrote: | /service/clamd/run: | | #!/bin/sh | exec 2>&1 | exec /usr/local/bin/softlimit -a 4000 \ /usr/local/bin/setuidgid qscand /usr/local/sbin/clamd | | | /service/clamd/log/run: | | #!/bin/sh | exec /usr/lo

Re: [Clamav-users] ClamAV 0.80, daemontools and logging

2004-11-09 Thread Andrej Trobentar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rick Macdougall wrote: | /service/clamd/run: | | #!/bin/sh | exec 2>&1 | exec /usr/local/bin/softlimit -a 4000 \ /usr/local/bin/setuidgid qscand /usr/local/sbin/clamd | | | /service/clamd/log/run: | | #!/bin/sh | exec /usr/local/bin/setuidgid qscand

Re: [Clamav-users] ClamAV 0.80, daemontools and logging

2004-11-09 Thread Rick Macdougall
Matt Gourley wrote: Logfile /dev/stdout (or stderr) in clamd.conf I tried that. If I do that, I get either: ERROR: Problem with internal logger. Please check the permissions on the /dev/stdout file. ERROR: Can't open /dev/stdout in append mode (check permissions!). or the same for /dev/stderr. R

Re: [Clamav-users] ClamAV 0.80, daemontools and logging

2004-11-09 Thread Matt Gourley
Rick Macdougall wrote: Matt Gourley wrote: Rick Macdougall wrote: Matt Gourley wrote: clamd.conf: FixStaleSocket Foreground LocalSocket /tmp/clamd LogVerbose MaxThreads 20 ScanArchive ScanHTML ScanMail User qscand Hi, Logfile /dev/stdout (or stderr) in clamd.conf I tried that. If I do that, I

Re: [Clamav-users] ClamAV 0.80, daemontools and logging

2004-11-09 Thread Rick Macdougall
Matt Gourley wrote: Rick Macdougall wrote: Matt Gourley wrote: clamd.conf: FixStaleSocket Foreground LocalSocket /tmp/clamd LogVerbose MaxThreads 20 ScanArchive ScanHTML ScanMail User qscand Hi, Logfile /dev/stdout (or stderr) in clamd.conf I tried that. If I do that, I get either: ERROR: Probl

Re: [Clamav-users] ClamAV 0.80, daemontools and logging

2004-11-09 Thread Matt Gourley
Rick Macdougall wrote: Matt Gourley wrote: I've just installed ClamAV 0.80 onto a new mail server. It's running well through daemontools, as the test EICAR virus I send it through qmail-scanner is caught, marked and quarantined. However, I cannot get it to log to /var/log/clamd. /service/cla

Re: [Clamav-users] ClamAV 0.80, daemontools and logging

2004-11-09 Thread Rick Macdougall
Matt Gourley wrote: I've just installed ClamAV 0.80 onto a new mail server. It's running well through daemontools, as the test EICAR virus I send it through qmail-scanner is caught, marked and quarantined. However, I cannot get it to log to /var/log/clamd. /service/clamd/run: #!/bin/sh exec

[Clamav-users] ClamAV 0.80, daemontools and logging

2004-11-09 Thread Matt Gourley
I've just installed ClamAV 0.80 onto a new mail server. It's running well through daemontools, as the test EICAR virus I send it through qmail-scanner is caught, marked and quarantined. However, I cannot get it to log to /var/log/clamd. /service/clamd/run: #!/bin/sh exec 2>&1 exec /usr/local/