On Sun, Dec 29, 2024 at 09:48:26AM +0300, Michael Tokarev via Postfix-users
wrote:
> # postconf -F '*/*/chroot=n'
> # diff -u master.cf master.cf.sav
This diff is backwards. It would be more helpful to diff
the new against the old.
> --- master.c
> +++ master.cf.sav
> @@ -64,9 +64,9 @@
> trace unix - - n - 0 bounce
> verify unix - - n - 1 verify
> flush unix n - n 1000? 0 flush
> proxymap unix - - n - - proxymap
> +proxywrite unix - - n - 1 proxymap
> # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
> -proxywrite unix - - n - 1 proxymap
> smtp unix - - n - - smtp
> relay unix - - n - - smtp
> -o
> syslog_name=${multi_instance_name?{$multi_instance_name}:{postfix}}/$service_name
> ...
> anvil unix - - n - 1 anvil
> scache unix - - n - 1 scache
> +postlog unix-dgram n - n - 1 postlogd
> #
> # ====================================================================
> # Interfaces to non-Postfix software. Be sure to examine the manual
> @@ -140,4 +141,3 @@
> # flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store
> ${nexthop} ${user} ${extension}
> #mailman unix - n n - - pipe
> # flags=FRX user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
> ${nexthop} ${user}
> -postlog unix-dgram n - n - 1 postlogd
So proxywrite moved immediately below the subsequent comments. And
likewise "postlog".
> It looks like postconf sometimes exchanges a line and a comment near
> it. In all cases in this example, a line after comment has been
> moved right before the comment block.
Only the other way around. The same thing happens with the '-P' option,
tested from the source tree:
$ postconf -c $PWD/conf -P 'relay/unix/smtp_tls_security_level=dane'
$ git d -U1 conf
--- a/conf/master.cf
+++ b/conf/master.cf
@@ -68,5 +68,6 @@ proxywrite unix - - n - 1
proxymap
smtp unix - - n - - smtp
-relay unix - - n - - smtp
- -o
syslog_name=${multi_instance_name?{$multi_instance_name}:{postfix}}/$service_name
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
+relay unix - - n - - smtp
+ -o
syslog_name=${multi_instance_name?{$multi_instance_name}:{postfix}}/$service_name
+ -o smtp_tls_security_level=dane
showq unix n - n - - showq
> Something does not seem to be working as intended.
Whether intended or overlooked, sure, this should likely be changed.
--
Viktor.
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]