Printing out MacOS Mail settings

31 views Asked by At

Is it possible to dump account settings from MacOS Mail program using some command-line utility? In other words I want to print out (to the Terminal) whatever settings are available in the Mail program under Mail | Preferences | Accounts menu.

I tried the 'defaults' command but the settings are not there:

defaults domains | tr , "\n" | while read r; do defaults read $r; done
0

There are 0 answers