Viktor Dukhovni: > > Sorry, it must be the same interface as access tables. Special > > cases are taboo. > > I'm not fond of lossful mangling of the input, especially if policy > services are liable to get it wrong. Perhaps this idea needs to > wait until the Postfix dictionary layer understands multiple results, > returning a list rather than a concatenation. At that point, > suitable variants of pcre/regexp or directives at the top of the > file can turn on list splitting of the RHS prior to sub-pattern > replacement.
Postfix has a simple string interface for its key-value store. I have an aversion against changing that into some binary protocol with sub-record structure. Similar to my aversion against systemd logging, among other things. Wietse