OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Question about a mail gateway

From: Magnus Bäck (magnusdsek.lth.se)
Date: Fri Oct 05 2007 - 14:27:20 CDT


On Friday, October 05, 2007 at 20:53 CEST,
     Doug Lochart <dlochartgmail.com> wrote:

[...]

> So my question is, if a mail server that postfix is relaying to is down what
> will happen to the mail that the postfix instance receives?

Postfix will attempt to deliver the messages to any higher-priority MX
until the messages expire or have been successfully delivered.

> Does it go in the deferred queue?

Yes.

> If so what are the retention/retry times?

Message lifetime:

   http://www.postfix.org/postconf.5.html#maximal_queue_lifetime
   http://www.postfix.org/postconf.5.html#bounce_queue_lifetime

Frequency for retries:

   http://www.postfix.org/postconf.5.html#maximal_backoff_time
   http://www.postfix.org/postconf.5.html#minimal_backoff_time
   http://www.postfix.org/postconf.5.html#queue_run_delay

> Lastly would there be any other configuration that I would need
> to do in order for Postfix to act the way I would like it to?

No, provided that the target domain is listed in relay_domains.
Also make sure to set up proper recipient validation via
relay_recipient_maps..

--
Magnus Bäck
magnusdsek.lth.se