On 16/01/2026 17:43, Wietse Venema via Postfix-users wrote:
Wietse Venema via Postfix-users:
John Fawcett via Postfix-users:
I'lll take a look at postconf -x
The script I posted should be able to handle the file recursion. I may
have underestimated the complexity of pipemap and unionmap, but with a
straight forward pattern matching as far as I can see it doesn't require
anything special. I wasn't aiming for full interpretation, just finding
things that look like maps in parameter values and recursively in
included files.
If you have an example of a complex one, I'll give it a try.
parameter = ... pipemap:{..., other:map, ...}
Where other:map could be pipemap:{stuff}, unionmap:{stuff}, or any
other valid map spec.
And this recursion is not limited to one level.
The script I posted should handle those cases and includes unlimited
recursion. It's not in perl though!
With "postconf -Px" for master.cf overrides, the parameter expansion
will respect the existence of other parameter overrides for the
same service.
My intention is to call the various postconf commands from Perl and
use their support for recursion in regexps. but I won't have time
for that before the 3.11.0 stable release.
Wietse
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]