Michael Storz: > seems I was > not able to show the underlying problem, let me rephrase my problem: > > How can I configure arbitrarily complex if-then-else constructs > for every possible table type?
You will have to outsource that logic with tcp_table lookups. Considering that if-then-else table search is useful for maybe 0.0001% of the installed base, I don't think it makes no sense to spend significant of development resources on it now, and to spend maintenance resources on it for eternity. There is a lot that needs to be done and that benefits most of the installed base. Yes, I suppose that it's possible to emulate conditional processing with magical query keys and magical lookup results. No, I don't think that restriction_classes is an example that deserves expansion. References: http://www.postfix.org/tcp_table.5.html Wietse