OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
RE: Backing up indefinitely or for set time

From: Brendan Grossman (brendangrossman.id.au)
Date: Wed Mar 01 2006 - 05:15:03 CST


> > I've been told (not sure with postfix) that backup MXs can be
> > configured to hold mail indefinitely or for a certain time period.
>
> They can do whatever you want. However indefinitely would be
> a bad idea, as people would never know if mail wasn't delivered.

It may be justifiable in my case. I have a postfix gateway that relays mail
for internal UNIX clients. When the clients are shutdown at night or for
even days (could even be weeks, if the user goes on on holidays etc), I'd
like my gateway to hold their mail.

Instead of local delivery, I could give them accounts and allow POP access
or something on the gateway, but if each client has an MTA, they may as well
use it?

To make matters worse, the internet connection for this network has a
dynamic IP, so when the IP changes, I need to ensure mail doesn't bounce. I
do have a script that updates DNS, but even though it's reasonably reliable,
I'd still like a fallback solution.

> > Is this possible with postfix?
>
> Yes

How so? I can't find any info.

> > As a matter of fact I'm not quite clear on how backup MXs
> work. If the
> > above is correct, and the primary MX doesn't come back in x
> number of
> > hours, will mail be bounced?
>
> Yes.
>
> If you aren't clear how backup MX work, I'd strongly suggest
> not having one.

I'd like to become "clear", so that I can :) Unless you can think of other
ways to ensure mail doesn't bounce for said configuration.