This documentation is for Dovecot v1.x, see wiki2 for v2.x documentation.

Sample launchd plist file

This file is for MacOS X 10.4 only. For 10.3 and earlier StartupItems must be used.

Save it under /Library/LaunchDaemons/ with .plist extension (for example org.dovecot.dovecot.plist according to the naming conventions used by apple and other vendors). The ownership should be root:wheel.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "">
<plist version="1.0">
        <string>Dovecot mail server</string>

If dovecot is not started as a foreground process, launchd will keep restarting it until the "No authentication sockets found" error message shows up in the logs and further logins are denied.

None: LaunchdInstall (last edited 2011-11-10 19:12:09 by 63-231-115-39)