Stephen Gran a écrit :
This one time, at band camp, BERTRAND Joël said:

Package: clamav-milter
Version: 0.87.1-1
(debian testing on sparc64)

I have installed clamav-milter on a UltraSPARC 1E server (with sendmail MTA). Before 0.86 release, it worked fine. With 0.87 and now 0.87.1, it scans (or starts to scan) the first email given by sendmail and it dies without any error message.

I have the same release of clamav-milter on several i386 servers, and the i386 binaries work fine.

        Regards,

Can you debug this a bit?  stack trace, strace, run foreground with debug
turned on, etc?  I'm afraid you haven't given me much to go on.

I have tried... I have tried on another workstation (Sun U60-SMP). Same result. I have no idea about this trouble.

        I have started clamav-milter with :

Root kant:[/var/run/clamav] > clamav-milter --max-children=10 -ol -D /var/run/clamav/clamav-milter.ctl

and the so-obtained log output is :
Wed Jan 25 19:47:56 2006 -> /tmp/clamav-db6fc9e5561a1f14/msg.7tljy2: OK
Wed Jan 25 19:59:42 2006 -> No stats for Database check - forcing reload
Wed Jan 25 19:59:42 2006 -> Reading databases from /var/lib/clamav/
Wed Jan 25 19:59:55 2006 -> Database correctly reloaded (42505 viruses)
LibClamAV debug: watchdog sleeps
LibClamAV debug: Started: ClamAV version 0.88, clamav-milter version 0.87
LibClamAV debug: watchdog wakes
LibClamAV debug: Stat()ing files in /var/lib/clamav/
LibClamAV debug: Database has not changed
LibClamAV debug: watchdog sleeps
LibClamAV debug: watchdog wakes
LibClamAV debug: Stat()ing files in /var/lib/clamav/
LibClamAV debug: Database has not changed
LibClamAV debug: watchdog sleeps
LibClamAV debug: watchdog wakes
LibClamAV debug: Stat()ing files in /var/lib/clamav/
LibClamAV debug: Database has not changed
LibClamAV debug: watchdog sleeps
LibClamAV debug: clamfi_envfrom: <[EMAIL PROTECTED]>
LibClamAV debug: >n_children = 1
LibClamAV debug: clamfi_abort
LibClamAV debug: clamfi_cleanup
LibClamAV debug: clamfi_free
LibClamAV debug: clamfi_free: n_children = 1
LibClamAV debug: clamav-milter is idle
LibClamAV debug: <n_children = 0
LibClamAV debug: clamfi_free returns
LibClamAV debug: clamfi_abort returns
LibClamAV debug: watchdog wakes
LibClamAV debug: Stat()ing files in /var/lib/clamav/
LibClamAV debug: Database has not changed
LibClamAV debug: watchdog sleeps
LibClamAV debug: clamfi_close
LibClamAV debug: clamfi_envfrom: <[EMAIL PROTECTED]>
LibClamAV debug: >n_children = 1
LibClamAV debug: clamfi_envrcpt: <[EMAIL PROTECTED]>
LibClamAV debug: Saving message to /tmp/clamav-34e7138aca68c17c/msg.SydMv9 to scan later
LibClamAV debug: connect2clamd: serverNumber = 0
LibClamAV debug: isWhitelisted <[EMAIL PROTECTED]>
LibClamAV debug: clamfi_eom
LibClamAV debug: Recognized Raw mail file
LibClamAV debug: Starting cli_scanmail(), mrec == 1, arec == 0
LibClamAV debug: in mbox()
LibClamAV debug: parseEmailFile
LibClamAV debug: parseEmailFile: check 'Received: by clamav-milter' contMarker 0 fullline 0x(nil) LibClamAV debug: parseEmailFile: check 'From: <[EMAIL PROTECTED]>' contMarker 0 fullline 0x(nil) LibClamAV debug: parseEmailFile: check 'To: <[EMAIL PROTECTED]>' contMarker 0 fullline 0x(nil) LibClamAV debug: parseEmailFile: check 'Received: from bohr.systella.fr (bohr.systella.fr [213.41.140.153])' contMarker 0 fullline 0x(nil) LibClamAV debug: parseEmailFile: check ' by rayleigh.systella.fr (8.13.5/8.13.5/Debian-3) with ESMTP id k0PJSYr7027661' contMarker 0 fullline 0x(nil) LibClamAV debug: parseEmailFile: check ' (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT)' contMarker 0 fullline 0x(nil) LibClamAV debug: parseEmailFile: check ' for <[EMAIL PROTECTED]>; Wed, 25
Jan 2006 20:28:35 +0100' contMarker 0 fullline 0x(nil)
LibClamAV debug: parseEmailFile: check 'Received: from bohr.systella.fr (localhost [127.0.0.1])' contMarker 0 fullline 0x(nil) LibClamAV debug: parseEmailFile: check ' by bohr.systella.fr (8.13.5/8.13.5/Debian-3) with ESMTP id k0PJSVn7004911' contMarker 0 fullline 0x(nil) LibClamAV debug: parseEmailFile: check ' for <[EMAIL PROTECTED]>; Wed, 25 Jan 2006 20:28:31 +0100' contMarker 0 fullline 0x(nil) LibClamAV debug: parseEmailFile: check 'Received: (from [EMAIL PROTECTED])' contMarker 0 fullline 0x(nil) LibClamAV debug: parseEmailFile: check ' by bohr.systella.fr (8.13.5/8.13.5/Submit) id k0PJSV6x004908' contMarker 0 fullline 0x(nil) LibClamAV debug: parseEmailFile: check ' for [EMAIL PROTECTED]; Wed, 25 Jan 2006 20:28:31 +0100' contMarker 0 fullline 0x(nil) LibClamAV debug: parseEmailFile: check 'Date: Wed, 25 Jan 2006 20:28:31 +0100' contMarker 0 fullline 0x(nil) LibClamAV debug: parseEmailFile: check 'From: BERTRAND Joël <[EMAIL PROTECTED]>' contMarker 0 fullline 0x(nil) LibClamAV debug: parseEmailFile: check 'Message-Id: <[EMAIL PROTECTED]>' contMarker 0 fullline 0x(nil) LibClamAV debug: parseEmailFile: check 'To: [EMAIL PROTECTED]' contMarker 0 fullline 0x(nil) LibClamAV debug: parseEmailFile: check 'Subject: test' contMarker 0 fullline 0x(nil) LibClamAV debug: parseEmailFile: check 'X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (kant.astelys.fr [192.168.254.1]); Wed, 25 Jan 2006 20:28:38 +0100 (CET)' contMarker 0 fullline 0x(nil) LibClamAV debug: parseEmailFile: check 'X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-2.0.2 (rayleigh.systella.fr [192.168.254.1]); Wed, 25 Jan 2006 20:28:35 +0100 (CET)' contMarker 0 fullline 0x(nil) LibClamAV debug: parseEmailFile: check 'X-Spam-Status: No, score=2.1 required=5.0 tests=RCVD_IN_NJABL_PROXY,' contMarker 0 fullline 0x(nil) LibClamAV debug: parseEmailFile: check ' RCVD_IN_SORBS_SOCKS autolearn=no version=3.1.0' contMarker 0 fullline 0x(nil) LibClamAV debug: parseEmailFile: check 'X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on kant.astelys.fr' contMarker 0 fullline 0x(nil) LibClamAV debug: parseEmailFile: check 'X-Virus-Scanned: ClamAV 0.88/1249/Wed Jan 25 18:04:36 2006 on rayleigh.systella.fr' contMarker 0 fullline 0x(nil) LibClamAV debug: parseEmailFile: check 'X-Virus-Status: Clean' contMarker 0 fullline 0x(nil) LibClamAV debug: parseEmailFile: check 'X-Spam-Level: **' contMarker 0 fullline 0x(nil)
LibClamAV debug: parseEmailFile: check '' contMarker 0 fullline 0x(nil)
LibClamAV debug: End of header information
LibClamAV debug: parseEmailFile: return
LibClamAV debug: cli_mbox returning 0
LibClamAV debug: Calculated MD5 checksum: a1eb5634e1952ba136e5577f10c76de9
Wed Jan 25 20:28:39 2006 -> /tmp/clamav-34e7138aca68c17c/msg.SydMv9: OK

and clamav-milter is dead... I don't understand...

        Regards,

        JKB

Reply via email to