On Tue, Jan 28, 2014 at 01:02:45AM +0000, Viktor Dukhovni wrote:

> The patch below may not even compile, but probably works, give it a try.
> As you can see, it is mostly a matter of adding a bit of documentation
> and disabling conditionals that make existing code apply only to SMTP.
> 
> If it works well for you, and Wietse is not opposed to an
> "lmtp_fallback_relay" feature, something like this could be part
> of Postfix 2.12.

One limitation is that with the patch lmtp_fallback_relay works
only when the original LMTP destination is an "inet:" destination,
there is no support for fallback after failed unix-domain socket
deliveries.  This is an implementation artifact, but fixing it is
substantially more difficult.  I don't know how useful fallback
relays are when the primary destination is a local LMTP service.

-- 
        Viktor.

Reply via email to