BSD Ports

mail/mimedefang 2.86_1 FreeBSD

Milter based anti-spam and anti-virus filtering program

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
GPLv2
Categories
mail
Package size
194.1 KiB, 613.4 KiB installed

Description

MIMEDefang is a program for inspecting and modifying e-mail messages as they pass through your mail relay. MIMEDefang is written in Perl, and its filter actions are expressed in Perl, so it's highly flexible. Here are some things that you can do very easily with MIMEDefang:

Delete or alter attachments based on file name, contents, results of a
virus scan, attachment size, etc.

Replace large attachments with links to a centrally-stored copy to ease
the burden on POP3 users with slow modem links.

Add boilerplate text to e-mail messages.

Customize filter rules based on domain, user-name, relay machine, etc.

Reject unacceptable messages, where you define what "unacceptable" means.

Add or delete recipients for a message.

In the other systems

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

Install

Binary package:

pkg install mimedefang

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	mimedefang>0:mail/mimedefang

Packages

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

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.86_12.86_1-2.86_12.86_1
FreeBSD:14:quarterly2.86_12.86_1n/a2.86_12.86_1
FreeBSD:15:latest2.86_12.86_1n/a2.86_12.86_1
FreeBSD:15:quarterly2.86_12.86_1n/an/an/a
FreeBSD:16:latest2.86_12.86_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 5

Runtime 5

The full lists below include those, and their dependencies in turn.

Build dependencies 82
Run dependencies 82

No port depends on this one.

Configuration

Options name: mail_mimedefang

OptionDefaultDescription
CLAMAVonEnable Clamav
DOCSoffBuild and/or install documentation
EXAMPLESoffBuild and/or install examples
USES
cpe perl5 shebangfix
Service scripts
none

Message after installing

To finish installation please follow these steps:

1. Edit /usr/local/etc/mimedefang/mimedefang-filter

2. Reconfigure sendmail to use MIMEDefang, for example add this lines to
   your sendmail.mc:

   MAIL_FILTER(`mimedefang', `S=local:/var/spool/MIMEDefang/mimedefang.sock, F=T, T=C:15m;S:4m;R:4m;E:10m')dnl
   define(`confINPUT_MAIL_FILTERS', `mimedefang')dnl

   rebuild sendmail.cf and install it.

Also, you can install some anti-virus software to check your mail, for example:

   security/clamav
      Open source AV package with automatic virus definition updates
   security/f-prot
      F-Prot Antivirus for BSD Workstations

Files

Manual pages 10
  • md-mx-ctrl(8)
  • mimedefang(8)
  • mimedefang-filter(5)
  • mimedefang-multiplexor(8)
  • mimedefang-notify(7)
  • mimedefang-protocol(7)
  • mimedefang-util(1)
  • mimedefang.pl(8)
  • watch-mimedefang(8)
  • watch-multiple-mimedefangs(8)
pkg-plist 31
  • bin/md-mx-ctrl
  • bin/mimedefang
  • bin/mimedefang-multiplexor
  • bin/mimedefang-util
  • bin/mimedefang.pl
  • bin/watch-mimedefang
  • bin/watch-multiple-mimedefangs.tcl
  • etc/rc.d/mimedefang
  • share/man/man1/mimedefang-util.1.gz
  • share/man/man5/mimedefang-filter.5.gz
  • share/man/man7/mimedefang-notify.7.gz
  • share/man/man7/mimedefang-protocol.7.gz
  • share/man/man8/md-mx-ctrl.8.gz
  • share/man/man8/mimedefang-multiplexor.8.gz
  • share/man/man8/mimedefang.8.gz
  • share/man/man8/mimedefang.pl.8.gz
  • share/man/man8/watch-mimedefang.8.gz
  • share/man/man8/watch-multiple-mimedefangs.8.gz
  • @sample etc/mimedefang/mimedefang-filter.sample
  • @sample etc/mimedefang/mimedefang-ip-key.sample
  • @sample etc/mimedefang/sa-mimedefang.cf.sample
  • share/doc/mimedefang/README.md
  • share/doc/mimedefang/README.NONROOT
  • share/doc/mimedefang/README.SECURITY
  • share/doc/mimedefang/README.SOPHIE
  • share/doc/mimedefang/README.SPAMASSASSIN
  • share/examples/mimedefang/README
  • share/examples/mimedefang/stream-by-domain-filter
  • share/examples/mimedefang/suggested-minimum-filter-for-windows-clients
  • @dir(,,700)
  • @dir(,,710)
distinfo 1
FileSizeSHA256
mimedefang-2.86.tar.gz5014848ee9a0397cbea447ed252dee128baa47a3d6b3b2a9620931f9c5cecca0321a23
Master sites 1
  • https://mimedefang.org/releases/

Commit history 0

No commits in the history this site was built from.