head 1.7; access; symbols pkgsrc-2013Q2:1.7.0.8 pkgsrc-2013Q2-base:1.7 pkgsrc-2012Q4:1.7.0.6 pkgsrc-2012Q4-base:1.7 pkgsrc-2011Q4:1.7.0.4 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q2:1.7.0.2 pkgsrc-2011Q2-base:1.7 pkgsrc-2009Q4:1.6.0.24 pkgsrc-2009Q4-base:1.6 pkgsrc-2009Q3:1.6.0.22 pkgsrc-2009Q3-base:1.6 pkgsrc-2009Q2:1.6.0.20 pkgsrc-2009Q2-base:1.6 pkgsrc-2009Q1:1.6.0.18 pkgsrc-2009Q1-base:1.6 pkgsrc-2008Q4:1.6.0.16 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.14 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.12 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.10 pkgsrc-2008Q2-base:1.6 cwrapper:1.6.0.8 pkgsrc-2008Q1:1.6.0.6 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.4 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.6.0.2 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.5.0.4 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.2 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.4.0.10 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.8 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.6 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.4 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.2 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.3.0.16 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.14 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.12 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.10 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.8 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.6 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.4 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.2 pkgsrc-2003Q4-base:1.3 netbsd-1-6-1:1.2.0.2 netbsd-1-6-1-base:1.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.7 date 2010.02.05.19.53.08; author markd; state dead; branches; next 1.6; 1.6 date 2007.08.15.04.50.40; author markd; state Exp; branches; next 1.5; 1.5 date 2007.03.14.11.21.33; author markd; state Exp; branches; next 1.4; 1.4 date 2005.12.10.22.14.15; author markd; state Exp; branches; next 1.3; 1.3 date 2003.04.28.12.47.12; author markd; state Exp; branches; next 1.2; 1.2 date 2002.10.30.09.50.25; author markd; state Exp; branches; next 1.1; 1.1 date 2002.09.23.13.08.52; author markd; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2002.09.23.13.08.52; author markd; state Exp; branches; next ; desc @@ 1.7 log @Update to mimedefang 2.67, thanks to Klaus Heinz Release 2.67 adds the following features since 2.65 (there was no public 2.66 release): * The ability for mimedefang-multiplexor to use poll rather than select. This removes the FD_SETSIZE limit on the number of file descriptors the multiplexor can handle. * Support for FPROTD version 6 daemonized virus scanner. 2.65 There is only one change since 2.64: An error in the way the embedded perl interpreter was initialized has been fixed. This fixes problems on the Debian HPPA architecture and possibly others. 2.64 This is a minor bugfix release; * Add support for NOD32 command-line scanner * Add support for Sophos "savscan" scanner @ text @$NetBSD: patch-ab,v 1.6 2007/08/15 04:50:40 markd Exp $ --- Makefile.in.orig 2007-08-14 01:50:18.000000000 +1200 +++ Makefile.in @@@@ -137,7 +137,7 @@@@ mimedefang-multiplexor.o: mimedefang-mul @@CC@@ @@CFLAGS@@ $(DEFS) $(MINCLUDE) -c -o mimedefang-multiplexor.o mimedefang-multiplexor.c mimedefang: mimedefang.o drop_privs_threaded.o utils.o rm_r.o syslog-fac.o dynbuf.o milter_cap.o - @@CC@@ @@CFLAGS@@ @@PTHREAD_FLAG@@ -o mimedefang mimedefang.o drop_privs_threaded.o utils.o rm_r.o syslog-fac.o dynbuf.o milter_cap.o @@LIBMILTERDIR@@ -lmilter @@LIBS@@ + @@CC@@ @@CFLAGS@@ @@PTHREAD_FLAG@@ -o mimedefang mimedefang.o drop_privs_threaded.o utils.o rm_r.o syslog-fac.o dynbuf.o milter_cap.o @@LDFLAGS@@ @@LIBMILTERDIR@@ -lmilter @@LIBS@@ -test "$(DONT_STRIP)" != "1" && strip mimedefang mimedefang.o: mimedefang.c mimedefang.h @ 1.6 log @Update mimedefang to 2.63 Changes since 2.62: * mimedefang-multiplexor.c: Relax the umask when creating the unprivileged socket ("-a" command-line option.) * mimedefang.c(eom): If we do not have a queue ID yet, try to obtain one in eom. This is designed to improve operation with Postfix, which does not assign a queue ID until after the first successful RCPT. Based on a patch from Henrik Krohns. * examples/init-script.in: Added MD_SKIP_BAD_RCPTS init script option (suggested by John Nemeth) * Remove support for OpenAntivirus. It's a dead product. * mimedefang.pl.in(spam_assassin_status): Call $mail->finish() to prevent temporary files from accumulating. * redhat/mimedefang-init.in: Add configtest routine to check filter syntax. Changes since 2.61: * A new "change_sender" action lets you change the envelope sender. Only works with Sendmail/Milter 8.14.0 and newer! * Clam interface code has been fixed to work properly with ClamAV 0.90 and later. * Other minor improvements and bugfixes. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.5 2007/03/14 11:21:33 markd Exp $ @ 1.5 log @Update mimedefang to 2.61. includes patch to work with clamav 0.90 and newer. Changes since 2.59: * SECURITY FIX: Versions 2.59 and 2.60 contained a programming error that could lead to a buffer overflow. This is definitely exploitable as a denial-of-service attack, and potentially may allow arbitrary code execution. The bug is fixed in 2.61. * If a message is going to end up being rejected, discarded or tempfailed, we don't bother carrying out requests to add/delete/modify headers or recipients, change the message body, etc. * mimedefang.c: Fix filter registration so MIMEDefang works correctly against libmilter from Sendmail 8.14 Changes since 2.58: * A new "watch-multiple-mimedefangs.tcl" tool that lets you keep an eye on a cluster of MIMEDefang scanners. * Fixes to the build scripts that should eliminate build problems on Intel/AMD 64-bit architectures. * mimedefang generates the COMMANDS file more safely and more efficiently. * Various other minor improvements and bug-fixes. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.4 2005/12/10 22:14:15 markd Exp $ d3 1 a3 1 --- Makefile.in.orig 2007-01-20 07:42:17.000000000 +1300 d5 1 a5 1 @@@@ -136,7 +136,7 @@@@ mimedefang-multiplexor.o: mimedefang-mul d8 3 a10 3 mimedefang: mimedefang.o drop_privs_threaded.o utils.o rm_r.o syslog-fac.o dynbuf.o - @@CC@@ @@CFLAGS@@ @@PTHREAD_FLAG@@ -o mimedefang mimedefang.o drop_privs_threaded.o utils.o rm_r.o syslog-fac.o dynbuf.o @@LIBMILTERDIR@@ -lmilter @@LIBS@@ + @@CC@@ @@CFLAGS@@ @@PTHREAD_FLAG@@ -o mimedefang mimedefang.o drop_privs_threaded.o utils.o rm_r.o syslog-fac.o dynbuf.o @@LDFLAGS@@ @@LIBMILTERDIR@@ -lmilter @@LIBS@@ @ 1.4 log @Update mimedefang to 2.54 Changes 2.54: a few minor enhancements and fixes. Changes 2.53: mostly work around bugs and deficiencies in third-party packages commonly used with MIMEDefang. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.3 2003/04/28 12:47:12 markd Exp $ d3 1 a3 1 --- Makefile.in.orig 2005-09-15 05:14:59.000000000 +1200 d5 1 a5 1 @@@@ -134,7 +134,7 @@@@ mimedefang-multiplexor.o: mimedefang-mul d8 3 a10 3 mimedefang: mimedefang.o drop_privs_threaded.o utils.o rm_r.o syslog-fac.o - @@CC@@ @@CFLAGS@@ @@PTHREAD_FLAG@@ -o mimedefang mimedefang.o drop_privs_threaded.o utils.o rm_r.o syslog-fac.o @@LIBMILTERACTUAL@@ @@LIBS@@ + @@CC@@ @@CFLAGS@@ @@PTHREAD_FLAG@@ -o mimedefang mimedefang.o drop_privs_threaded.o utils.o rm_r.o syslog-fac.o @@LDFLAGS@@ @@LIBMILTERACTUAL@@ @@LIBS@@ @ 1.3 log @Update mimedefang to version 2.33 Major changes from 2.32 to 2.33: The syslog facility can be changed easily. MIMEDefang deletes all but the first of multiple Content-Type: headers. MIMEDefang adds a Received: header when resending messages. Major changes from 2.31 to 2.32: Support for Central Command's Vexira virus-scanner. Support for Sendmail's rcpt_mailer, rcpt_host and rcpt_addr macros. Other minor bug fixes Major changes from 2.30 to 2.31: support for FPROTD scanner. support for Symantec CarrierScan Server virus scanner. Added remove_redundant_html_parts() to delete HTML parts if a corresponding text/plain part is present in the message. Speed ups @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- Makefile.in.orig 2003-04-22 03:53:14.000000000 +1200 d5 1 a5 1 @@@@ -110,7 +110,7 @@@@ mimedefang-multiplexor.o: mimedefang-mul d9 2 a10 2 - @@CC@@ @@CFLAGS@@ @@PTHREAD_FLAG@@ -o mimedefang mimedefang.o drop_privs_threaded.o utils.o rm_r.o syslog-fac.o @@LIBMILTER@@ @@LIBS@@ + @@CC@@ @@CFLAGS@@ @@PTHREAD_FLAG@@ -o mimedefang mimedefang.o drop_privs_threaded.o utils.o rm_r.o syslog-fac.o @@LDFLAGS@@ @@LIBMILTER@@ @@LIBS@@ @ 1.2 log @Update mimedefang to version 2.24 Changes in 2.24: This release includes "watch-mimedefang", a graphical monitoring tool [not enabled]. It does stricter checks on functions which only make sense in the context of a message. Global variables are cleared between messages so that extraneous values don't stick around. There are important fixes for Solaris and possibly other non-Linux machines. Changes in 2.23: A bug which could crash mimedefang-multiplexor under conditions of extreme load has been fixed. An attacker with sufficient bandwidth may be able to exploit the bug to mount a denial-of-service attack. Changes in 2.22: Support has been added for clamd, the daemonized version of Clam AntiVirus. A new variable $MaxMIMEParts lets you reject overly complex MIME messages which could otherwise result in a DoS. A new action_delete_all_headers routine has been added which deletes all instance of a given header. Many little bugs were fixed and portability was improved. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.1.1.1 2002/09/23 13:08:52 markd Exp $ d3 1 a3 1 --- Makefile.in.orig Mon Oct 28 23:13:01 2002 d5 1 a5 1 @@@@ -94,7 +94,7 @@@@ d8 3 a10 3 mimedefang: mimedefang.o drop_privs_threaded.o utils.o rm_r.o - @@CC@@ @@CFLAGS@@ @@PTHREAD_FLAG@@ -o mimedefang mimedefang.o drop_privs_threaded.o utils.o rm_r.o @@LIBMILTER@@ @@LIBS@@ + @@CC@@ @@CFLAGS@@ @@PTHREAD_FLAG@@ -o mimedefang mimedefang.o drop_privs_threaded.o utils.o rm_r.o @@LDFLAGS@@ @@LIBMILTER@@ @@LIBS@@ @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 12 --- Makefile.in~ Mon Sep 23 17:06:19 2002 +++ Makefile.in Mon Sep 23 17:15:41 2002 @@@@ -51,7 +51,7 @@@@ all: mimedefang mimedefang-multiplexor mimedefang-multiplexor: mimedefang-multiplexor.o event.o event_tcp.o drop_privs.o - @@CC@@ @@CFLAGS@@ -o mimedefang-multiplexor mimedefang-multiplexor.o event.o event_tcp.o drop_privs.o @@LIBS@@ + @@CC@@ @@CFLAGS@@ -o mimedefang-multiplexor mimedefang-multiplexor.o event.o event_tcp.o drop_privs.o @@LDFLAGS@@ @@LIBS@@ -strip mimedefang-multiplexor rm_r.o: rm_r.c @@@@ -70,7 +70,7 @@@@ d8 4 a11 4 mimedefang: mimedefang.o drop_privs.o utils.o rm_r.o - @@CC@@ @@CFLAGS@@ @@PTHREAD_FLAG@@ -o mimedefang mimedefang.o drop_privs.o utils.o rm_r.o @@LIBMILTER@@ @@LIBS@@ + @@CC@@ @@CFLAGS@@ @@PTHREAD_FLAG@@ -o mimedefang mimedefang.o drop_privs.o utils.o rm_r.o @@LDFLAGS@@ @@LIBMILTER@@ @@LIBS@@ -strip mimedefang @ 1.1.1.1 log @Initial import of mimedefang-2.21 MIMEDefang is an e-mail filter program which works with Sendmail 8.12 and later. MIMEDefang filters all e-mail messages sent via SMTP. MIMEDefang splits multi-part MIME messages into their components and potentially deletes or modifies the various parts. It then reassembles the parts back into an e-mail message and sends it on its way. MIMEDefang is written (mostly) in Perl, and the filter actions are expressed in Perl. This makes MIMEDefang highly flexible and configurable. As a simple example, you can delete all *.exe and *.com files, convert all Word documents to HTML, and allow other attachments through. MIMEDefang uses the "milter" feature of Sendmail to "listen in" to SMTP connections. It runs a scan once for each message, not once for each recipient (as simpler procmail-based systems do.) Therefore, it is more CPU-friendly than procmail-based systems. In addition, because MIMEDefang can participate in the SMTP connection, you can bounce messages (something impossible to do with procmail-based systems.) @ text @@