Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-13-2004, 03:53 PM   #1
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!!!!)


I just built sendmail: V8.12.11 from 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

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!!!!

Old 07-13-2004, 04:01 PM   #2
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:37 AM.

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