Information about starting and operating an ISP or corporate Intranet using Linux servers.

Mail Scanners

This section covers virus and spam filtering on an e-mail server.

USE flags

Set the following USE flags (using ufed or by editing /etc/make.conf):

  • clamav
  • clamdtop
  • spamassassin

MailScanner wrapper

To facilitate spam and virus scanning all from one place, you can install the MailScanner Perl software.

Before doing so you will need to unmask it, as it is tagged “experimental” yet by the Gentoo project.

vi /etc/portage/package.keywords

Insert the following two lines:

mail-filter/MailScanner ~amd64
net-mail/tnef ~amd64

Now install MailScanner:

emerge -vau MailScanner

This should pull in clamav and spamassassin, provided you have the USE flags set for these.

Virus Scanning

If you choose not to install MailScanner, or you did not have the clamav USE flag set when you did, then install clamav:

emerge -vau clamav

Spam Scanning

If you choose not to install MailScanner or you did not have the spamassassin USE flag set when you did, then install it like so:

emerge -vau spamassassin
Navigation
Print/export
Toolbox