-   Linux - Newbie (
-   -   starting sendmail at boot (when built from source!!!!) (

zepplin611 07-13-2004 04:53 PM

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


netmask 07-13-2004 05:01 PM

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

All times are GMT -5. The time now is 10:38 AM.