Skip to main content
Question

How to change mail.app settings using the configuration profile payload


Forum|alt.badge.img+3
  • New Contributor
  • 2 replies

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.

2 replies

Forum|alt.badge.img+3
  • Author
  • New Contributor
  • 2 replies
  • March 11, 2023

correction
What I would like to achieve.
-Enable  "Mark addresses not ending with"
- Put specified addresses in the blank field


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • 2 replies
  • March 17, 2023

Here is an example of how to enable "Mark addresses not ending with" and add specific addresses to the list using a configuration profile:

  1. Create a new configuration profile in Jamf.

  2. Under "Application & Custom Settings," select "Add" and choose "Custom Settings."

  3. Name the setting, such as "Mail Settings," and select "Add Payload."

  4. In the "Payload Type" dropdown, choose "com.apple.mail."

  5. 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.

  1. Save the configuration profile.

  2. 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.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings