BSD Ports

mail/mimedefang 3.4.1nb4 NetBSD

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

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
96057b99c8
License
gnu-gpl-v2
Categories
mail
Package size
191.7 KiB, 806.8 KiB installed

Description

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

In the other systems

SystemPortVersion
NetBSDmail/mimedefang3.4.1nb4
FreeBSDmail/mimedefang2.86_1
OpenBSDmail/mimedefang3.7.1
DragonFlymail/mimedefang2.86_1
HardenedBSDmail/mimedefang2.86_1
GhostBSDmail/mimedefang2.86_1

Install

Binary package:

pkgin install mimedefang

From pkgsrc:

cd /usr/pkgsrc/mail/mimedefang && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_643.4.1nb4
NetBSD 10.1 aarch643.4.1nb3
SmartOS / illumos x86_64-
macOS 15 arm64-

Dependencies

Run dependencies 8

No port depends on this one.

Commit history 3

DateCommitCreditsLog message
96057b99c8 jnemeth Update to MIMEDefang 3.7.1: - upstream changed the name of the DISTFILE, this should be fixed better - appease pkglint somewhat
Changelog New features and fixes of MIMEDefang versions. MIMEDefang 3.7.1 2026-07-14 * add autoscaling support to activate or deactivate workers when needed * add Mail::MIMEDefang::Async module to run multiple tasks in parallel * add Mail::MIMEDefang::BIMI module with BIMI support * add Mail::MIMEDefang::TLSPolicy module for MTA-STS and DANE/TLSA policy checks * add support for ClamAV scan using TCP/IP on localhost * improve md_graphdefang_log with new per_message parameter * add md_graphdefang_log_array for logging arbitrary numbers of values * add -A flag to mimedefang-multiplexor for worker scheduling logging * add -k flag to mimedefang-multiplexor for adaptive autoscaling …
e282cfb26b wiz *: add LDFLAGS overide that was previously in mk
This is a workaround and should be fixed properly per-package - they should use the pkgsrc LDFLAGS, but this restores what happened before the mk/ cleanup. Fixes relro build for packages that do not honor LDFLAGS. Package list provided by mef@, thanks! Workaround commit requested by bsiegert on tech-pkg.
618415630a wiz *: recursive bump for perl5 5.44.0