Scam-archiver

Overview

Scam-Archiver copies all mail going through your mail server to a mailbox.
This feature is useful for archiving email.

NOTICE

Scam-archiver should only be used if its features is in full compliance with
local laws and regulations regarding electronic communication and email.

Installation

Please read the INSTALL and README files for more information.

Prerequisites

You should have sendmail version 8.12.x or higher installed. Sendmail should
have been built with MILTER support enabled.

You should have the milter library and development kit installed

Build

1. Extract the scam-archiver tarball

2. Change the current directory to the one where the scam-archiver source code
was extracted.

3. If you are using FreeBSD, OpenBSD or NetBSD, rename the Makefile.bsd file
to Makefile

If you are using a Linux distribution, rename the Makefile.linux file to Makefile

4. Type make and press Enter to compile scam-archiver

Install

1. Copy the scam-archiver file created above to the appropriate location
(/usr/local/sbin for example)

2. Generate a new sendmail configuration (sendmail.cf) with the following
additional settings:

INPUT_MAIL_FILTER(`scam-archiver', `S=unix:/var/spool/scam/scam-archiver.sock, F=T, T=S:240s;R:240s;E:5m')dnl

3. Create a user (scamarchiver for example) which will be used to run the milter

4. Create the /var/spool/scam directory

5. Verify that the user created in step 3 has read-write access to the
/var/spool/scam directory

Using Scam-archiver

Startup

1. Start scam-archiver milter as a daemon

scam-archiver -p unix:/var/spool/scam/scam-archiver.sock -u scamarchiver -D

4. Restart sendmail if you have generated a new sendmail configuration when
installing scam-archiver

Shutdown

Type the following command to stop scam-archiver

kill -USR1 `cat /var/spool/scam/scam-archiver.pid`

Configuration

The configuration file used is /etc/mail/scam.conf.

The following entry defines the email address where all mail is archived.

ArchiverAddr=scam@example.com

License

Copyright © 2006-2009 Eland Systems All Rights Reserved.

  1. Redistribution and use in source and binary forms must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. All advertising materials mentioning features or use of this software
    must display the following acknowledgement:
    This product includes software developed by Eland Systems
  4. The name of Eland Systems may not be used to endorse or promote products
    derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Download

The download is provided free of charge subject to our license agreement.

Scam-archiver source code version 1.0 (5 KB)

MD5 1b411c6aa5475f8db9f98c684610627c

README

CHANGES

Contact

Please send your comments and bug reports to scam+archiver@elandsys.com.