Hello,

sorry to revive old thread, but I came to another case where proposed change would be beneficial.

Jesper Dybdal:
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?

On 20.03.22 12:59, Wietse Venema wrote:
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).

...which would be great e.g. for multi-instance setup because current master.cf looks like:

submission inet n       -       y       -       -       smtpd
  -o syslog_name=postfix/submission
relay     unix  -       -       y       -       -       smtp
  -o syslog_name=postfix/$service_name

which clears differences between instances.

having possibility to use:

submission inet n       -       y       -       -       smtpd
  -o syslog_name.=/submission
relay     unix  -       -       y       -       -       smtp
  -o syslog_name.=/$service_name

would make it easier to distinguish between instances.

so far I modifed master.cf to:

relay     unix  -       -       y       -       -       smtp
  -o syslog_name=$multi_instance_name/$service_name

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Atheism is a non-prophet organization.

Reply via email to