Bgs himself <[EMAIL PROTECTED]> wrote:
> On Tue, 11 Sep 2001, Charles Cazabon wrote:
> > >
> > > Theres is a LAN with the users mailing. There is a server with
> > > qmail. Finally there is a special PC/user whose work is to file every
> > > outgoing mail. This means no mail can go outside directly. The outgoing
> > > policy would be:
> > [snip]
> >
> > You can trivially record a copy of every incoming _and_ outgoing message
> > with qmail. It's in djb's FAQ.
>
> The incoming bit is surely trivial. But I think you misunderstood the
> outgoing bit. The aim is not to 'have a copy of everything' ...
Sure it is.
> Let me show and example.
>
> A user sends an official contract to another company. [EMAIL PROTECTED]
> sends an e-mail to [EMAIL PROTECTED] (Appropriate From: and
> To: fields).
>
> The mail server seeing the the mail comes from inside and not from the
> registrator, puts the outgoing mail into the local mailbox for user
> registrator.
>
> User registrator downloads the mail and files it as 'compamy' does with
> every mail be it e or snail. Doing this sends out the mail with the
> appropriate file/registration code to [EMAIL PROTECTED] with the
> From: field containing the original [EMAIL PROTECTED]
You've just said user foo gets a copy of every message, and it is then
unconditionally sent out. Or does this user censor, edit, or moderate
outgoing mail as well? If the latter, this is a completely different
situation.
Use djb's QUEUE_EXTRA to file a copy of every mail to a Maildir. User
"registrator" has access to this Maildir and can do what he wants with
the messages. If you only want to do this with outgoing mail, you put a
simple filter on the Maildir.
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
-----------------------------------------------------------------------