relayhost change not reflected
When setting or unsetting the relayhost in de server config of a specific server, this change isn't reflected in the postfix main.cf config.
The problem is within the new settings object which is always the same as the old one
When changed to:
$new_ini_data = $app->ini_parser->parse_ini_string($data['new']['config']);
$mail_config = $new_ini_data['mail'];
everything works as expected.
Edited by Pascal Dreissen