image
image

|


Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old August 25th, 2006, 01:15 PM
Registered User
 
Join Date: Apr 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
danjmw is on a distinguished road
SENDMAIL on Mac OS 10.4

I've been wanting to active SENDMAIL at startup on my PowerBook but my config seems to be out of line w/ everyone else, at least everyone on the web posting instructions on how to activate it. I see a lot of documention on simply editing the /etc/hostconfig's MAILSERVER option to YES, but there is no MAILSERVER line in my hostconfig. And when I look in the /System/Library/StartupItems directory I do not see an directory for sendmail. I believe I understand how to add an item to the StartItems process ... copy an existing one renaming the copy to sendmail; deleted the existing app and copy in sendmail; modify the StartupParameters.plist to the options needed for sendmail ... it is this step that I'm looking for help on. Can anyone provide me w/ the StartupParameters.plist for sendmail? Or if there's another way to adding sendmail to the StartItem process, other then the default "enable it in the hostconfig" I'd appreciate the help.

Thanks.
Dan
Reply With Quote
  #2  
Old August 25th, 2006, 03:11 PM
Registered User
 
Join Date: May 2005
Posts: 1,339
Thanks: 0
Thanked 1 Time in 1 Post
barhar is on a distinguished road
What would be wrong - dragging 'hostconfig' to the 'Desktop' (from the '/etc/' folder) and editing it to include ...

MAILSERVER=-YES-

..., then in 'Terminal' at '/etc/' - entering ...

sudo bash

... <return>, entering any needed password and pressing <return>, and entering ...

mv hostconfig hostconfig_20060825

... <return>; then dragging 'hostconfig' from the 'Desktop' onto the opened '/etc/' folder - authenticating the action, and finally - in 'Terminal' (at '/etc/') entering ...

chmod 644 hostconfig; chown root hostconfig; chgrp wheel hostconfig

... <return>?
Reply With Quote
  #3  
Old August 25th, 2006, 03:28 PM
Registered User
 
Join Date: Apr 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
danjmw is on a distinguished road
Modifing the hostconfig file isn't the problem. I can do that easily by through pico (sudo pico /etc/hostconfig). It's putting SENDMAIL in the StartupItems directory correctly. Under /System/Library/StartupItems there are a number of application folders set to start at the Systems startup. In each there are two files, one is the app and the second is the StartupParameters.plist, and a directory for launguages. It's the paramater file, StartupParameters.plist, that I need to set correctly to get SENMAIL to start at bootup.

thanks, though.
Dan
Reply With Quote
  #4  
Old August 25th, 2006, 05:11 PM
macworks's Avatar
Christopher Raymond
 
Join Date: Mar 2006
Location: Minneapolis, MN
Posts: 444
Thanks: 0
Thanked 0 Times in 0 Posts
macworks is on a distinguished road
Simply add the following line to /etc/hostconfig:

MAILSERVER=-YES-


To do this more simply, open terminal and type:

sudo pico /etc/hostconfig

You'll have to type in your admin password followed by return/enter. Then using your arrow keys, move to the bottom and add a new line with: MAILSERVER=-YES-

Then hold control and press x followed by return/enter (to confirm changes). Next time you boot your mac, sendmail will start automatically.
__________________
Christopher Raymond
ACTC

Owner/Operator: MacWorks
Reply With Quote
Reply

Thread Tools

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail On Mac Osx 10.2.8 raymondlewisjones Mac OS X System & Mac Software 1 August 10th, 2005 07:02 PM
Sendmail App nmm88 Unix & X11 2 February 10th, 2004 04:29 AM
I need help with sendmail leinad256 Unix & X11 5 May 21st, 2003 11:57 AM
Sendmail sepia Mac OS X System & Mac Software 28 January 28th, 2003 11:06 PM
Sendmail HELP!!! PoisonDrop Unix & X11 3 January 1st, 2003 12:39 AM


All times are GMT -5. The time now is 02:18 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.