Hello Zach and Kyle,
Happy 2k24 to you (and everyone reading the thread).
I did a new test by creating a new domain and then creating a new mailbox in this domain from the GUI.
Here is the resulting autoforwarding configuration for the freshly created mailbox.
I've checked the settings.json of the freshly created user and I can see this:
Then, checking the freshly created domain settings.json, I can see this in "default_account_settings" object:
And in the main server settings.json, I find it there too in the "default_account_settings" object:
Just a guess, but, I would think that setting it to true in the server's main settings.json would enable it for newly created users or at least newly created domain users ?
I can't seem to find a place in the GUI to set the default server or domain or user value for this flag, so I think it would need us to stop the service to edit the files manually.
As for creating the user through the API from our panel:
And then when setting forward for the user:
We do not set explicitly the value of keepRecipients, so I guess it takes it would get server or domain default.
One interresting thing though is that looking at API calls for setUserDefaults, the parameter is listed in the API.
For system-wide
And for domains:
--
Another interresting thing is that for domains existing before we did the upgrade, I see, post-upgrade, in their settings.json files, that the flag is set to false.
It's also set to false on existing mailboxes settings.json files that had no forwarding addresses configured prior to the upgrade.
It looks to me that this flag was set to true ONLY for mailboxes that had already a forward configured prior to the upgrade, but for the domains of these mailboxes, the flag is also set to false in their domain settings.json.
So creating a new mailbox for these domain will also have this option off by default.
IMHO, in the upgrade process, this flag should be set to true at system level, for all existing domains and mailboxes and without any discrimination to keep the original behavior.
It looks like we'll have to use some API calls to set it for all our existing domains/mailboxes.
EDIT: After some hours of attempting to set the keepRecipients in system-wide user defaults and domain user defaults, I think it this is documented in the API but has no effect at all. It only works for a specific mailbox.
Kind regards.