Stephen Gran schrieb am 05/14/07 20:43:
So you have set the User directive in both clamd.conf and
freshclam.conf, and you have run
chown -R postfix /var/run/clamav /var/log/clamav /var/lib/clamav
?
Correct, except for /var/lib/clamav. I corrected that now.
I just want to be clear - the original report said it does not run after
a fresh install, which is clearly not where we are now, so I want to
make sure I get a good sense of what's happening.
Correct, on the 1st try it did not start 'out of the box'. On the 2nd try it
did.
Are there are any log messages, either in syslog or clamav.log? If not,
set LogSyslog and LogVerbose in clamd.conf, and then start the milter
again - that should give you something at least.
Hmm... stopping clamav-milter with the init script did not work, I still saw
one clamav-milter process and killed it manually. I then started all new
(clamd, freshclam, milter).
My syslog:
# grep clam /var/log/messages|sed 's/May 15 ..:..:.. //'
ridcully clamd[22579]: clamd daemon 0.90.2 (OS: linux-gnu, ARCH: i386, CPU:
i486)
ridcully clamd[22579]: Log file size limit disabled.
ridcully clamd[22579]: Reading databases from /var/lib/clamav
ridcully clamd[22579]: Loaded 116204 signatures.
ridcully clamd[22579]: Unix socket file /var/run/clamav/clamd.ctl
ridcully clamd[22579]: Setting connection queue length to 15
ridcully clamd[22579]: Archive: Archived file size limit set to 10485760 bytes.
ridcully clamd[22579]: Archive: Recursion level limit set to 5.
ridcully clamd[22579]: Archive: Files limit set to 1000.
ridcully clamd[22579]: Archive: Compression ratio limit set to 250.
ridcully clamd[22579]: Archive support enabled.
ridcully clamd[22579]: Algorithmic detection enabled.
ridcully clamd[22579]: Portable Executable support enabled.
ridcully clamd[22579]: ELF support enabled.
ridcully clamd[22579]: Mail files support enabled.
ridcully clamd[22579]: Mail: Recursion level limit set to 64.
ridcully clamd[22579]: OLE2 support enabled.
ridcully clamd[22579]: PDF support disabled.
ridcully clamd[22579]: HTML support enabled.
ridcully clamd[22579]: Self checking every 3600 seconds.
ridcully clamav-milter[23047]: Loaded ClamAV 0.90.2/3246/Tue May 15 11:32:30
2007
ridcully clamav-milter[23047]: ClamAV: Protecting against 116204 viruses
ridcully clamav-milter[23061]: Starting ClamAV version 0.90.2, clamav-milter
version 0.90.2
The milter daemon is running, now I have to find out how to make Postfix use it.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]