LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-13-2004, 03:53 PM   #1
zepplin611
Member
 
Registered: Jan 2004
Distribution: AIX 4.3 RH 7,8,9 / Fedora C1/
Posts: 187

Rep: Reputation: 30
starting sendmail at boot (when built from source!!!!)


Greetings,

I just built sendmail: V8.12.11 from source...it runs just fine when I type:
/usr/sbin/sendmail -bd -q30m

Where (and how please!) do I place this command in a startup script (/etc/inittab???) to be sure
that when this machine is restarted, that sendmail will initiate....should it be in the
/etc/rc.d/rc.local????

i've tried using: chkconfig --level 35 sendmail on (but i get the following error:
error reading information on service sendmail: No such file or directory

I assume this is from the fact that sendmail is built from source....

Any help on this is greatly appreciated!!!!

zepp
 
Old 07-13-2004, 04:01 PM   #2
netmask
Member
 
Registered: Jul 2004
Location: Sherbrooke, Quebec, Canada, North America, World, Milky Way
Distribution: Gentoo
Posts: 103

Rep: Reputation: 16
Yes, placing the line "/usr/sbin/sendmail -bd -q30m" in /etc/rc.d/rc.local will in fact make it execute at boot.

Now, to place it in there, use your favorite text editor like vi, pico, joe, etc.

Or.. you could just execute this: # echo "/usr/sbin/sendmail -bd -q30m" >> /etc/rc.d/rc.local
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Native Open Source Groupware built-in to distribution networkr Linux - Software 2 07-22-2004 03:27 PM
Why does "Starting sendmail" take so long at boot up Kasperisa Linux - Newbie 2 07-15-2004 07:47 AM
sendmail package for slackware built with SASL?? Demon333 Slackware 5 03-20-2004 06:49 PM
built source conflicts with dependencies! Goofee Linux - General 0 06-30-2003 12:52 AM
Eroaster built from source error palm1 Linux - Software 8 10-29-2002 11:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration