On 3/31/2010 7:41 PM, Vernon A. Fort wrote:
I have a setup where the local deliver using cyrus-imapd is located on
an encrypted volume. When the server is rebooted, we will manually mount
the volume and start the cyrus application. However, until we start
cyrus, how can i configure postfix to accept email but defer or hold the
local deliver indefinitely?
we do have the maximal_queue_lifetime set to 1 day. I have set the
defer_transports = local, soft_bounce = yes but when i setup the
maximal_queue_lifetime to say 30 seconds, the message does get bounced
back. Any suggestions?
Vernon
Why in the world would you set maximal_queue_lifetime to
30s??? Please point the gun away from your foot.
The proper way to configure postfix to defer mail when cyrus
is not available is to ... do nothing. Let the connections to
cyrus fail and allow postfix to retry as it normally does.
Is there some reason normal postfix scheduling and defer/retry
won't work for you? Then describe the original problem and
maybe a better solution can be found.
-- Noel Jones