Visit Jeremy's Blog.
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 12-17-2005, 01:29 PM   #1
LQ Newbie
Registered: Dec 2005
Posts: 4

Rep: Reputation: 0
Start Qmail Service on Boot

I'm on winxp, and i ssh in to our web server (running Red Hat 9) using putty. if i append etc/rc.d/rc.local with this line:

service qmail start

will that make qmail start up automatically on boot?

Last edited by mellomutt; 12-17-2005 at 01:54 PM.
Old 12-17-2005, 02:03 PM   #2
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 64
Yes that will work or you can enable qmail in the netwroking runlevels using the command.
chkconfig --level 345 qmail on

This enbles qmail in runlevels 3,4,and 5. You verify by looking /etc/rc3.d and see one called S** qmail same in rc4.d and rc5.d.

Hope this helps
Old 12-17-2005, 02:03 PM   #3
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Yes, but if qmail already has a start script in /etc/rc.d/init.d (and it must because all service does is call /etc/rc.d/init.d/qmail) then you can just do "chkconfig qmail on" and that will work. See man chkconfig for more details.
Old 12-17-2005, 02:15 PM   #4
LQ Newbie
Registered: Dec 2005
Posts: 4

Original Poster
Rep: Reputation: 0
thank you for responding. occasionally traffic will crash the server and we reboot via the control panel offered by our host. we then have to log into plesk and manually start the SMTP service (qmail). wanted to automate the startup of that service.

will that chkconfig command (chkconfig qmail on) set it so that qmail will start every time the server boots, or is that only for manual starting?


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
qmail /service/qmail-send: unable to open supervise mangueJOE Linux - Networking 20 04-20-2016 12:27 AM
How to get service to start at boot zaichik Linux - Newbie 12 08-27-2008 10:15 PM
BOINC as a service to start at boot purelithium Linux - General 14 11-18-2005 10:04 PM
Network service start at boot? King of Japan Linux - Networking 2 09-01-2005 11:23 AM
how to start a service at boot senthilkumar Slackware 2 07-19-2004 08:33 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:43 PM.

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
Open Source Consulting | Domain Registration