qmail provides the ability to make a copy of each email that flows through the system. This is done using the QUEUE_EXTRA code. See FAQ #8.2
New Release version 1.1 Mon Jun 6 13:18:04 CDT 2005
This version allows for setting a different email address for
each line in the taps control file.
The new
syntax is "email address to tap":"Address to send the copy to".
For example:
.*@domain.com:archive@example.com
user@otherdomain.com:admin@example.com
The regex match is applied to both the to and from email addresses. So email sent to or from the addresses will be copied.
This code was written to satisfy the regulatory requirements of United States Financial Institutions who need to keep archives of email.
The patch also satisfies requirements for German E-Mail Service providers by the new (Jan 05) German TR-Internet (TKÜV §11). Futher documents in German language can be found here
A Swiss Email Administrator reports that the patch also satisfies Swiss requirements.
control/taps Contains a regex style list of addresses to tap and the email address to send the copy to, separated by a colon.
Note: This patch includes the qregex files needed by qmail-queue for regex matches.
Download the patch.
Installation Instructions.
README.
Mailing List
Discussions on this topic can be sent to the vpopmail or simscan mailing lists.