I generally get by without needing to send email from any of my local development web applications. Of course, that was until today. I have an issue to dubug in the Guardr Drupal distribution and am getting some sendmail errors when running drush qd.
A bit of research resulted in getting postfix up and running as a sendmail service in OS X Mountain Lion (10.8.2). Here are the steps which worked for me:
Three very useful ways to eclude files and folders from git:
Add a .gitignore file to your home directory and add files and folders you want all of your local git repos to ignore. For example: My .gitignore file.
Add a .gitignore file to your local repo, stage, and commit the file as part of your codebase. This is very handy if you want to share a common set of files/folders to ignore with others working with the same upstream repo.
Add files and folders to .git/info/exclude. The exclude file is found in every git repo and allows you to set ignore rules that will only work for your local repo. It will not get sent upstream during a push.
I have some Drupal 6 themes which utilize images that need to be uploaded by the users to the sites files folder while maintaining one copy of the theme for a multisite install. It turns out to be simpler that I original expected.
I followed the instructions at http://drupal.org/node/177868 and it worked out quite well. I was able to modify some of the code further down on the same page in a comment to setup file uploads. See that code example here: http://drupal.org/node/177868#comment-1445178.