DEV Community 👩‍💻👨‍💻

Erik Smith
Erik Smith

Posted on

Set Outlook as Default Client without Opening

brew install duti
duti -s mailto
Enter fullscreen mode Exit fullscreen mode

Maybe you're using macOS, and the IT department has decided everyone has to use Outlook for email. To enforce compliance, they block access to altogether, probably with Jamf. As a result, whenever you click a mailto: link, will try to launch, fail because it's blocked, and instead display an error window with the message, "Access to is restricted by Security policy."

Like the average person suffering under such a regime, you'd like to set Outlook as your default email client, but the setting to do that is exposed via the preferences UI, which you can't open. Fun times.

I solved this for myself using the duti utilty, which I installed with homebrew, using the steps above ☝️.

Top comments (0)

Update Your DEV Experience Level:


Go to your customization settings to nudge your home feed to show content more relevant to your developer experience level. 🛠