LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 05-22-2007, 09:38 PM   #1
bittus
Member
 
Registered: Aug 2006
Posts: 151

Rep: Reputation: 15
Register a daemon as service


please guide me on registering a daemon as service (in general).

Specifically, I tried installing postfix 2.4.1 on my computer. Now can any1 help on how to make it a service. Now it is like i m starting the service using the command "postfix start" and so cant check the status of the program and all. Please guide me on how to make it a service.

Thanks
 
Old 05-22-2007, 09:40 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
What distribution are you running? You probably need to create an init script, though most distribution packages already do that. Are you sure there isn't one already?
 
Old 05-22-2007, 09:49 PM   #3
bittus
Member
 
Registered: Aug 2006
Posts: 151

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Matir
What distribution are you running? You probably need to create an init script, though most distribution packages already do that. Are you sure there isn't one already?
I am running RHEL 4. I uninstalled the default postfix and re-installed it using the tar.zip file 4m postfix.org
 
Old 05-22-2007, 10:08 PM   #4
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Then the init scripts probably go in /etc/rc.d/rc.init or something similar. You'll need to craft a new one by hand.

Out of curiousity, why did you install the postfix.org version instead of the RHEL version?
 
Old 05-22-2007, 10:15 PM   #5
bittus
Member
 
Registered: Aug 2006
Posts: 151

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Matir
Then the init scripts probably go in /etc/rc.d/rc.init or something similar. You'll need to craft a new one by hand.

Out of curiousity, why did you install the postfix.org version instead of the RHEL version?
i just wanted to try the latest version of postfix. Let me ask u onething . . . .

How is it that i can block spam mails using the new postfix
 
Old 05-22-2007, 10:16 PM   #6
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
As far as I know, you'll need to install some sort of spam filtering software, like spam assassin.
 
Old 05-22-2007, 10:37 PM   #7
bittus
Member
 
Registered: Aug 2006
Posts: 151

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Matir
As far as I know, you'll need to install some sort of spam filtering software, like spam assassin.

david thanks a lot for ur response

Can u pls help me in developing an init script to make postfix a service

Last edited by bittus; 05-22-2007 at 11:20 PM.
 
  


Reply


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make TCP server a daemon / service much like a dhcpd service? rajat Linux - Networking 1 05-22-2007 02:29 AM
How to register my interrupt service routine with kernel john_crichton Programming 1 04-09-2007 02:39 PM
How do you register Apache as a service on RH 9? Thaidog Linux - Software 1 03-18-2006 07:34 AM
Register rpc service on a remote machine? sokar Programming 1 07-26-2005 06:49 PM
How to register a Tcl script as a service? vlbaranov Linux - Newbie 2 06-01-2004 11:14 AM


All times are GMT -5. The time now is 12:36 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration