f5044e5025
outgoing e-mails from a qmail server. It works by means of qmail-queue wrapping. It has a control file which allows selective auditing of sender or recipient, as well as whom the messages should be forwarded to. This control file allows regular expressions, what increases its flexibility of use. WWW: http://qmail-auditor.sourceforge.net/ PR: ports/108942 Submitted by: Patrick Tracanelli <eksffa at freebsdbrasil.com.br>
28 lines
1,022 B
Text
28 lines
1,022 B
Text
You have just installed %%PREFIX%%/bin/qmail-auditor
|
|
which can be enabled by wrapping qmail-queue and naming the original qmail-queue
|
|
as qmail-queue-real, for example:
|
|
|
|
mv %%QMAIL_PREFIX%%/bin/qmail-queue %%QMAIL_PREFIX%%/bin/qmail-queue-real-auditor
|
|
ln -s %%PREFIX%%/bin/qmail-auditor %%QMAIL_PREFIX%%/bin/qmail-queue
|
|
|
|
Now you can configure qmail-auditor, its control file is
|
|
|
|
%%QMAIL_PREFIX%%/control/auditor
|
|
|
|
This file's format must be in the form:
|
|
|
|
<field header> <regular expression> <e-mail to forward>
|
|
|
|
Where
|
|
<field header> = from|to|all
|
|
<regular expression> = sender or recipient e-mail address (according
|
|
to <field header>), re_format(7) compatible
|
|
<e-mail to forward> = whom qmail-auditor will copy audited messages to
|
|
|
|
You can have multiple rules (one per line). Working example of control file:
|
|
|
|
from *@some.domain.br auditing@mycompany.com
|
|
to user@some.domain.br auditing@mycompany.com
|
|
all sales@domain.br salesauditing@mycompany.com
|
|
|
|
The README file was installed on %%DOCSDIR%%
|