Hello FreeBSD Gurus!
I have installed FreeBSD 5.2.1-RELEASE and
upgraded it to FreeBSD 5.2.1-RELEASE-p1.
I also upgraded my ports with cvsup.
I am trying to install ClamAV Milter in my system.
I think I have to do this:
1. Compile the port:
make WITH_MILTER=yes install
there is a problem with this port:
it does not compile, the line 384 of
has a problem, it requires to include
"malloc.h" which is obsolete and is reduced
to issue a error message saying "stdlib.h
must be included instead.
I changed this line to include "stdlib.h"
and make the port again. It installed it.
2. Configure clamav.
cp clamav.conf.sample clamav.conf
I had to change line describing LocalSocket to:
and also uncomment line:
3. Modify /etc/rc.conf:
4. Upgrade virus data files:
ClamAV update process started at Thu Mar 11 03:26:31 2004
Reading CVD header (main.cvd): OK
Downloading main.cvd [*]
main.cvd updated (version: 21, sigs: 20094, f-level: 1, builder: tkojm)
Reading CVD header (daily.cvd): OK
Downloading daily.cvd [*]
daily.cvd updated (version: 176, sigs: 338, f-level: 1, builder: ddm)
Database updated (20432 signatures) from database.clamav.net
5. Start clamav:
I checked the socked was created:
michelle# ls -la /var/log/clamav
drwxr-xr-x 2 clamav clamav 512 Mar 10 18:25 .
drwxr-xr-x 3 root wheel 4096 Mar 11 03:05 ..
-rw-r----- 1 root clamav 15231 Mar 11 03:32 clamd.log
-rw-r--r-- 1 clamav clamav 15402 Mar 11 03:03 freshclam.log
so far, so good.
AND IN THIS POINT I RECEIVED THIS MESSAGE:
Can't talk to clamd server via /var/run/clamav/clamd.sock
Check your entry for LocalSocket in /usr/local/etc/clamav.conf
and the system log /var/log/messages has this message:
Mar 11 03:30:39 Michelle mrspock: rc.d/clamav-milter.sh: WARNING: Stale socket
I cannot continue.
But, if I could, I would do this:
6. Reconfigure sendmail.
I have to modify my /etc/mail/freebsd.mc file.
I have to include these lines: [I'm also running spammassassin]
INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter.sock, F=,
INPUT_MAIL_FILTER(`clamav',`S=local:/var/run/clamav/clamd.sock, F=, T=S:4m;R:4m')dnl
Then I remake my sendmail.cf file:
This also have a problem, it includes a lot
of blank lines in sendmail.cf [approx. in
lines 61-90], and sendmail complains about it.
I erased them. Sendmail did not complain anymore.
7. Restart sendmail.
Can any body help me?
Is there something else I have to do?
Please answer to my address, I am not
subscribed in the list.
Thanks in advance.
[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"