The NetBSD Project

CVS log for pkgsrc/mail/mimedefang/distinfo

[BACK] Up to [] / pkgsrc / mail / mimedefang

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.35 / (download) - annotate - [select for diffs], Sat Jun 17 01:33:43 2023 UTC (5 months, 1 week ago) by markd
Branch: MAIN
CVS Tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, HEAD
Changes since 1.34: +4 -5 lines
Diff to previous 1.34 (colored)

mimedefang: update to 3.4.1

* Packaging fixes

* add a mimedefang-release(8) program to release a message from quarantine
* add email_is_blacklisted to check an email address against an "hashbl"
  rbl server
* UTF-8 support improvements
* Authentication-Results header improvements

Revision 1.34 / (download) - annotate - [select for diffs], Fri Mar 3 11:19:19 2023 UTC (8 months, 3 weeks ago) by bouyer
Branch: MAIN
CVS Tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

Replace fix for issue #74 with official fix from upstream (commit a6470d7).

Revision 1.33 / (download) - annotate - [select for diffs], Tue Feb 28 20:23:13 2023 UTC (8 months, 4 weeks ago) by bouyer
Branch: MAIN
Changes since 1.32: +2 -1 lines
Diff to previous 1.32 (colored)

some UTF-8 attachement filename can cause mimedefang to crash;
fix it by rewriting the filename with ascii characters, using code which
was present upstream at some point.
See patches/ for details.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Feb 28 11:33:03 2023 UTC (9 months ago) by bouyer
Branch: MAIN
Changes since 1.31: +6 -6 lines
Diff to previous 1.31 (colored)

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 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.
        * Add support for a configuration file
          to separate data from code
        * Add support to scan messages for viruses on a remote
          Clamav server using clamdscan client.
        * Add re_match_in_rar_directory function to match
          unwanted file names extensions inside a rar archive file.
        * 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.
        * Do not add a Message-ID: header when handing a
          message to SpamAssassin if the original message lacks such a
        * 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.
        * 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

