Re: [exim] Small feature request - fallback_hosts

Top Page
Delete this message
Reply to this message
Author: Exim Mailing List
Date:  
To: exim-users
Subject: Re: [exim] Small feature request - fallback_hosts
On Mon, Aug 13, 2007 at 09:57:55AM -0700, Marc Perkel wrote:
> >>>> What I thought might be a good way to do this is that if you specify a
> >>>> fallback_host = 0.0.0.0 it tells the system to discard if delivery
> >>>> fails. Of course if there's a better way that would be great.
> >>>
> >>> What's wrong with specifying a retry rule for the host you're
> >>> submitting to?
> >>>
> >>
> >> How would you specify that?
> >>
> >> *                *        F,0h,0h

> >
> > No, try once every hour for a minute.
> >
>
> But that still puts it in the queue. That's why I made the original
> request to discard instantly after a try because I don't want any
> queueing at all on this server. I want it to try only once and give up.


There's really no way I can think of to prevent Exim from at least
creating a spool file at least for a very short period of time.

However, one alternative would be to add a condition on your router
that says:

condition = ${if first_delivery}

The second time the message is processed, regardless of the retry
time, the router will pass and will presumably hit the end of your
list of routers and fail.

--
Dean Brooks
dean@???