BSD Ports

mail/mailscanner 5.3.4.3_2 DragonFly

Powerful virus/spam scanning framework for mail gateways

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv2
Categories
mail
Package size
461.5 KiB, 2555.7 KiB installed

Description

MailScanner is a complete e-mail security system designed for use on e-mail gateways. It protects against viruses, and detects attacks against e-mail client packages (such as Outlook, Outlook Express, Eudora). It can also detect almost all unsolicited commercial e-mail (spam) passing through it and respond to all incidents in a wide variety of ways.

Not only can it scan for known viruses, but it can also protect against unknown viruses hidden inside e-mail attachments by refusing entry to attachments whose filenames match any given pattern. This can include generic patterns that trap filenames attempting to hide the true filename extension (e.g. ".txt.vbs").

It is superior to many commercial packages in its ability to handle attacks against itself, such as Denial Of Service attacks caused by messages containing the "Zip of Death". It is easy to install into an existing e-mail gateway, requiring very little knowledge of sendmail and no change to an existing sendmail configuration.

MailScanner itself is entirely open source, but it uses widely known commercial virus scanning packages at its core. The other software it uses is all high quality open source software, leading to a system that can be trusted for performance and reliability.

In the other systems

SystemPortVersion
DragonFlymail/mailscanner5.3.4.3_2
FreeBSDmail/mailscanner5.3.4.3_2
OpenBSDmail/mailscanner4.85.2.1p2

Install

Binary package:

pkg install MailScanner

From DPorts:

cd /usr/dports/mail/mailscanner && make install clean

Dependencies

Run dependencies 45

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

See /usr/local/share/doc/MailScanner/README.FreeBSD.port,
	http://www.mailscanner.info, the man pages MailScanner and
	MailScanner.conf for further instructions.

	You will need to make several modifications to config files
	before MailScanner will work correctly.

	The provided default configuration requires several directories
	to be created:

		/var/spool/MailScanner/incoming
		/var/spool/MailScanner/incoming/Locks
		/var/spool/MailScanner/quarantine
		/var/spool/mqueue
		/var/spool/mqueue.in

	Either create those directories or change the configuration.


	A new optional rc variable called mailscanner_user has been added
	to the startup script. This is a temporary workaround to address
	any possible taint mode problems that may still be present in the
	code.

	Taint mode related problems can usually be identified from
	undeliverable reports containing the following error:

	"MailScanner: Message attempted to kill MailScanner"

	If you changed the "Run As User" variable in MailScanner.conf
	and wish to disable taint mode, you MUST also set the same value
	in /etc/rc.conf.

	i.e. mailscanner_user="postfix"

	To re-enable taint mode, simply remove the variable from rc.conf.

	The new variable uses su to start the master perl script as the
	specified user, this effectively disables perl's taint mode.