Revision 1.31 / (download) - annotate - [select for diffs], Tue Oct 26 10:54:08 2021 UTC (2 years, 1 month ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

mail: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

The following distfiles were unfetchable (possibly fetched

./mail/qmail/distinfo netqmail-1.05-TAI-leapsecs.patch

Revision 1.30 / (download) - annotate - [select for diffs], Thu Oct 7 14:25:27 2021 UTC (2 years, 1 month ago) by nia
Branch: MAIN
Changes since 1.29: +1 -2 lines
Diff to previous 1.29 (colored)

mail: Remove SHA1 hashes for distfiles

Revision 1.29 / (download) - annotate - [select for diffs], Tue Nov 3 23:27:10 2015 UTC (8 years ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4
Changes since 1.28: +2 -1 lines
Diff to previous 1.28 (colored)

Add SHA512 digests for distfiles for mail category

Problems found locating distfiles:
	Package mutt: missing distfile patch-1.5.24.rr.compressed.gz
	Package p5-Email-Valid: missing distfile Email-Valid-1.198.tar.gz
	Package pine: missing distfile fancy.patch.gz
	Package postgrey: missing distfile targrey-0.31-postgrey-1.34.patch
	Package qmail: missing distfile badrcptto.patch
	Package qmail: missing distfile outgoingip.patch
	Package qmail: missing distfile qmail-1.03-realrcptto-2006.12.10.patch
	Package qmail: missing distfile qmail-smtpd-viruscan-1.3.patch
	Package thunderbird24: missing distfile enigmail-1.7.2.tar.gz
	Package thunderbird31: missing distfile enigmail-1.7.2.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.

Revision 1.28 / (download) - annotate - [select for diffs], Sun May 3 21:09:01 2015 UTC (8 years, 6 months ago) by pettai
Branch: MAIN
CVS Tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2
Changes since 1.27: +4 -4 lines
Diff to previous 1.27 (colored)


* Fix bug in logic that coalesces multiparts to single-parts if
  possible; the bug broke DKIM signing.


* Change old author's name to "Dianne Skoll" in many places.


* Get rid of all Perl function prototypes.
  Perl prototypes are badly-implemented and consensus among
  modern Perl 5 programmers is they shouldn't be used.
* Add support for filter_wrapup callback.  This is called at the
  very end and permits header modifications, but not body
  modifications.  Useful for DKIM-signing.
* Fix typo: SOPHOS should have been SAVSCAN
* mimedefang.c: Don't add a MIME-Version header if there is already
* Fix
* Minor clarifications to mimedefang-filter man page.
* Add "All / Summary" button to watch-multiple-mimedefangs.tcl

Revision 1.27 / (download) - annotate - [select for diffs], Mon Jun 2 12:07:26 2014 UTC (9 years, 5 months ago) by pettai
Branch: MAIN
CVS Tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2
Changes since 1.26: +4 -5 lines
Diff to previous 1.26 (colored)

MIMEDefang 2.75

* Many cosmetic improvements to watch-multiple-mimedefangs.tcl
* Fix md_get_bogus_mx_hosts so it checks A records iff a domain has
  no MX records.
* Add a forward declaration of rebuild_entity to avoid warnings on
  recent Perl versions.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Mar 13 22:39:09 2014 UTC (9 years, 8 months ago) by pettai
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1
Changes since 1.25: +2 -1 lines
Diff to previous 1.25 (colored)

fix perl (5.18) "called too early to check prototype" message

Revision 1.25 / (download) - annotate - [select for diffs], Sat Jun 15 17:17:31 2013 UTC (10 years, 5 months ago) by pettai
Branch: MAIN
CVS Tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored)

Here are the most important changes in MIMEDefang 2.74:

* A new action_add_entity function has been added.
* Deprecated defined(@array) construct has been removed.
* New load1 md-mx-ctrl command summarizes load in a more useful format than load
* watch-multiple-mimedefangs.tcl has been overhauled.
* Various other bugfixes and documentation cleanups.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Mar 18 21:11:11 2012 UTC (11 years, 8 months ago) by pettai
Branch: MAIN
CVS Tags: pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1
Changes since 1.23: +4 -4 lines
Diff to previous 1.23 (colored)

Here are the most important changes in MIMEDefang 2.73:

* A new -G option causes files created by mimedefang to
  be group-readable and sockets to be group readable/writable.
* The multiplexor snoops in on communications and saves the
  Sendmail queue-ID for logging purposes. It logs the queue ID when
  logging a slave's STDERR.
* MIMEDefang passes along the client port number, server IP address
  and server port number to all filter functions. This feature was
  sponsored by Scayl.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Jul 27 04:23:53 2011 UTC (12 years, 4 months ago) by pettai
Branch: MAIN
CVS Tags: pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3
Changes since 1.22: +4 -4 lines
Diff to previous 1.22 (colored)

Here are the most important changes in MIMEDefang 2.72:

* In mimedefang.c, truncate overlong responses from the multiplexor. Also sanitize replies so "\r" doesn't get fed to smfi_setmlreply.
* If a slave process replies with a very long reply, have the multiplexor consume (and discard) the excess input so the multiplexor-to-slave protocol does not become de-synchronized.
* When mimedefang becomes a daemon, have it wait for a "go/no-go" message from the child before exiting. This should eliminate race conditions whereby the MTA starts before the milter socket is present.
* Avoid run-time errors from Unix::Syslog on some platforms.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Aug 30 21:55:48 2010 UTC (13 years, 3 months ago) by pettai
Branch: MAIN
CVS Tags: pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored)

MIMEDefang 2.71 fixes the following bugs:

* Restores compatibility with Postfix (which was broken in 2.70).
* Properly fixes signal-handling in child processes. 2.70 included a partial fix,
  but signal-handling would break if you ran md-mx-ctrl reread.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Jul 19 10:58:18 2010 UTC (13 years, 4 months ago) by pettai
Branch: MAIN
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored)

* Fixed a bug in embedded Perl: We have to call
  PERL_SET_CONTEXT after forking or Perl gets confused.
  In particular, setting signal-handling dispositions using
  $SIG{FOO} = sub { ... } breaks.
* Clarify wording of mimedefang-filter man page.
* Remove obsolete code that used to attempt to generate working
  directory names.  Deactivate the no-longer-needed "-M" mimedefang
* Add new "-y" option to mimedefang-multiplexor.  This limits
  the number of concurrent "recipok" commands on a per-domain basis.
* Remove Anomy::HTMLCleaner support.
* use MIME::Parser::Filer's ignore_filename() call instead of
  subclassing to override evil_filename().  Same effect, less code.
* refactor resend_message_one_recipient() to use
  resend_message_specifying_mode() instead of reimplementing it.
* header_timezone() now generates a strictly RFC2822-compliant timezone
  string without needing POSIX::strftime()
* Ensure that decode_mimewords() is called in scalar context.

Revision / (download) - annotate - [select for diffs], Thu Jun 3 08:11:22 2010 UTC (13 years, 5 months ago) by spz
Branch: pkgsrc-2010Q1
Changes since 1.19: +2 -1 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Pullup ticket 3133 - requested by pettai
functionality fix

