Results 1 to 6 of 6
  1. #1


    Member Since
    Sep 12, 2011
    Posts
    76
    Recommended way to auto-start postfix
    I'm new to mac. Most familiar with linux. There's a lot of material from the
    web on the best way to auto-start (on bootup or login) postfix.
    I like a recommendation from staff. Because I know that you all
    give the best advice.
    thanks
    Software developer since 1987, web programmer since
    1996. Linux user since 2000. 2011 mac mini, 8 Gb RAM.

  2. #2


    Member Since
    Sep 13, 2011
    Location
    Kentucky, USA
    Posts
    100
    Specs:
    Mac Pro 2 x 2.66 Xeon 6gb DDR2 1TB OSX Server
    Open up the postfix .plist file.

    Code:
    sudo vi /System/Library/LaunchDaemons/org.postfix.master.plist
    And add/make these and configured as such.

    Code:
    <key>RunAtLoad</key>
    <true>
    <key>OnDemand</key>
    </true><false>
    </false>
    Blair Technology Group - Mac System Administrator

  3. #3


    Member Since
    Sep 12, 2011
    Posts
    76
    Quote Originally Posted by blairtechguy View Post
    Open up the postfix .plist file.

    Code:
    sudo vi /System/Library/LaunchDaemons/org.postfix.master.plist
    And add/make these and configured as such.

    Code:
    <key>RunAtLoad</key>
    <true>
    <key>OnDemand</key>
    </true><false>
    </false>
    I did so, and restarted, but I do not see postfix in the process list.
    Should I?
    Furthermore, I see no indication that when I sent a test email, that it had started.
    In addition from
    agile approach | How to Enable Local SMTP Server (Postfix) on OS-X Leopard
    I found that following the command
    Code:
    sudo launchctl launchd% start org.postfix.master
    Generated the error
    Unknown subcommand "launchd%"
    thnx
    Software developer since 1987, web programmer since
    1996. Linux user since 2000. 2011 mac mini, 8 Gb RAM.

  4. #4


    Member Since
    Sep 12, 2011
    Posts
    76
    Solved.
    The proper command sequence is
    Code:
     sudo launchctl
    and then I see the launchctl command prompt:
    Code:
    launchd%
    and then enter the command
    Code:
    start org.postfix.master
    And I did get the error message:
    launchctl start error: No such process
    But postfix starts when I reboot the computer.
    I can easily verify with
    Code:
     telenet localhost 25
    thanks
    Software developer since 1987, web programmer since
    1996. Linux user since 2000. 2011 mac mini, 8 Gb RAM.

  5. #5

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,745
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    Quote Originally Posted by timinak View Post
    Solved.
    The proper command sequence is
    Code:
     sudo launchctl
    and then I see the launchctl command prompt:
    Code:
    launchd%
    and then enter the command
    Code:
    start org.postfix.master
    You can easily combine that:
    Code:
    sudo launchctl start org.postfix.master
    Helpful for the future.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  6. #6


    Member Since
    Sep 12, 2011
    Posts
    76
    Quote Originally Posted by vansmith View Post
    You can easily combine that:
    Code:
    sudo launchctl start org.postfix.master
    Helpful for the future.
    Very handy indeed! Thanks.
    Software developer since 1987, web programmer since
    1996. Linux user since 2000. 2011 mac mini, 8 Gb RAM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Photos - Disable Auto start
    By stevehicks in forum OS X - Apps and Games
    Replies: 1
    Last Post: 07-30-2015, 11:39 AM
  2. Postfix: /opt/local/libexec/postfix/pickup: No such file or directory
    By timinak in forum OS X - Operating System
    Replies: 8
    Last Post: 10-10-2011, 12:24 PM
  3. Apple Mail auto start
    By neilb in forum OS X - Apps and Games
    Replies: 6
    Last Post: 05-07-2009, 02:29 PM
  4. How do I auto start mysql on my mac
    By neerajdotname in forum OS X - Operating System
    Replies: 0
    Last Post: 05-14-2008, 08:53 AM
  5. spaces - auto start of apps?
    By SoLucky in forum OS X - Apps and Games
    Replies: 0
    Last Post: 12-07-2007, 07:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •