Re: [exim] Delivery to down smtp server.

Top Page
Delete this message
Reply to this message
Author: Tony Finch
Date:  
To: Wakko Warner
CC: exim-users
Subject: Re: [exim] Delivery to down smtp server.
On Sat, 13 May 2006, Wakko Warner wrote:
>
> Here's what I'm wanting:
> Client queues a message when cron job finishes.
> Client connects to server via SMTP.
> Is SMTP available?
> Yes: deliver via smtp
> No: deliver to a file (which will be NFS, it is mbox, but I'm not concerned
> about locking)
> Job is complete.


Deliver the message by smtp if $message_age is small, and to the
NFS-mounted mailbox otherwise. Locking shouldn't be a problem because
Exim's mailbox locking is designed to be NFS-safe. (Cambridge's Central
Unix Service uses Exim and has mailboxes on NFS.) You should check that
the retry data doesn't cause problems.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}