SATOH Fumiyasu (TSUCHIDA Fumiyasu) via Postfix-users: > I see the following problems. > > 1. `postconf -M bar/unix='foo unix ...'` will duplicates entries in master.cf. > 2. `postconf -M foo/unix='foo unix ...' get segfault if multiple entries > exist in master.cf.
Both problems with master.cf updates are solved in the next stable release. The fix is being tested in the development release postfix-3.9-20230502. This release also fixes an unrelated problem with main.cf updates. Wietse 20230428 Bugfix (defect introduced: Postfix 1.0): the command "postconf .. name=v1 .. name=v2 .." (multiple instances of the same parameter name) created multiple name=value entries with the same parameter name. It now logs a warning and skips the earlier update. Found during code maintenance. File: postconf/postconf_edit.c Bugfix (defect introduced: Postfix 3.3): the command "postconf -M name1/type1='name2 type2 ...'" died with a segmentation violation when the request matched multiple master.cf entries. The master.cf file was not damaged. Problem reported by SATOH Fumiyasu. File: postconf/postconf_master.c. 20230502 Bugfix (defect introduced: Postfix 2.11): the command "postconf -M name1/type1='name2 type2 ...'" could add a service definition to master.cf that conflicted with an already existing service definition. It now replaces all existing service definitions that match the service pattern 'name1/type1' or the service name and type in 'name2 type2 ...' with a single service definition 'name2 type2 ...'. Problem reported by SATOH Fumiyasu. File: postconf/postconf_edit.c. _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org