Revisions pulled up:
- pkgsrc/mail/mimedefang/Makefile	1.43
- pkgsrc/mail/mimedefang/distinfo	1.20

Files added:

   Module Name:    pkgsrc
   Committed By:   pettai
   Date:           Mon May 31 10:08:22 UTC 2010

   Modified Files:
           pkgsrc/mail/mimedefang: Makefile distinfo
   Added Files:
           pkgsrc/mail/mimedefang/patches: patch-ad

   Log Message:
   Fix for PR pkg/43380

   To generate a diff of this commit:
   cvs rdiff -u -r1.42 -r1.43 pkgsrc/mail/mimedefang/Makefile
   cvs rdiff -u -r1.19 -r1.20 pkgsrc/mail/mimedefang/distinfo
   cvs rdiff -u -r0 -r1.1 pkgsrc/mail/mimedefang/patches/patch-ad

Revision 1.20 / (download) - annotate - [select for diffs], Mon May 31 10:08:22 2010 UTC (13 years, 6 months ago) by pettai
Branch: MAIN
CVS Tags: pkgsrc-2010Q2-base, pkgsrc-2010Q2
Changes since 1.19: +2 -1 lines
Diff to previous 1.19 (colored)

Fix for PR pkg/43380

Revision 1.19 / (download) - annotate - [select for diffs], Mon Mar 8 23:46:44 2010 UTC (13 years, 8 months ago) by pettai
Branch: MAIN
CVS Tags: pkgsrc-2010Q1-base
Branch point for: pkgsrc-2010Q1
Changes since 1.18: +4 -4 lines
Diff to previous 1.18 (colored)

Release 2.68 is mostly a bug-fix release; the most important changes are:

* Detect Sys::Syslog vs. Unix::Syslog at run-time
  rather than when running ./configure.
* Bug fix: Don't change Content-Disposition to "inline" by default.
  This was causing weird bugs with Outlook iCalendar attachments.
* Various crash fixes.
* Make relay_is_blacklisted and relay_is_blacklisted_multi handle
  IPv6 addresses.
* Make the C code call smfi_setmlreply if the milter library supports it
  and the Perl code returns a multi-line reply.

(And take over maintainer)

Revision 1.18 / (download) - annotate - [select for diffs], Fri Feb 5 19:53:08 2010 UTC (13 years, 9 months ago) by markd
Branch: MAIN
Changes since 1.17: +5 -6 lines
Diff to previous 1.17 (colored)

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.

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.

This is a minor bugfix release;
* Add support for NOD32 command-line scanner
* Add support for Sophos "savscan" scanner

Revision 1.17 / (download) - annotate - [select for diffs], Wed Aug 15 04:50:40 2007 UTC (16 years, 3 months ago) by markd
Branch: MAIN
CVS Tags: pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2, pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, cwrapper, cube-native-xorg-base, cube-native-xorg
Changes since 1.16: +6 -6 lines
Diff to previous 1.16 (colored)

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/ Added MD_SKIP_BAD_RCPTS init script option
  (suggested by John Nemeth)
* Remove support for OpenAntivirus. It's a dead product.
* Call $mail->finish() to prevent
  temporary files from accumulating.
* redhat/ Add configtest routine to check filter

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.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Mar 14 11:21:33 2007 UTC (16 years, 8 months ago) by markd
Branch: MAIN
CVS Tags: pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1
Changes since 1.15: +6 -6 lines
Diff to previous 1.15 (colored)

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.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Nov 8 09:42:05 2006 UTC (17 years ago) by markd
Branch: MAIN
CVS Tags: pkgsrc-2006Q4-base, pkgsrc-2006Q4
Changes since 1.14: +5 -5 lines
Diff to previous 1.14 (colored)

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.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Mar 13 00:05:14 2006 UTC (17 years, 8 months ago) by markd
Branch: MAIN
CVS Tags: pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2, pkgsrc-2006Q1-base, pkgsrc-2006Q1
Changes since 1.13: +4 -4 lines
Diff to previous 1.13 (colored)

Update to mimedefang 2.56

Changes 2.56:
An off-by-one error in the multiplexor that could restart slaves
unnecessarily was fixed. Compilation errors on some systems were fixed.
A handful of other minor bugs were fixed.

