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 && . /etc/sysconfig/clamav-milter
and
start() {
echo -n "Starting clamav-milter: "
daemon clamav-milter ${CLAMAV_FLAGS} -loNP --max-children=8
--timeout=0 \
local:/var/run/clamav/clmilter.sock -c /etc/clamav.conf \
-U /tmp/quarantine
RETVAL=$?
echo
test $RETVAL -eq 0 && touch /var/lock/subsys/clamav-milter
return $RETVAL
}
Your deamon settings may vary but the ${CLAMAV_FLAGS} is the impt. one...
hth
Ed
. . . . . . . . . . . . . . .
Randomly generated quote:
Until he extends the circle of his compassion to all living
things, man will not himself find peace. -Albert Schweitzer
On Thu, 14 Dec 2006, Departamento de Informatica wrote:
> That's what i want to do, so i put the line
>
> CLAMAV_USER='clamav'
>
> in /etc/sysconfig/clamav-milter....so, 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
>>
>> 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: 10 Time(s)
>> > Milter (clamav-milter): to error state: 10 Time(s)
>> >
>> > i have the clamav-milter as a service , so clamd. Here i send the
>> > listing of /var/clamav
>> >
>> > [EMAIL PROTECTED] ~]# ll /var/clamav/
>> > total 14580
>> > srwxr-xr-x 1 root root 0 dic 13 17:14 clmilter.sock
>> > -rw-r--r-- 1 clamav clamav 848771 dic 14 06:42 daily.cvd
>> > -rw-r--r-- 1 clamav clamav 170372 nov 5 17:16 daily.cvd.rpmnew
>> > -rw-r--r-- 1 clamav clamav 6924820 nov 4 06:30 main.cvd
>> > -rw-r--r-- 1 clamav clamav 6924820 nov 5 17:16 main.cvd.rpmnew
>> >
>> >
>> > i think this is a permission trouble, btu i'm not sure, here is the
>> > /etc/sysconfig/clamav-milter file:
>>
>> [snip]
>>
>> On my system,
>>
>> srwx------ 1 clamav clamav 0 Dec 13 18:23 clamav-milter.sock
>>
>>
>>
>> - --
>>
>> Steve
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.6 (GNU/Linux)
>> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
>>
>> iD8DBQFFgVCmeERILVgMyvARAmmYAJwNhbobntAP2C6/WYfEN4nfPpuRgACfczaZ
>> 3MqFcidcPUijCh1i83HpfJ0=
>> =LFTa
>> -----END PGP SIGNATURE-----
>> _______________________________________________
>> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
>> http://lurker.clamav.net/list/clamav-users.html
>>
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://lurker.clamav.net/list/clamav-users.html
>
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html