Re: legal intercept to file.
- Brent Clark:
> HiyaUse recipient_bcc_maps (or sender_bcc_maps).
> I got this requirement from my client to keep a copy of ALL emails that gets sent and received (legal intercept). Im thinking this can be done at SMTP time.
> My question is, would anyone know how and where, at SMTP time, not using 'always_bcc', store the email to file.
recipient_bcc_maps = hash:/etc/postfix/recipient_bcc
# You need to "postmap" this file after editing it.
# You need to run "newaliases" after editing this file.
Note the trailing /.
This delivers each message as a maildir file, and thus avoids errors
that would happen when you deliver to one large file that grows
Make "/var/logger" a directory that is owned by nobody (or whatever
the value of "default_privs" is with your Postfix).