Re: Email retention

(no email)
Date: Tue May 07 2002 - 05:10:44 EDT


On Tue, 7 May 2002, Craig Sanders wrote:

> On Tue, May 07, 2002 at 12:00:20AM -0700, David Wright wrote:
> > If I wanted to use Postfix and had to implement such a rule, how would
> > I do it? I would want a copy of every unique mail that smtpd touched
> > to be sent to a mailstore (via lmtp would be nice).
>
> always_bcc =
>

This does not preserve envelope recipients. A content_filter that
generates an encapsulated message/rfc822 with the original envelope
recipients in the (new) outermost header would preserve the necessary
information.

        MAIL FROM:
        RCPT TO:
        DATA
        From: <>
        To: <>
        To: <>
                ...
        To: <>
        Subject: (Original Subject)
        Date: Time received
        MIME-Version: 1.0
        Content-Type: message/rfc822

        (Original Message after exactly one blank line)
                ...
        .
        QUIT

The archived message is transmitted first, if it is rejected, the original
mail is rejected with a 4XX code, otherwise the original mail is
transmitted to the next hop. This can double-archive messages but never
loses them (always gets them to the archive relay, what happens there is
out of scope).

-- 
	Viktor.
-
To unsubscribe, send mail to  with content
(not subject): unsubscribe postfix-users







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD