-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello all,
I am trying to setup sendmail, clamd, and clamav-milter. Here are the
software packages: (btw, I am also running procmail and spamassassain)
#Software version
redhat v8
sendmail-cf-8.12.5-7
sendmail-devel-8.12.5-7
sendmail-8.12.5-7
sendmail-doc-8.12.5-7
clamd-0.68-1.rh80.dag
clamav-devel-0.68-1.rh80.dag
clamav-db-0.68-1.rh80.dag
clamav-milter-0.68-1.rh80.dag
clamav-0.68-1.rh80.dag
Sendmail and clamd are working great independently. However, when I tried
to integrate the two (using clamav-milter), I am getting this error in
maillog:
#sendmail maillog error
Apr 1 10:28:25 elixir sendmail[31518]: NOQUEUE: SYSERR(root):
/etc/mail/sendmail.cf: line 1638: Xclmilter: `=' expected
Apr 1 10:28:25 elixir sendmail[31518]: NOQUEUE: SYSERR(root):
/etc/mail/sendmail.cf: line 1639: fileclass: cannot open ',': No such file
or directory
Apr 1 10:28:25 elixir sendmail[31527]: NOQUEUE: SYSERR(root):
/etc/mail/sendmail.cf: line 1638: Xclmilter: `=' expected
Apr 1 10:28:25 elixir sendmail[31527]: NOQUEUE: SYSERR(root):
/etc/mail/sendmail.cf: line 1639: fileclass: cannot open ',': No such file
or directory
Apr 1 10:28:25 elixir sendmail[31527]: NOQUEUE: SYSERR(root): InputFilter
clmilter not defined: No such file or directory
I added these to sendmail.mc:
INPUT_MAIL_FILTER(`clmilter',`S=local:/var/clamav/clmilter.socket,
F=, T=S:4m;R:4m')dnl
define(`confINPUT_MAIL_FILTERS', `clmilter')
Here is my clamav-milter config:
CLAMAV_FLAGS="
--config-file=/etc/clamav.conf
--max-children=10
-ol local:/var/clamav/clmilter.socket
"
#/var/clamav dir
[<pts/0> [EMAIL PROTECTED] /var/clamav]$ lss
total 1000
drwxr-xr-x 2 clamav clamav 4096 Apr 1 10:29 ./
drwxr-xr-x 29 root root 4096 Mar 23 21:34 ../
srwxrwxrwx 1 clamav clamav 0 Apr 1 10:10 clamd.socket=
srwxr-xr-x 1 clamav clamav 0 Apr 1 10:29 clmilter.socket=
- -rw-r--r-- 1 clamav clamav 42283 Mar 31 04:04 daily.cvd
- -rw-r--r-- 1 clamav clamav 965110 Mar 31 04:04 main.cvd
#Listing of sockets
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 5114
/var/lib/mysql/mysql.sock
unix 2 [ ACC ] STREAM LISTENING 385676
/var/clamav/clamd.socket
unix 2 [ ACC ] STREAM LISTENING 397429
/var/clamav/clmilter.socket
#Listing of processes
ps awx
31134 ? S 0:00 clamd
31600 ? S 0:00 clamav-milter --config-file=/etc/clamav.conf
- --max-children=10 -ol local:/var/clamav/clmilter.socket
Can anyone help me regarding the error messages from Sendmail?
Thanks in advance.
Kai
- --
Kai Lien
DSA key ID 39BD44C0
Lense Consulting Company
www.lenseco.com
Fortune Cookie of the Day:
If you are shooting under 80 you are neglecting your business;
over 80 you are neglecting your golf.
-- Walter Hagen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/
iD8DBQFAbEMDztiWgzm9RMARAsItAJ48aR0Zyw128ehG/B04L/G3/rA4WQCggI/A
t3pIMtPZw7VRQRWYoETqilQ=
=HrBZ
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users