blob: 9a92e7a62529adb6391546d663aeaa76358af03f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
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%%
|