Jesper Dybdal: > On 2022-03-19 17:49, Matus UHLAR - fantomas wrote: > > this should be fixable by using proxymap, better than disabling chroot > > http://www.postfix.org/proxymap.8.html > Thanks. As far as I can see, I need to add > proxy:regexp:/etc/postfix/regexp_milter_header_checks > to proxy_read_maps. But proxy_read_maps has a long default value - is > there a not-too-ugly way to add my milter header checks to the value > without losing the default value contents?
The fix is to update the source code and add $header_checks, $body_checks, etc., to the proxy_read_maps default value. I can do that as part of the next patch update for the stable releases. No release is planned at this time. I'm looking into adding "name .= value" support but this is tricky because it has to work not only in main.cf but also in master.cf (-o name.=value). It requires significant changes to the postconf command, because it emulates how Postfix programs use main.cf and master.cf. It may be easier if I first replace the way that Postfix manages its configuration parameters. I'm not considering "name += value" because that suggests that strings concatenate and that numbers add up, and that is not going to happen. Wietse