aboutsummaryrefslogtreecommitdiff
path: root/mail/qmail-auditor/files/pkg-message.in
diff options
context:
space:
mode:
Diffstat (limited to 'mail/qmail-auditor/files/pkg-message.in')
-rw-r--r--mail/qmail-auditor/files/pkg-message.in28
1 files changed, 28 insertions, 0 deletions
diff --git a/mail/qmail-auditor/files/pkg-message.in b/mail/qmail-auditor/files/pkg-message.in
new file mode 100644
index 000000000000..9a92e7a62529
--- /dev/null
+++ b/mail/qmail-auditor/files/pkg-message.in
@@ -0,0 +1,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%%