[EMAIL PROTECTED] rpm -qa | grep kernel (did not recompile my own kernel) kernel-2.4.20-30.9
[EMAIL PROTECTED] clamd --version clamd / ClamAV version devel-20040408 [EMAIL PROTECTED] clamav-milter --version ClamAV version devel-20040408, clamav-milter version 0.70g [EMAIL PROTECTED] rpm -qa | grep sendmail sendmail-8.12.8-9.90 [EMAIL PROTECTED] ldd /usr/sbin/clamd libclamav.so.1 => /usr/lib/libclamav.so.1 (0x4001c000) libz.so.1 => /usr/lib/libz.so.1 (0x4003f000) libbz2.so.1 => /usr/lib/libbz2.so.1 (0x4004d000) libgmp.so.3 => /usr/lib/libgmp.so.3 (0x4005c000) libpthread.so.0 => /lib/tls/libpthread.so.0 (0x40089000) libc.so.6 => /lib/tls/libc.so.6 (0x42000000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) [EMAIL PROTECTED] ldd /usr/sbin/clamav-milter libclamav.so.1 => /usr/lib/libclamav.so.1 (0x4001c000) libz.so.1 => /usr/lib/libz.so.1 (0x4003f000) libbz2.so.1 => /usr/lib/libbz2.so.1 (0x4004d000) libgmp.so.3 => /usr/lib/libgmp.so.3 (0x4005c000) libwrap.so.0 => /usr/lib/libwrap.so.0 (0x40089000) libpthread.so.0 => /lib/tls/libpthread.so.0 (0x40092000) libc.so.6 => /lib/tls/libc.so.6 (0x42000000) libnsl.so.1 => /lib/libnsl.so.1 (0x400a1000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) The problem is still there. i.e. when a mail comes in with an attachment larger than StreamMaxLength (I made it 1M to make the test easy and quick), clamd says: WARNING: ScanStream: Size exceeded (stopped at 1041538, max: 1048576) clamav-milter says: clamav-milter: ClamAv, mi_rd_cmd: read returned -1: Connection reset by peer and sendmail says: SYSERR(root): out of memory: Cannot allocate memory Then sendmail repeatedly tried processing the same mail (with more headers added each time) and the loop just went on. I'd be happy to give it more tests if someone tells me what steps to take and/or what debugging flag(s) to turn on. Many thanks. Andrew ----- Original Message ----- From: "Nigel Horne" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 08, 2004 3:03 PM Subject: Re: [Clamav-users] Behaviour of "StreamMaxLength" > On Thu, 2004-04-08 at 03:00, Andrew Chan wrote: > > 1, 2) Both clamd and clamav-milter are built from 0.70RC (stock built from > > Petr Kristof's RedHat SPEC file). > > IIRC 0.70 is around 0.70a of clamav-milter (I didn't build the RC > and you didn't send the output of clamav-milter --version as requested > so I am going by guesswork). If that is true I believe > you will find that this has been fixed and is now in CVS. Please check > and let me know. ------------------------------------------------------- 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