From owner-freebsd-questions@FreeBSD.ORG Fri Nov 27 17:04:03 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC2B21065676 for ; Fri, 27 Nov 2009 17:04:03 +0000 (UTC) (envelope-from martin@saturn.pcs.ms) Received: from mail4.hostpark.net (mail4.hostpark.net [212.243.197.34]) by mx1.freebsd.org (Postfix) with ESMTP id 47E898FC14 for ; Fri, 27 Nov 2009 17:04:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail4.hostpark.net (Postfix) with ESMTP id 96B9840A7B; Fri, 27 Nov 2009 18:04:01 +0100 (CET) X-Virus-Scanned: by Hostpark/NetZone Mailprotection at hostpark.net Received: from mail4.hostpark.net ([127.0.0.1]) by localhost (mail4.hostpark.net [127.0.0.1]) (amavisd-new, port 10124) with ESMTP id Zoo7ivHzh7Gt; Fri, 27 Nov 2009 18:04:01 +0100 (CET) Received: from saturn.pcs.ms (220-153.203-62.cust.bluewin.ch [62.203.153.220]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail4.hostpark.net (Postfix) with ESMTP id 3777540523; Fri, 27 Nov 2009 18:04:01 +0100 (CET) Received: from saturn.pcs.ms (localhost [127.0.0.1]) by saturn.pcs.ms (8.14.3/8.14.2) with ESMTP id nARH6SuP004153; Fri, 27 Nov 2009 18:06:28 +0100 (CET) (envelope-from martin@saturn.pcs.ms) Received: (from martin@localhost) by saturn.pcs.ms (8.14.3/8.14.3/Submit) id nARH6SPq004148; Fri, 27 Nov 2009 18:06:28 +0100 (CET) (envelope-from martin) Date: Fri, 27 Nov 2009 18:06:28 +0100 From: Martin Schweizer To: freebsd-questions@freebsd.org Message-ID: <20091127170628.GA4080@saturn.pcs.ms> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Mutt/1.4.2.3i Organization: PC-Service M. Schweizer GmbH, CH-8608 Bubikon, Switzerland X-PGP-Key: http://www.pc-service.ch/pgp/public_key.asc X-Fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239 Subject: MimeDefang: Perl core dump X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Martin Schweizer List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Nov 2009 17:04:03 -0000 Hello My goal is to add to all outgoing mail a small boilerplate. My system: FreeBSD acsvfbsd06.acutronic.ch 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Thu Sep= 17=20 17:53:59 CEST 2009 =20 martin@acsvfbsd06.acutronic.ch:/usr/obj/usr/src/sys/GENERIC amd64 sendmail.mc: [snip] MAIL_FILTER(`mimedefang', `S=3Dlocal:/var/spool/MIMEDefang/mimedefang.sock,= F=3DT, T=3DS:1m;R:1m')dnl define(`confINPUT_MAIL_FILTERS', `mimedefang')dnl [snip] sendmail version: ESMTP Sendmail 8.14.3/8.14.3; Fri, 27 Nov 2009 17:58:56 +0100 (CET) acsvfbsd06# mimedefang.pl -test Filter /usr/local/etc/mimedefang/mimedefang-filter seems syntactically corr= ect. acsvfbsd06# mimedefang.pl -features MIMEDefang version 2.67 Archive::Zip : yes HTML::Parser : yes Net::DNS : yes Path:CONFDIR : yes (/usr/local/etc/mimedefang) Path:QUARANTINEDIR : yes (/var/spool/MD-Quarantine) Path:SENDMAIL : yes (/usr/sbin/sendmail) Path:SPOOLDIR : yes (/var/spool/MIMEDefang) SpamAssassin : yes HTML:TokeParser : no HTMLCleaner : no Unix::Syslog : no Virus:AVP : no Virus:AVP5 : no Virus:BDC : no Virus:CLAMAV : no Virus:CLAMD : no Virus:CSAV : no Virus:FPROT : no Virus:FPROTD : no Virus:FPROTD6 : no Virus:FPSCAN : no Virus:FSAV : no Virus:HBEDV : no Virus:KAVSCANNER : no Virus:NAI : no Virus:NOD32 : no Virus:NVCC : no Virus:SAVSCAN : no Virus:SOPHIE : no Virus:SOPHOS : no Virus:SymantecCSS : no Virus:TREND : no Virus:TROPHIE : no Virus:VEXIRA : no Anomy::HTMLCleaner : missing Archive::Zip : Version 1.30 Digest::SHA1 : Version 2.12 HTML::Parser : Version 3.64 HTML::TokeParser : missing IO::Socket : Version 1.31 IO::Stringy : Version 2.110 MIME::Base64 : Version 3.08 MIME::Tools : Version 5.427 MIME::Words : Version 5.427 Mail::Mailer : Version 2.04 Mail::SpamAssassin : Version 3.002005 Net::DNS : Version 0.65 Unix::Syslog : Version 1.1 ps -ax shows 6722 ?? S 0:00,19 /usr/local/bin/mimedefang-multiplexor -l -p /var/s= pool/MIMEDefang/mimedefang-multiplexor.pid -z /var/spool/MIMEDefang -m 2=20 -x 10 -U The -l option means to log all stuff to syslog. /var/log/all.log shows: Nov 27 17:57:18 acsvfbsd06 kernel: pid 9919 (perl), uid 26: exited on signa= l 11 (core dumped) Nov 27 17:57:18 acsvfbsd06 mimedefang-multiplexor[6722]: Reap: slave 0 (pid= 9919) exited due to signal 11 (SLAVE DIED UNEXPECTEDLY) Nov 27 17:57:18 acsvfbsd06 mimedefang-multiplexor[6722]: Slave 0 resource u= sage: req=3D0, scans=3D0, user=3D0.158, sys=3D0.067, nswap=3D0, majflt=3D0,= minflt=3D2832, maxrss The above will repeate any 30 seconds. I also ant find the core files but I= =20 could not find it! (Or I did not find the correct directory) Any ideas what is going wrong here? --=20 Martin Schweizer PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc;=20 fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239;