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
- 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
| System | Port | Version |
|---|---|---|
| NetBSD | mail/mimedefang | 3.4.1nb4 |
| FreeBSD | mail/mimedefang | 2.86_1 |
| OpenBSD | mail/mimedefang | 3.7.1 |
| DragonFly | mail/mimedefang | 2.86_1 |
| HardenedBSD | mail/mimedefang | 2.86_1 |
| GhostBSD | mail/mimedefang | 2.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.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 3.4.1nb4 |
| NetBSD 10.1 aarch64 | 3.4.1nb3 |
| SmartOS / illumos x86_64 | - |
| macOS 15 arm64 | - |
Dependencies
Run dependencies 8
No port depends on this one.