Source: http://archives.neohapsis.com/archives/postfix/2007-02/0401.html
Not Tested. Postfix
Re: Saving all incoming/outgoing emails to a separate mail server.
From: Victor Duchovni (Victor.DuchovniMorganStanley.com)
Date: Wed Feb 07 2007 - 15:02:51 CST
* Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, Feb 07, 2007 at 09:48:29PM +0100, mouss wrote:
> recipient_bcc_maps = pcre:/etc/postfix/recipient_bcc
>
> # cat recipient_bcc
> /(.)(.*)/ $1=$2
> bcc.example.com
Almost right, better:
/(.*)(.*)/ $1=$2bcc.invalid
(and use access(5) tables to reject direct mail to subdomains of ".invalid")
> then use transport_maps or whatever to handle mail for *bcc.example.com.
bcc.invalid some-transport
> PS. if mail is sent to multiple recipients, you will have multiple
> copies. This should be ok as there is no simple way to avoid duplication
> without losing the recipient address.
No, this is not accurate, there will a single message with multiple bcc
addresses in the envelope.
--
Viktor.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment