require 'formula' class Dovecot Label org.dovecot OnDemand ProgramArguments #{sbin}/dovecot -F RunAtLoad ServiceDescription Dovecot mail server Source: http://wiki.dovecot.org/LaunchdInstall 4) start the server using: sudo launchctl load /Library/LaunchDaemons/org.dovecot.plist EOS end end