Richard Hansen via Postfix-devel: > On 2025-06-11 22:26:43-04:00, Wietse Venema via Postfix-devel wrote: > > An empty lookup result is generally not allowed in Postfix. It's > > enforced in maps_find(), instead of in each indiividual dict_xxx.c > > implementation. > > Gotcha. I think it would be worth mentioning this in DATABASE_README; I > can draft something if you agree.
Fine. > Would it be useful to add empty string checks to unionmap and pipemap? > Or is that just more complexity for little value? This was an omission when I added union/pipe/etc map support, at a time that Postfix was 15 years old. Principle: if we don't have an empty result check in every table, then have it in the layer above (maps_find(), dict_union_lookup() etc.). That will do for now. Wietse _______________________________________________ Postfix-devel mailing list -- postfix-devel@postfix.org To unsubscribe send an email to postfix-devel-le...@postfix.org