A frontend postfix install I've in place is being subject to a literal tear-down+relocate of its various backends (relays to other postfix & imap instances).

The building's being torn down, and the occupant's relocating.  Not the best 
managed process, but oh well.

It's a one-time event; not something I want/need to replicate in the future.

The frontend itself will stay up, and in-service; it's on an offsite VM.

For that^ period, I'd like to 'simply' redirect any/all mail received by the 
frontend to a few mail addresses hosted at a mail provider.

Specifically,

        if TO: us...@example1.com, redirect-to: otherus...@backup.com
        if TO: us...@example2.com, redirect-to: otherus...@backup.com
        if TO: *@example*.com,     redirect-to: catchallu...@backup.com

, ideally 'touching' as little as possible of my existing config; the goal 
being to make minor change, then reverse it soon-enough.  I don't want the 
bother of spinning up a separate set of backends for this event.

I suspect a map is appropriate (transport?), likely added to master.cf ...

The operating goal is to make all received email accessible/retrievable for the 
'down' period.

It doesn't have to be 'pretty', but I would like to avoid shooting myself in 
the foot.

Advice/recommendations as to how best to do this -- or what to avoid! -- would 
be appreciated.

Reply via email to