On Sat, Jun 25, 2022 at 11:07:20AM -0400, Wietse Venema wrote: > It can be fixed by requiring a comma when appending to a list: > > export_environment .= , { NAME = value }
Indeed something like this would have to be the main.cf syntax, unless there are instead two related append operators: # String append uses ".=" # Can't think of many particularly compelling examples. # List append uses ",=" export_environment ,= NAME=value export_environment ,= {NAME = value} in master.cf we'd similarly have: -o { export_environment ,= NAME=value } -o { export_environment ,= { NAME = value } } Perhaps given that ".= , ..." can largely emulate ",=", the case for the latter is less compelling, but I find it somewhat appealing. The more radical solution is to say that string append is simply not useful enough to support, and that ".=" always adds ", " to a non-empty extant value. -- Viktor.