Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 390
  • Last Modified:

Command for starting the POP3 server in redhat linux6.0

How can we start,stop,know the status and restart the POP3 server in redhat linux6.0?
0
pallavi_ing
Asked:
pallavi_ing
  • 5
  • 3
  • 3
  • +1
1 Solution
 
pallavi_ingAuthor Commented:
Please give me the required program or command to start the POP3 server in redhat linux6.0.
0
 
ReinierCommented:
Please, see he answer to your other question
0
 
eric007Commented:
I am not sure on the shell you are using because I use slackware

But to check if sendmail(what your POP3 server is) try this:

ps aux | grep sendmail

If you see sendmail come up a couple times then its running POP3 and SMTP

to start sendmail use this:

sendmail -bd -q15m

which will set sendmail to check the mail queue every 15 mins..


Hope this helps

-Eric007

0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
pallavi_ingAuthor Commented:
Hi,
   You are not clear.I want the command for starting of the POP3 server in redhat linux.Similarly we have commands for starting the Apache server i.e /usr/local/apache/bin/apachectl start

Like wise I want the command for POP3 server.
0
 
eric007Commented:
ok, here we go:

Sendmail is your pop3 server, its a daemon that is started on boot by default

To check if sendmail is running use this command:

ps aux | grep sendmail
if it pops up with a PID # then its running, the PID # is the first one on the left

Now if you wanted to make sendmail stop running you would use this:


kill #xxx       where xxx is the PID #


To start sendmail back up again, you could either reboot your machine or use this command:

sendmail -bd -q15m


Once again, i am not suire what shell you are using so u might need to put "/." in front of commands...



I hope this is a little clearer
0
 
pallavi_ingAuthor Commented:
Hi,
   I think that you have not undrestood my question.Sendmail and POP3 servers are both the mail servers.But, through sendmail we can send the mails and through POP3 server we can retrive the mails which are sent.So, they both are different servers.By the by, I am using the bash shell.To start/stop/status/restart the sendmail server we are having the file sendmail in linux so that we can execute the file  to perform the operations by giving the command /etc/rc.d/init.d/sendmail start

So, I want the similar file for the POP3 server and the command to perform the operations similar to the sendmail server.

Bye,
Pallavi.
0
 
eric007Commented:
I am going to give up soon my friend

Sendmail is Both Your POP3 Server and Your SMTP server, it does both...

In Redhat there isn't this is a script to start and stop sendmail like you are referring to(sendmail start, sendmail stop)...

I know most daemons in redhat do but I found that sendmail didn't so you have to do it the manual way like I explained above..


Run Pine and see if you can send a message out, if you can't you need to do some reconfiguring of sendmail

There are some good books out there on sendmail, you should look into them...

I now give up...

-eric007
0
 
owldCommented:
Sir's =)
Sendmail is not POP-3 server , sendmail
is a MTA . POP-3 server started from
inetd automatically. You can look at inetd.conf. Just unremark string like this

#pop-3   stream  tcp     nowait root    /usr/sbin/tcpd ipop3d

In this file.RedHat-6.0 and 6.1 too hasn't tools for restarting and monitoring this servers.

Cheers .
0
 
pallavi_ingAuthor Commented:
Hi,
   I tried by unremarking the given statement in the inetd.conf file.But, the pop3 server did not start.Is there any other command to start the POP3 server.If so please reply me.
Thanking You,
                     Yours faithfully,
                     Pallavi.
0
 
owldCommented:
Do you have package imap-4.5-4.i386.rpm installed ? If no , install it  and try
again. This package contains pop3 daemon.
0
 
owldCommented:
So , install by
#rpm -i imap-4.5-4.i386.rpm
command.
0
 
pallavi_ingAuthor Commented:
Hi,
   I will check whether the package is installed or not and reply you.
Thanking You,
                     Yours faithfully,
                     Pallavi.
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

  • 5
  • 3
  • 3
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now