Changes 2.55:
A new option allows you to reserve some slaves for connections from
localhost; this helps clientmqueue runs to succeed on busy servers.
Modern Vexira anti-virus scanners are supported; versions older than
Spring 2005 are no longer supported. A new "filter_helo" callback lets
you take action in response to HELO/EHLO. A new "action_insert_header"
function lets you prepend headers (rather than just appending them).
A new function lets you reject mail from hosts with bogus MX records;
for example, MX records that resolve to private IP networks or the
loopback address.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Dec 10 22:14:14 2005 UTC (17 years, 11 months ago) by markd
Branch: MAIN
CVS Tags: pkgsrc-2005Q4-base, pkgsrc-2005Q4
Changes since 1.12: +6 -6 lines
Diff to previous 1.12 (colored)

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.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Jun 5 22:31:35 2005 UTC (18 years, 5 months ago) by markd
Branch: MAIN
CVS Tags: pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

Update mimedefang to version 2.52

Changes in 2.52
* (item_contains_virus_fprotd): Remove all references
  to $` and $', which can SIGNIFICANTLY slow down Perl regexp matching.
* mimedefang.c(mfconnect): Do not call set_dsn from mfconnect, because
  the Milter API specifies that you can't call smfi_setreply from the
  connect callback.
* Document the fact that filter_relay
  cannot set the text of the SMTP reply code.
* We don't detect and load Perl modules until
  the detect_and_load_perl_modules() function is called.


  You *MUST* call detect_and_load_perl_modules() inside your filter
  before you can rely on the %Features hash being set correctly,
  and before you can rely on SpamAssassin being loaded!!!

Changes in 2.51
Note: There was no public 2.50 release; the 2.50 version was a
private release that was available only with CanIt.

* Added "-q" option to mimedefang.  This permits the multiplexor
  to queue new incoming connections.  It may make higher utilization
  of slaves and improve throughput.

* ESMTP arguments in MAIL FROM: and RCPT TO: are now available
  to the Perl filter.  See the mimedefang-filter(5) man page for

* Documentation fixes: We don't refer to non-multiplexor mode
  any more, because that mode hasn't been available for ages.

* The "tick" facility has been enhanced to permit multiple tick
  types.  At any given instance, only one tick of a given type
  can be active, but ticks of different types can be active at
  the same time.

* Log a warning if a message has more than one Subject: header.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Feb 24 09:59:24 2005 UTC (18 years, 9 months ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2005Q1-base, pkgsrc-2005Q1
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored)

Add RMD160 digests.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Dec 1 11:21:31 2004 UTC (19 years ago) by markd
Branch: MAIN
CVS Tags: pkgsrc-2004Q4-base, pkgsrc-2004Q4
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

Update to mimedefang 2.49

Changes: minor bug fixes.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Nov 10 10:48:33 2004 UTC (19 years ago) by markd
Branch: MAIN
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored)

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.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Jul 18 06:11:14 2004 UTC (19 years, 4 months ago) by markd
Branch: MAIN
CVS Tags: pkgsrc-2004Q3-base, pkgsrc-2004Q3
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

Update mimedefang to version 2.44

Changes in 2.44:
This release features support for two new Sendmail 8.13 features: the
SOCKETMAP map type, and Sendmail's built-in quarantine mechanism. There are
also some minor bugfixes and documentation cleanups, as well as a fix for a
memory leak with the embedded Perl interpreter on some platforms.

Changes in 2.43:
Various Perl functions can request the C code to delay before returning;
this permits tarpitting without tying up a Perl slave. The multiplexor has
an additional option to run a "tick" function on a periodic basis. There
are minor bugfixes and documentation improvements.

Changes in 2.42:
The multiplexor causes closelog() to avoid problems with embedded Perl
slaves. Support for SpamAssassin's upcoming 3.0.0 Perl API was added. A few
other small bugs were fixed.

Changes in 2.41:
This is a bugfix release only. The most important change is to stop the
action_quarantine_entire_message from sending out notifications each time
it is invoked. A few other minor bugs were fixed.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Mar 7 11:18:33 2004 UTC (19 years, 8 months ago) by markd
Branch: MAIN
CVS Tags: pkgsrc-2004Q2-base, pkgsrc-2004Q2, pkgsrc-2004Q1-base, pkgsrc-2004Q1
Changes since 1.6: +4 -3 lines
Diff to previous 1.6 (colored)

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.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jul 10 11:29:06 2003 UTC (20 years, 4 months ago) by markd
Branch: MAIN
CVS Tags: pkgsrc-2003Q4-base, pkgsrc-2003Q4
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

tar file changed without a version bump: slight change to default

Revision 1.5 / (download) - annotate - [select for diffs], Thu Jul 3 11:16:26 2003 UTC (20 years, 5 months ago) by markd
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

Update MIMEDefang to 2.35.

Major changes from 2.33 to 2.34:

* The multiplexor can queue requests, which might help throughput on a very busy
* filter_{relay,sender,recipient} can return "DISCARD" to discard mail.
* Added new filter_unknown_cmd hook so filters can extend the MIMEDefang protocol.
* More fixes to the SpamAssassin interface.
* RAV AntiVirus is no longer supported.
* Non-multiplexor mode is no longer supported.
* Many other minor enhancements and bug fixes.

Major Changes from 2.34 to 2.35

* Bug Fixes

Revision 1.4 / (download) - annotate - [select for diffs], Mon Apr 28 12:47:11 2003 UTC (20 years, 7 months ago) by markd
Branch: MAIN
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored)

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

Revision 1.3 / (download) - annotate - [select for diffs], Tue Mar 11 14:12:49 2003 UTC (20 years, 8 months ago) by markd
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

Update to version 2.30.

        * mimedefang-multiplexor.c: On systems that support wait3 and fill
        in the usage structure, we log the slave's system and user CPU
        usage when it exits.  The autoconf test is not too reliable on
        Solaris; sorry...

        * Create the temporary spool directory before calling filter_relay;
        store it in $CWD for filter_relay, filter_sender, filter_recipient,
        and the other filter functions, so we can pass state around.

        * Officially deprecated non-use of the multiplexor.  I plan
        on dropping support for non-multiplexor operation by 31 July 2003.

        * mimedefang.c: Added -M option to protect work directory
        creation with a mutex.

        * resend_message returns a meaningful value
        (true on success; false on failure.)

        * mimedefang.c (envfrom): Fix potential descriptor leak.  Problem
        noted by Nik Clayton.

        * mimedefang.c (envfrom): Fixed some incorrect syslog messages.
        Problem noted by Nik Clayton.

        * mimedefang-multiplexor.c: Add handling for filter_cleanup, that
        lets you run Perl code just before a slave is killed.  Based on
        a suggestion by Brian Landers.

       * Version 2.29 RELEASED

        * (send_mail): Redirect sendmail's STDOUT to
        STDERR; otherwise, complaints from Sendmail can mess up the
        communication between the multiplexor and the slaves.

       * Add support for Trophie scanning library.
        (Jason Englander)

        * Version 2.28 RELEASED

        * (spam_assassin_mail): Synthesize "Return-Path:"
        and "Received:" headers for SpamAssassin (Nels Lindquist).

       * mimedefang-multiplexor.c (MAX_CMD_LEN): Increased MAX_CMD_LEN
        to 4096 from 512.

        * (recipient_ok): Set global variables in
        filter_relay, filter_sender and filter_recipient based on the
        information available so far in the SMTP transaction. (Anne Bennet)

        * Version 2.26 RELEASED

        * Quarantine notifications no longer sent unless you explicitly
        ask for them.

                      *** INCOMPATIBILITY ***

        * (md_check_against_smtp_server): Added
        md_check_against_smtp_server to check recipient addresses
        before accepting them.

       * Version 2.25 RELEASED

        * Added $RealRelayAddr and $RealRelayHostname
        which give the actual relay host, ignoring the IP address
        validation header.  (Used by CanIt.)

        * Remove append_boilerplate

           *** INCOMPATIBILITY ***

           The append_boilerplate function is gone.  It never really
           worked properly.  Instead, use append_text_boilerplate and

        * (message_contains_virus_clamd): Let clamd
        recurse through work directory.  Make sure you run Clam AntiVirus
        version 0.52 or higher! (Jason Englander)

        * watch-mimedefang: Now generated at configure time from  Let's us specify @SPOOLDIR@
        (Jason Englander)

Revision 1.2 / (download) - annotate - [select for diffs], Wed Oct 30 09:50:24 2002 UTC (21 years, 1 month ago) by markd
Branch: MAIN
CVS Tags: netbsd-1-6-1-base, netbsd-1-6-1
Changes since 1.1: +4 -5 lines
Diff to previous 1.1 (colored)

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.

Revision / (download) - annotate - [select for diffs] (vendor branch), Mon Sep 23 13:08:52 2002 UTC (21 years, 2 months ago) by markd
Branch: TNF
CVS Tags: pkgsrc-base
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

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

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

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

Revision 1.1 / (download) - annotate - [select for diffs], Mon Sep 23 13:08:52 2002 UTC (21 years, 2 months ago) by markd
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>