From CoreInfo
Jump to navigation Jump to search




Here are some errors I was getting in the Console under "All Messages". I was getting 100s of these kinds of errors:

   5/01/12 7:27:45.270 PM postfix/pipe: 0715517EC85A: to=<[email protected]>, orig_to=<user1>, relay=dovecot, delay=263804, delays=263761/43/0/0.05, dsn=4.3.0, status=deferred (temporary failure)

Start/stop postfix

   sudo /usr/sbin/postfix start

Stop postfix from booting

Running this command in the Terminal should stop postfix from starting at boot:

   unload -w /System/Library/LaunchDaemons/org.postfix.master.plist

Generic Unix commands

Kill all processes from x user

   sudo kill -9 $(ps -u usernameHere -o "pid=")

launchctl directory types

  • /Library/LaunchDaemons - is system wide for all users and it runs at boot
  • /Library/LaunchAgents - is system wide but only runs when a user logs in, ie log in hooks
  • ~/Library/LaunchAgents - only runs when that specific user logs in.

Stop LaunchDaemons from starting at boot

   sudo launchctl unload -w /System/Library/LaunchDaemons/org.postfix.master.plist
   sudo launchctl unload -w /System/Library/LaunchDaemons/*

Start LaunchDaemons at boot

The * means to load all the mds .plist files...

   sudo launchctl load /System/Library/LaunchDaemons/*

Errors encountered while enabling Spotlight

If you get errors like the following then try start spotlight with all the above methods + a Disk Permissions fix, then do a reboot and spotlight should start running again

  launch_msg(): Socket is not connected 


   Spotlight server is disabled.