Script to configure client mail settings
So I thought I would post this before I grow too old and forget about it. I have been working on a command line based configuration script for Mail.app, it does some fancy things like create Mail bundles and Package installers for deployment,it still has a couple of bugs so use it wisely. I haven't had time after MacWorld to work on it too much so if you have any bug reports, feel free to post them here as well as code additions. I would like to add some ssl certificate import support.
It's big, it's long, its BASH – enjoy and dont judge me too harshly as I know it needs some work.
Grab the script here.