./mail/mimedefang, To inspect/modify e-mail as it passes through your mail relay

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.4.1nb1, Package name: mimedefang-3.4.1nb1, Maintainer: pettai

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.)


Required to run:
[www/p5-HTML-Tagset] [www/p5-HTML-Parser] [lang/perl5] [security/p5-Digest-SHA1] [mail/p5-MIME-tools] [mail/spamassassin] [mail/p5-MailTools] [devel/p5-IO-stringy]

Required to build:
[mail/libmilter]

Master sites:

Filesize: 489.792 KB

Version history: (Expand)


CVS history: (Expand)


   2023-07-06 11:43:03 by Thomas Klausner | Files touched by this commit (2483)
Log message:
*: recursive bump for perl 5.38
   2023-06-17 03:33:43 by Mark Davies | Files touched by this commit (4) | Package updated
Log message:
mimedefang: update to 3.4.1

3.4.1
* Packaging fixes

3.4
* add a mimedefang-release(8) program to release a message from quarantine
  directory
* add email_is_blacklisted to check an email address against an "hashbl"
  rbl server
* UTF-8 support improvements
* Authentication-Results header improvements
   2023-03-03 12:19:19 by Manuel Bouyer | Files touched by this commit (4)
Log message:
Replace fix for issue #74 with official fix from upstream (commit a6470d7).
Bump PKGREVISION
   2023-02-28 21:23:13 by Manuel Bouyer | Files touched by this commit (3)
Log message:
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/patch-modules_lib_Mail_MIMEDefang_MIME.pm for details.
Bump PKGREVISION
   2023-02-28 12:33:03 by Manuel Bouyer | Files touched by this commit (10)
Log message:
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/
   2022-06-28 13:38:00 by Thomas Klausner | Files touched by this commit (3952)
Log message:
*: recursive bump for perl 5.36
   2021-10-26 12:54:34 by Nia Alarie | Files touched by this commit (356)
Log message:
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
conditionally?):

./mail/qmail/distinfo netqmail-1.05-TAI-leapsecs.patch
   2021-10-07 16:25:52 by Nia Alarie | Files touched by this commit (357)
Log message:
mail: Remove SHA1 hashes for distfiles