head 1.8; access; symbols pkgsrc-2022Q4:1.7.0.104 pkgsrc-2022Q4-base:1.7 pkgsrc-2022Q3:1.7.0.102 pkgsrc-2022Q3-base:1.7 pkgsrc-2022Q2:1.7.0.100 pkgsrc-2022Q2-base:1.7 pkgsrc-2022Q1:1.7.0.98 pkgsrc-2022Q1-base:1.7 pkgsrc-2021Q4:1.7.0.96 pkgsrc-2021Q4-base:1.7 pkgsrc-2021Q3:1.7.0.94 pkgsrc-2021Q3-base:1.7 pkgsrc-2021Q2:1.7.0.92 pkgsrc-2021Q2-base:1.7 pkgsrc-2021Q1:1.7.0.90 pkgsrc-2021Q1-base:1.7 pkgsrc-2020Q4:1.7.0.88 pkgsrc-2020Q4-base:1.7 pkgsrc-2020Q3:1.7.0.86 pkgsrc-2020Q3-base:1.7 pkgsrc-2020Q2:1.7.0.82 pkgsrc-2020Q2-base:1.7 pkgsrc-2020Q1:1.7.0.62 pkgsrc-2020Q1-base:1.7 pkgsrc-2019Q4:1.7.0.84 pkgsrc-2019Q4-base:1.7 pkgsrc-2019Q3:1.7.0.80 pkgsrc-2019Q3-base:1.7 pkgsrc-2019Q2:1.7.0.78 pkgsrc-2019Q2-base:1.7 pkgsrc-2019Q1:1.7.0.76 pkgsrc-2019Q1-base:1.7 pkgsrc-2018Q4:1.7.0.74 pkgsrc-2018Q4-base:1.7 pkgsrc-2018Q3:1.7.0.72 pkgsrc-2018Q3-base:1.7 pkgsrc-2018Q2:1.7.0.70 pkgsrc-2018Q2-base:1.7 pkgsrc-2018Q1:1.7.0.68 pkgsrc-2018Q1-base:1.7 pkgsrc-2017Q4:1.7.0.66 pkgsrc-2017Q4-base:1.7 pkgsrc-2017Q3:1.7.0.64 pkgsrc-2017Q3-base:1.7 pkgsrc-2017Q2:1.7.0.60 pkgsrc-2017Q2-base:1.7 pkgsrc-2017Q1:1.7.0.58 pkgsrc-2017Q1-base:1.7 pkgsrc-2016Q4:1.7.0.56 pkgsrc-2016Q4-base:1.7 pkgsrc-2016Q3:1.7.0.54 pkgsrc-2016Q3-base:1.7 pkgsrc-2016Q2:1.7.0.52 pkgsrc-2016Q2-base:1.7 pkgsrc-2016Q1:1.7.0.50 pkgsrc-2016Q1-base:1.7 pkgsrc-2015Q4:1.7.0.48 pkgsrc-2015Q4-base:1.7 pkgsrc-2015Q3:1.7.0.46 pkgsrc-2015Q3-base:1.7 pkgsrc-2015Q2:1.7.0.44 pkgsrc-2015Q2-base:1.7 pkgsrc-2015Q1:1.7.0.42 pkgsrc-2015Q1-base:1.7 pkgsrc-2014Q4:1.7.0.40 pkgsrc-2014Q4-base:1.7 pkgsrc-2014Q3:1.7.0.38 pkgsrc-2014Q3-base:1.7 pkgsrc-2014Q2:1.7.0.36 pkgsrc-2014Q2-base:1.7 pkgsrc-2014Q1:1.7.0.34 pkgsrc-2014Q1-base:1.7 pkgsrc-2013Q4:1.7.0.32 pkgsrc-2013Q4-base:1.7 pkgsrc-2013Q3:1.7.0.30 pkgsrc-2013Q3-base:1.7 pkgsrc-2013Q2:1.7.0.28 pkgsrc-2013Q2-base:1.7 pkgsrc-2013Q1:1.7.0.26 pkgsrc-2013Q1-base:1.7 pkgsrc-2012Q4:1.7.0.24 pkgsrc-2012Q4-base:1.7 pkgsrc-2012Q3:1.7.0.22 pkgsrc-2012Q3-base:1.7 pkgsrc-2012Q2:1.7.0.20 pkgsrc-2012Q2-base:1.7 pkgsrc-2012Q1:1.7.0.18 pkgsrc-2012Q1-base:1.7 pkgsrc-2011Q4:1.7.0.16 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q3:1.7.0.14 pkgsrc-2011Q3-base:1.7 pkgsrc-2011Q2:1.7.0.12 pkgsrc-2011Q2-base:1.7 pkgsrc-2011Q1:1.7.0.10 pkgsrc-2011Q1-base:1.7 pkgsrc-2010Q4:1.7.0.8 pkgsrc-2010Q4-base:1.7 pkgsrc-2010Q3:1.7.0.6 pkgsrc-2010Q3-base:1.7 pkgsrc-2010Q2:1.7.0.4 pkgsrc-2010Q2-base:1.7 pkgsrc-2010Q1:1.7.0.2 pkgsrc-2010Q1-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.2 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.3.0.8 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.6 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.4 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.2 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.2.0.8 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.6 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.4 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.2 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.1.0.6 pkgsrc-2004Q3-base:1.1 pkgsrc-2004Q2:1.1.0.4 pkgsrc-2004Q2-base:1.1 pkgsrc-2004Q1:1.1.0.2 pkgsrc-2004Q1-base:1.1; locks; strict; comment @# @; 1.8 date 2023.02.28.11.33.03; author bouyer; state dead; branches; next 1.7; commitid lv5BmC0STxRWIhfE; 1.7 date 2010.02.05.19.53.08; author markd; state Exp; 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 2006.11.08.09.42.05; author markd; state Exp; branches; next 1.3; 1.3 date 2005.12.10.22.14.15; author markd; state Exp; branches; next 1.2; 1.2 date 2004.11.10.10.48.33; author markd; state Exp; branches; next 1.1; 1.1 date 2004.03.07.11.18.33; author markd; state Exp; branches; next ; desc @@ 1.8 log @Update mimedefang to 3.3. Main changes from 2.78: * add is_public_ip6_address to check if an ipv6 address is local * add md_authres method to generate a basic Authentication-Results header for the message * add md_arc_sign method to sign email messages with DKIM ARC signatures * add md_dkim_verify method to verify DKIM signatures * add md_dkim_sign method to sign email messages with DKIM signatures * add anonymize_uri to remove utm_* parameters from uris. * split mimedefang.pl code in Perl modules * add re_match_in_7zip_directory to check for files inside 7zip archives * fallback to plaintext when md_check_against_smtp_server fails SSL connection for unknown reasons * add experimental support to scan emails with Rspamd antispam * Obtain the Queue-ID as early as possible in the SMTP session. Requires the "-y" command-line option to mimedefang. * mimedefang.pl: Add support for a configuration file to separate data from code * mimedefang.pl: Add support to scan messages for viruses on a remote Clamav server using clamdscan client. * mimedefang.pl: Add re_match_in_rar_directory function to match unwanted file names extensions inside a rar archive file. * mimedefang.pl: Added TLS support to md_check_against_smtp_server * mimedefang-multiplexor: Make "workerinfo nnn" show how long ago the last state change was for a given worker. * mimedefang.pl: Do not add a Message-ID: header when handing a message to SpamAssassin if the original message lacks such a header. * Add a new -V maxLifetime option to mimedefang-multiplexor that terminates worker processes after maxLifetime seconds (approximately). This is in addition to the -r maxRequests option. * Log the lifetime and number of requests processed when we terminate a worker process. * Make mimedefang and mimedefang-multiplexor write their PID files as root to avoid an unprivileged user tampering with the pidfiles. Thanks to Michael Orlitzky for pointing this issue out. * mimedefang.pl: Add an extra level of subdirectories in the quarantine to avoid 32K subdirectory limit on ext3. Idea by Kevin McGrail. * Add the --data-dump option to scripts/mimedefang-util And various bug fixes and minor improvements. pkgsrc changes: make the rc.d script use the new -o option and move the pid files to $VARBASE/run/, keeping the lock and socket files in $VARBASE/spool/MIMEdefang/ @ text @$NetBSD: patch-ac,v 1.7 2010/02/05 19:53:08 markd Exp $ --- mimedefang.pl.in.orig 2009-01-05 20:37:38.000000000 +0000 +++ mimedefang.pl.in @@@@ -121,29 +121,29 @@@@ $VirusScannerRoutinesInitialized = 0; $SALocalTestsOnly = 1; $DoStatusTags = 0; -$Features{'Virus:AVP'} = ('@@AVP@@' ne '/bin/false' ? '@@AVP@@' : 0); -$Features{'Virus:AVP5'} = ('@@AVP5@@' ne '/bin/false' ? '@@AVP5@@' : 0); -$Features{'Virus:KAVSCANNER'} = ('@@KAVSCANNER@@' ne '/bin/false' ? '@@KAVSCANNER@@' : 0); -$Features{'Virus:CLAMAV'} = ('@@CLAMSCAN@@' ne '/bin/false' ? '@@CLAMSCAN@@' : 0); -$Features{'Virus:CLAMD'} = ('@@CLAMD@@' ne '/bin/false' ? '@@CLAMD@@' : 0); -$Features{'Virus:FPROT'} = ('@@FPROT@@' ne '/bin/false' ? '@@FPROT@@' : 0); -$Features{'Virus:FPSCAN'} = ('@@FPSCAN@@' ne '/bin/false' ? '@@FPSCAN@@' : 0); -$Features{'Virus:FSAV'} = ('@@FSAV@@' ne '/bin/false' ? '@@FSAV@@' : 0); -$Features{'Virus:HBEDV'} = ('@@HBEDV@@' ne '/bin/false' ? '@@HBEDV@@' : 0); -$Features{'Virus:VEXIRA'} = ('@@VEXIRA@@' ne '/bin/false' ? '@@VEXIRA@@' : 0); -$Features{'Virus:NAI'} = ('@@NAI@@' ne '/bin/false' ? '@@NAI@@' : 0); -$Features{'Virus:BDC'} = ('@@BDC@@' ne '/bin/false' ? '@@BDC@@' : 0); -$Features{'Virus:NVCC'} = ('@@NVCC@@' ne '/bin/false' ? '@@NVCC@@' : 0); +$Features{'Virus:AVP'} = ((('@@AVP@@' ne '/bin/false') and (-x '@@AVP@@')) ? '@@AVP@@' : 0); +$Features{'Virus:AVP5'} = ((('@@AVP5@@' ne '/bin/false') and (-x '@@AVP5@@')) ? '@@AVP5@@' : 0); +$Features{'Virus:KAVSCANNER'} = ((('@@KAVSCANNER@@' ne '/bin/false') and (-x '@@KAVSCANNER@@')) ? '@@KAVSCANNER@@' : 0); +$Features{'Virus:CLAMAV'} = ((('@@CLAMSCAN@@' ne '/bin/false') and (-x '@@CLAMSCAN@@')) ? '@@CLAMSCAN@@' : 0); +$Features{'Virus:CLAMD'} = ((('@@CLAMD@@' ne '/bin/false') and (-x '@@CLAMD@@')) ? '@@CLAMD@@' : 0); +$Features{'Virus:FPROT'} = ((('@@FPROT@@' ne '/bin/false') and (-x '@@FPROT@@')) ? '@@FPROT@@' : 0); +$Features{'Virus:FPSCAN'} = ((('@@FPSCAN@@' ne '/bin/false') and (-x '@@FPSCAN@@')) ? '@@FPSCAN@@' : 0); +$Features{'Virus:FSAV'} = ((('@@FSAV@@' ne '/bin/false') and (-x '@@FSAV@@')) ? '@@FSAV@@' : 0); +$Features{'Virus:HBEDV'} = ((('@@HBEDV@@' ne '/bin/false') and (-x '@@HBEDV@@')) ? '@@HBEDV@@' : 0); +$Features{'Virus:VEXIRA'} = ((('@@VEXIRA@@' ne '/bin/false') and (-x '@@VEXIRA@@')) ? '@@VEXIRA@@' : 0); +$Features{'Virus:NAI'} = ((('@@NAI@@' ne '/bin/false') and (-x '@@NAI@@')) ? '@@NAI@@' : 0); +$Features{'Virus:BDC'} = ((('@@BDC@@' ne '/bin/false') and (-x '@@BDC@@')) ? '@@BDC@@' : 0); +$Features{'Virus:NVCC'} = ((('@@NVCC@@' ne '/bin/false') and (-x '@@NVCC@@')) ? '@@NVCC@@' : 0); $Features{'Virus:SymantecCSS'} = 0; # Ditto $Features{'Virus:FPROTD'} = 0; $Features{'Virus:FPROTD6'} = 0; -$Features{'Virus:SOPHIE'} = ('@@SOPHIE@@' ne '/bin/false' ? '@@SOPHIE@@' : 0); -$Features{'Virus:SOPHOS'} = ('@@SOPHOS@@' ne '/bin/false' ? '@@SOPHOS@@' : 0); -$Features{'Virus:SAVSCAN'} = ('@@SAVSCAN@@' ne '/bin/false' ? '@@SAVSCAN@@' : 0); -$Features{'Virus:TREND'} = ('@@TREND@@' ne '/bin/false' ? '@@TREND@@' : 0); -$Features{'Virus:TROPHIE'} = ('@@TROPHIE@@' ne '/bin/false' ? '@@TROPHIE@@' : 0); -$Features{'Virus:CSAV'} = ('@@CSAV@@' ne '/bin/false' ? '@@CSAV@@' : 0); -$Features{'Virus:NOD32'} = ('@@NOD32@@' ne '/bin/false' ? '@@NOD32@@' : 0); +$Features{'Virus:SOPHIE'} = ((('@@SOPHIE@@' ne '/bin/false') and (-x '@@SOPHIE@@')) ? '@@SOPHIE@@' : 0); +$Features{'Virus:SOPHOS'} = ((('@@SOPHOS@@' ne '/bin/false') and (-x '@@SOPHOS@@')) ? '@@SOPHOS@@' : 0); +$Features{'Virus:SAVSCAN'} = ((('@@SAVSCAN@@' ne '/bin/false') and (-x '@@SAVSCAN@@')) ? '@@SAVSCAN@@' : 0); +$Features{'Virus:TREND'} = ((('@@TREND@@' ne '/bin/false') and (-x '@@TREND@@')) ? '@@TREND@@' : 0); +$Features{'Virus:TROPHIE'} = ((('@@TROPHIE@@' ne '/bin/false') and (-x '@@TROPHIE@@')) ? '@@TROPHIE@@' : 0); +$Features{'Virus:CSAV'} = ((('@@CSAV@@' ne '/bin/false') and (-x '@@CSAV@@')) ? '@@CSAV@@' : 0); +$Features{'Virus:NOD32'} = ((('@@NOD32@@' ne '/bin/false') and (-x '@@NOD32@@')) ? '@@NOD32@@' : 0); $Features{'Path:SENDMAIL'} = '@@SENDMAILPROG@@'; $Features{'Path:QUARANTINEDIR'} = '@@QDIR@@'; @ 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 @d1 1 a1 1 $NetBSD: patch-ac,v 1.6 2007/08/15 04:50:40 markd Exp $ @ 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-ac,v 1.5 2007/03/14 11:21:33 markd Exp $ d3 1 a3 1 --- mimedefang.pl.in.orig 2007-08-14 01:50:18.000000000 +1200 d5 1 a5 1 @@@@ -121,25 +121,25 @@@@ $VirusScannerRoutinesInitialized = 0; d15 1 d28 1 d37 1 d40 1 d44 1 d47 1 d51 1 @ 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-ac,v 1.4 2006/11/08 09:42:05 markd Exp $ d3 1 a3 1 --- mimedefang.pl.in.orig 2007-01-19 03:43:12.000000000 +1300 d5 1 a5 1 @@@@ -121,26 +121,26 @@@@ $VirusScannerRoutinesInitialized = 0; a32 1 $Features{'Virus:OpenAV'} = 0; # Not a good idea but we need a test! a47 54 @@@@ -3669,7 +3669,7 @@@@ sub entity_contains_virus_clamav ($) { # Run clamscan my($code, $category, $action) = - run_virus_scanner($Features{'Virus:CLAMAV'} . " --mbox --stdout --disable-summary --infected $path 2>&1"); + run_virus_scanner($Features{'Virus:CLAMAV'} . " --stdout --no-summary --infected $path 2>&1"); if ($action ne 'proceed') { return (wantarray ? ($code, $category, $action) : $code); } @@@@ -3693,7 +3693,7 @@@@ sub message_contains_virus_clamav () { # Run clamscan my($code, $category, $action) = - run_virus_scanner($Features{'Virus:CLAMAV'} . " -r --mbox --stdout --disable-summary --infected ./Work 2>&1"); + run_virus_scanner($Features{'Virus:CLAMAV'} . " -r --stdout --no-summary --infected ./Work 2>&1"); if ($action ne 'proceed') { return (wantarray ? ($code, $category, $action) : $code); } @@@@ -4506,14 +4506,14 @@@@ sub entity_contains_virus_clamd ($;$) { md_syslog('err', "$MsgID: Clamd returned error: $err_detail"); # If it's a zip module failure, try falling back on clamscan. # This is despicable, but it might work - if ($err_detail =~ /zip module failure/i && + if ($err_detail =~ /(?:zip module failure|not supported data format)/i && $Features{'Virus:CLAMAV'}) { my ($code, $category, $action) = - run_virus_scanner($Features{'Virus:CLAMAV'} . " -r --unzip --mbox --stdout --disable-summary --infected $CWD/Work 2>&1"); + run_virus_scanner($Features{'Virus:CLAMAV'} . " -r --unzip --unrar --stdout --no-summary --infected $CWD/Work 2>&1"); if ($action ne 'proceed') { return (wantarray ? ($code, $category, $action) : $code); } - md_syslog('info', "$MsgID: Falling back on clamscan --unzip because of Zip module failure in clamd"); + md_syslog('info', "$MsgID: Falling back on clamscan --unzip --unrar because of Zip module failure in clamd"); return (wantarray ? interpret_clamav_code($code) : $code); } return (wantarray ? (999, 'swerr', 'tempfail') : 1); @@@@ -4603,14 +4603,14 @@@@ sub message_contains_virus_clamd (;$) { md_syslog('err', "$MsgID: Clamd returned error: $err_detail"); # If it's a zip module failure, try falling back on clamscan. # This is despicable, but it might work - if ($err_detail =~ /zip module failure/i && + if ($err_detail =~ /(?:zip module failure|not supported data format)/i && $Features{'Virus:CLAMAV'}) { my ($code, $category, $action) = - run_virus_scanner($Features{'Virus:CLAMAV'} . " -r --unzip --mbox --stdout --disable-summary --infected $CWD/Work 2>&1"); + run_virus_scanner($Features{'Virus:CLAMAV'} . " -r --unzip --unrar --stdout --no-summary --infected $CWD/Work 2>&1"); if ($action ne 'proceed') { return (wantarray ? ($code, $category, $action) : $code); } - md_syslog('info', "$MsgID: Falling back on clamscan --unzip because of Zip module failure in clamd"); + md_syslog('info', "$MsgID: Falling back on clamscan --unzip --unrar because of Zip module failure in clamd"); return (wantarray ? interpret_clamav_code($code) : $code); } return (wantarray ? (999, 'swerr', 'tempfail') : 999); @ 1.4 log @Update to mimedefang 2.58 Changes since 2.57: * Various minor bug-fixes, including a memory leak. Changes since 2.56: * Various minor bug-fixes * New md-mx-ctrl hload command shows load over past 1, 4, 12 and 24 hours. * New multiplexor scheduling algorithm tries to keep a given command on a given set of slaves. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- mimedefang.pl.in.orig 2006-11-08 03:47:07.000000000 +1300 d49 54 @ 1.3 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-ac,v 1.2 2004/11/10 10:48:33 markd Exp $ d3 1 a3 1 --- mimedefang.pl.in.orig 2005-12-11 08:49:06.000000000 +1300 d5 1 a5 1 @@@@ -126,27 +126,27 @@@@ $VirusScannerRoutinesInitialized = 0; d16 5 a27 6 $Features{'Virus:FileScan'} = 0; # Will be set by detect_and_load_perl_modules -$Features{'Virus:HBEDV'} = ('@@HBEDV@@' ne '/bin/false' ? '@@HBEDV@@' : 0); -$Features{'Virus:VEXIRA'} = ('@@VEXIRA@@' ne '/bin/false' ? '@@VEXIRA@@' : 0); -$Features{'Virus:NAI'} = ('@@NAI@@' ne '/bin/false' ? '@@NAI@@' : 0); -$Features{'Virus:BDC'} = ('@@BDC@@' ne '/bin/false' ? '@@BDC@@' : 0); -$Features{'Virus:NVCC'} = ('@@NVCC@@' ne '/bin/false' ? '@@NVCC@@' : 0); @ 1.2 log @Update mimedefang to version 2.48 Changes in 2.48: This is a bugfix release for 2.46 and 2.47, which contained several embarrassing bugs. Changes in 2.46: This release has a mechanism for Perl slaves to report back their status to the multiplexor. This allows you to see exactly what each scanning slave is doing at a given point in time. This release also features support for the "csav" virus-scanner from Command Software, and better support for Trend Micro's command line scanner. The algorithm that reconstructs MIME messages after modification is greatly improved and avoids creating useless multipart containers with only a single sub-part. A few smaller changes fix minor bugs and tighten up security. Changes in 2.45: The multiplexor has a new "-a" option to allow non-privileged users to run a restricted set of status commands. "watch-mimedefang" has been completely revamped and gives a lot of useful information about email server load. It can monitor a remote server over an SSH tunnel. The notification facility has two new messages, indicating a busy timeout and the unexpected death of a Perl slave. There is a new set of RBL functions that perform parallel DNS lookups to reduce latency. In addition, many minor features have been added, bugs have been fixed, and documentation has been cleaned up. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.1 2004/03/07 11:18:33 markd Exp $ d3 1 a3 1 --- mimedefang.pl.in.orig 2004-11-10 01:09:25.000000000 +1300 d5 1 a5 1 @@@@ -100,26 +100,26 @@@@ $VirusScannerRoutinesInitialized = 0; d11 1 d18 1 d23 1 a23 1 $Features{'Virus:FileScan'} = $Features{'File::Scan'}; @ 1.1 log @Update mimedefang to 2.40. pkgsrc changes - add rc scripts and runtime checks for virus checkers from Eric Schnoebelen in PR pkg/24295 - require native pthread library as pth doesnt work Major changes from 2.39 to 2.40: If multiple virus scanners are installed, they are all used. Default action for viruses is now discard. Added a new "notification" facility to allow external software to react to changes in multiplexor state. We now pass both the raw input message and the unpacked, decoded parts to the virus scanner. This makes virus detection much more reliable. Major changes from 2.38 to 2.39: The multiplexor can be compiled with an embedded Perl interpreter to significantly reduce the cost of starting a new slave A memory leak in the status command was fixed. A histo command was added so you can see how busy your installation Major changes from 2.37 to 2.38: The internal SMALLBUF constant was increased to handle larger SpamAssassin reports produced by SpamAssassin version 2.60. If a virus is found, action_notify_sender is disabled. Major changes from 2.36 to 2.37: Pure bug-fix release: A file descriptor leak was fixed, and we set the close-on-exec flag on most file descriptors. Major changes from 2.35 to 2.36: Scalability enhancements for very busy servers. Support for BitDefender's "bdc" virus scanner. Other minor bug fixes. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- mimedefang.pl.in.orig 2004-03-06 04:35:35.000000000 +1300 d5 1 a5 2 @@@@ -89,25 +89,25 @@@@ $VirusScannerRoutinesInitialized = 0; d7 1 d39 1 d44 1 @