dovecot IMAP local server on OS-X for mail archives

Work in progress…

Main issue of changing mail clients on OSX is the “special optimized for Spotlight” .mbox format used for mail storage structure.

Even after a clean system reinstall, and database repairs including vacuum and envelope solutions, Mail.app hangs and crashes.

Attempting the solution of running a local dovecot IMAP server as the “local archive” folder structure to replace the “On My Mac” hierarchy.

following:
http://xdeb.org/node/1607

Requirements:
1. Homebrew

~~~~~~~~~~~~~~~~
Install via homebrew

brew install dovecot

To have launchd start dovecot at startup:

  sudo cp -fv /usr/local/opt/dovecot/*.plist /Library/LaunchDaemons
  sudo chown root /Library/LaunchDaemons/homebrew.mxcl.dovecot.plist

Then to load dovecot now:

  sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.dovecot.plist

Configuration files copy: (!!!* Adjust to correct version number in source file)

cp -pr /usr/local/Cellar/dovecot/2.2.15/share/doc/dovecot/example-config /usr/local/etc/dovecot