Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I can start Postfix temporarily with:

$ sudo launchctl
launchd% start org.postfix.master

However, Console.app shows that it only runs for a short time:

26/11/11 2:00:55.710 PM postfix/master: master exit time has arrived

I think the file /System/Library/LaunchDaemons/org.postfix.master.plist needs to be updated to make Postfix run permanently, but I haven't found the answer yet.

What's the correct way of getting Postfix starting at boot time and running permanently?

Update In order to edit the file as recommended by the selected answer, I first converted it to XML.

plutil  -convert xml1 /System/Library/LaunchDaemons/org.postfix.master.plist

Then just edited it with Vim:

sudo vim /System/Library/LaunchDaemons/org.postfix.master.plist

I had issues trying to get Xcode to edit the file.

share|improve this question

1 Answer 1

up vote 24 down vote accepted

The following changes worked for me:

  1. Remove the following two elements from /System/Library/LaunchDaemons/org.postfix.master.plist:


    This will stop it exiting after 60 seconds.

  2. Add the following element as a child of the <dict>...</dict> element in the same plist file:

  3. Reload the file:

    cd /System/Library/LaunchDaemons
    sudo launchctl unload org.postfix.master.plist 
    sudo launchctl load org.postfix.master.plist

postfix should now be running as a daemon.

The above works on Mountain Lion and Mavericks too.

share|improve this answer
Worked for me on Mavericks, but I had to put the full file path in to load it: sudo launchctl load /System/Library/LaunchDaemons/org.postfix.master.plist –  rich Apr 9 '14 at 16:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.