Commit graph

13 commits

Author SHA1 Message Date
markd
6b3388898c Delete DEINSTALL line that was accidentally added.
Should fix PR pkg/22663
2003-09-02 12:39:12 +00:00
jlam
b2677a2cb0 Add definitions for DEINSTALL_EXTRA_TMPL and INSTALL_EXTRA_TMPL if
USE_PKGINSTALL is "YES".  bsd.pkg.install.mk will no longer automatically
pick up a INSTALL/DEINSTALL script in the package directory and assume that
you want it for the corresponding *_EXTRA_TMPL variable.
2003-08-30 22:51:11 +00:00
jlam
2920a32c71 Prepare for pkgviews by making sure that passing VIEW-INSTALL or
VIEW-DEINSTALL to the INSTALL/DEINSTALL scripts don't cause errors.
2003-08-30 20:22:49 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
markd
6e5dfb8ade tar file changed without a version bump: slight change to default
mimedefang-filter.
2003-07-10 11:29:06 +00:00
markd
6d132ba746 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
  server.
* 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
2003-07-03 11:16:26 +00:00
wiz
7166660e08 Dependency bumps, needed because of devel/pth's major bump, and related
dependency bumps.
2003-05-02 11:53:34 +00:00
markd
ccd5332f77 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
2003-04-28 12:47:11 +00:00
markd
3d646d6059 Update to version 2.30.
Changes:
        * 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.

        * mimedefang.pl.in: 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

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

       * mimedefang.pl.in: Add support for Trophie scanning library.
        (Jason Englander)

        * Version 2.28 RELEASED

        * mimedefang.pl.in (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.

        * mimedefang.pl.in (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 ***

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

       * Version 2.25 RELEASED

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

        *mimedefang.pl.in: Remove append_boilerplate

           *** INCOMPATIBILITY ***

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

        * mimedefang.pl.in (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
        watch-mimedefang.in.  Let's us specify @SPOOLDIR@
        (Jason Englander)
2003-03-11 14:12:49 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
markd
acf1329bd4 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.
2002-10-30 09:50:24 +00:00
wiz
479f0218bf Dewey-wildcard for p5-MIME-tools. 2002-09-26 02:03:40 +00:00
markd
5be76ed084 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.)
2002-09-23 13:08:52 +00:00