Michael Segel:
> Hi, 
> 
> I am curious about being able to send email to both Dovecot for
> the end user?s mail box and then also on to a stream where one can
> do some analytics?  Or chain the streams so that you can do analytics
> on both in-bound and out-bound  and then deliver it?
>
> I know that it can be done (theoretically) but I?m not a guru on
> Postfix so I?m at a loss as to where to begin doing research.

You can add a recipient with any of the following:

    sender_bcc_maps
    recipient_bcc_maps
    virtual_alias_maps
    always_bcc

(perhaps using a pcre map for the maps-based mechanisms).

And using smtpd_proxy_filter with a null filter that acts as a 'Y'
splitter (Viktor has used that to implement an archival service).

        Wietse

Reply via email to