On Tue, Jun 23, 2015, at 08:07 AM, Noel Jones wrote:
> You have it backwards.
> 
> relay_domains = lmdb:/etc/postfix/relay_transports
> transport_maps =
>    lmdb:/etc/postfix/relay_transports
>    lmdb:/etc/postfix/external_transports
> 
> Note the use of two transport_maps entries; one for the
> relay_domains, and one for external_transports.  Obviously you
> shouldn't list external domains in the relay_transports file!
> 
> I would suggest defining the external_transports table even if it's
> empty as a form of self-documentation.

I'd just stumbled into that realization and solution moments ago.

Works nicely enough.

Thanks for the confirm.

> A more complex and more flexible solution is to use a Makefile and
> build the files you need from common input files.

I use Makefile trivially to simply parse/create 1-to-1 source->.lmdb's pairs. I 
have not considered the option to use it to leverage common files.  I'll take a 
look at that, thanks.

Reply via email to