postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: Deliver mail to multiple queues

Re: Deliver mail to multiple queues

From: Wietse Venema <wietse_at_nospam>
Date: Thu Oct 07 2010 - 21:22:14 GMT
To: Postfix users <postfix-users@postfix.org>

Victor Duchovni:
> On Thu, Oct 07, 2010 at 09:09:49PM +0000, Joseph L. Casale wrote:
>
> > >2) If you do ***QUEUE*** the mail on the gateway, then all you need
> > >to do is turn on the flow to the mailbox server when you're done,
> > >and Postfix will deliver it to the mailbox server.
> >
> > hence why I wanted to duplicate the delivery queue (or whatever queue
> > would be involved) and redirect a *copy* into a new queue that holds/defers.
> >
> > When I am done, I can suspend incoming mail temporarily at the firewall,
> > drop the mb server, then reconfigure the queues and deliver.
> >
> > I would simply defer all weekend as I have done for years, but this time
> > around my need came too quick to implement more orthodox methods
> > and I need to interact with several recipients mail in the meantime.
>
> If you need to read mail for several mailboxes during the down-time, bcc
> a copy of the mail for just those recipients to an alternate location,
> which will not be down. All other mail can queue for the usual destination
> to be back up.

/etc/postfix/main.cf:
   sender_bcc_maps = hash:/etc/postfix/sender_bcc

/etc/postfix/sender_bcc:
   you@some.example.com you@other.example.com

This will keep your mail flowing to the alternate site even
when the mailbox server is down.

        Wietse