New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus ē Advice and insight from world-class Apple enthusiasts ē Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

Recommended way to auto-start postfix


Post Reply New Thread Subscribe

 
Thread Tools
timinak

 
Member Since: Sep 12, 2011
Posts: 69
timinak is on a distinguished road

timinak is offline
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.
QUOTE Thanks
blairtechguy

 
Member Since: Sep 13, 2011
Location: Kentucky, USA
Posts: 100
blairtechguy will become famous soon enough
Mac Specs: Mac Pro 2 x 2.66 Xeon 6gb DDR2 1TB OSX Server

blairtechguy is offline
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
QUOTE Thanks
timinak

 
Member Since: Sep 12, 2011
Posts: 69
timinak is on a distinguished road

timinak is offline
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
Quote:
Unknown subcommand "launchd%"
thnx

Software developer since 1987, web programmer since
1996. Linux user since 2000. 2011 mac mini, 8 Gb RAM.
QUOTE Thanks
timinak

 
Member Since: Sep 12, 2011
Posts: 69
timinak is on a distinguished road

timinak is offline
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.
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,671
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
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
Personal Twitter
QUOTE Thanks
timinak

 
Member Since: Sep 12, 2011
Posts: 69
timinak is on a distinguished road

timinak is offline
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.
QUOTE Thanks

Post Reply New Thread Subscribe


« OS X 10.6.8 Crash | Deleting Lines of Text in Terminal »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Powerbook G4 start up / shut down problems rjaerial Apple Notebooks 1 01-26-2010 03:29 PM
strange start up issue. eddsleigh Apple Desktops 3 07-30-2007 09:35 PM
Change Start up? Perad OS X - Operating System 3 07-24-2007 04:32 PM
3 Macís start up mega slow since networking (OS 9.2.2) mak2204 Internet, Networking, and Wireless 1 01-15-2004 06:24 PM
3 Macís start up mega slow since networking (OS 9.2.2) mak2204 Internet, Networking, and Wireless 0 12-22-2003 03:37 PM

All times are GMT -4. The time now is 03:09 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?