Link to home
Start Free TrialLog in
Avatar of pallavi_ing
pallavi_ing

asked on

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?
Avatar of pallavi_ing
pallavi_ing

ASKER

Please give me the required program or command to start the POP3 server in redhat linux6.0.
Please, see he answer to your other question
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

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.
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
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.
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
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 .
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.
ASKER CERTIFIED SOLUTION
Avatar of owld
owld

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
So , install by
#rpm -i imap-4.5-4.i386.rpm
command.
Hi,
   I will check whether the package is installed or not and reply you.
Thanking You,
                     Yours faithfully,
                     Pallavi.