Posted on 03-07-2023 03:10 AM
Hello!
I am trying to change the mail.app settings on multiple Macs, but it is not working.
If anyone knows how to solve this problem, please let me know.
What I would like to achieve.
-Check "Mark addresses not ending with" (mail.app>Settings>Composing)
- Put any address in the blank field
- Achieve the above two points using the payload function of the configuration profile
What I have tried
I thought the following plist was relevant for the configuration.
~/Library/Preferences/com.apple.mail-shared.plist
However, when I uploaded the plist reflecting the settings from Jamf>Configuration Profiles>Application & Custom settings>Upload, it was not reflected in mail.app.
Posted on 03-11-2023 03:57 AM
correction
What I would like to achieve.
-Enable "Mark addresses not ending with"
- Put specified addresses in the blank field
Posted on 03-16-2023 07:03 PM
Here is an example of how to enable "Mark addresses not ending with" and add specific addresses to the list using a configuration profile:
Create a new configuration profile in Jamf.
Under "Application & Custom Settings," select "Add" and choose "Custom Settings."
Name the setting, such as "Mail Settings," and select "Add Payload."
In the "Payload Type" dropdown, choose "com.apple.mail."
In the "PayloadContent" field, add the following XML code:
<dict>
<key>EnableNotEndingEmailAddressMarking</key>
<true/>
<key>WhitelistedNotEndingEmailAddress</key>
<array>
<string>example1@example.com</string>
<string>example2@example.com</string>
<string>example3@example.com</string>
</array>
</dict>
Replace the example email addresses with the addresses you want to whitelist.
Save the configuration profile.
Assign the configuration profile to the Macs you want to apply the Mail settings to.
Once the configuration profile is applied to the Macs, the Mail app should reflect the specified settings.