Have your application exit with error 111 if the db server is down, qmail
will try the delivery again later.
On Thu, 28 Jan 1999, Michael Amster wrote:
> Date: Thu, 28 Jan 1999 10:58:27 -0800
> From: Michael Amster <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Delivered-To: [EMAIL PROTECTED]
> Delivered-To: mailing list [EMAIL PROTECTED]
> Cc: Fred Leeflang <[EMAIL PROTECTED]>
> Subject: Best way to defer mail from an application
>
> Hi:
>
> We are writing an application which takes mail and uses a database to do
> some operations before delivery. If the database server is down (it
> happens), we'd like to defer the mail rather than build a temporary
> queue. What's the best way to defer an incoming mail without causing
> bounces? Is it safest to just take down the mail server until the
> database is brought back up?
>
> Thanks,
>
> -MA
>
> --
> ~-~-~-~-~-~-~-~-~-~-~-~-~-~-WEBEASY-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
> Michael Amster [EMAIL PROTECTED]
> 4676 Admiralty Way, Suite 300 Tel: 310.576.0770
> Marina Del Rey, CA 90292 Fax: 310.576.2011
>
>
>