Hi, i've looking for information about this error(?) , the Logwatch of
my CentOS send a daily mail to root, always appears this lines
Milter (clamav-milter): local socket name /var/clamav/clmilter.sock'
unsafe: 10 Time(s)
Milter (clamav-milter): to error state: 10 Time(s)
i have the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Departamento de Informatica wrote:
Hi, i've looking for information about this error(?) , the Logwatch of
my CentOS send a daily mail to root, always appears this lines
Milter (clamav-milter): local socket name /var/clamav/clmilter.sock'
unsafe:
That's what i want to do, so i put the line
CLAMAV_USER='clamav'
in /etc/sysconfig/clamav-milterso, how could i do to start
clamav-milter as 'clamav' user??
Sorry for the 'newbie' question
2006/12/14, Steven Stern [EMAIL PROTECTED]:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
CLAMAV_FLAGS=
--config-file=/etc/clamd.conf
--max-children=5
--force-scan
--quiet
--dont-log-clean
--noreject
[EMAIL PROTECTED]
--postmaster-only
-obl local:/var/clamav/clmilter.sock
Don't use the -b option.
make sure the folloowing are in your init script?
# Local clamav-milter config
CLAMAV_FLAGS=
test -f /etc/sysconfig/clamav-milter . /etc/sysconfig/clamav-milter
and
start() {
echo -n Starting clamav-milter:
daemon clamav-milter ${CLAMAV_FLAGS} -loNP --max-children=8
- Original Message -
From: Departamento de Informatica [EMAIL PROTECTED]
# Run as a selected user (clamd must be started by root).
# Default: disabled
User root
~~
Check if you created user clamav and change in clamd.conf (
/etc/clamd.conf)
That's Ok Ed, so , could i put in the line
CLAMAV_FLAGS
the options of clamav milter (ex. --postmaster-only ) etc ??
2006/12/14, Ed Kasky [EMAIL PROTECTED]:
make sure the folloowing are in your init script?
# Local clamav-milter config
CLAMAV_FLAGS=
test -f /etc/sysconfig/clamav-milter .
Thanks Jurek, Now mi /var/clamav/clmilter.sock is chowned to
clamav:clamav, but the permisions still are 744, how could establish
to 700 when the system reboots?
2006/12/14, Jerzy Sakol [EMAIL PROTECTED]:
- Original Message -
From: Departamento de Informatica [EMAIL PROTECTED]
# Run