?
Solved

Command for starting the POP3 server in redhat linux6.0

Posted on 2000-03-02
12
Medium Priority
?
386 Views
Last Modified: 2013-12-15
How can we start,stop,know the status and restart the POP3 server in redhat linux6.0?
0
Comment
Question by:pallavi_ing
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
  • 3
  • +1
12 Comments
 

Author Comment

by:pallavi_ing
ID: 2575954
Please give me the required program or command to start the POP3 server in redhat linux6.0.
0
 
LVL 2

Expert Comment

by:Reinier
ID: 2576372
Please, see he answer to your other question
0
 

Expert Comment

by:eric007
ID: 2578539
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:pallavi_ing
ID: 2578990
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
 

Expert Comment

by:eric007
ID: 2580403
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
 

Author Comment

by:pallavi_ing
ID: 2582486
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
 

Expert Comment

by:eric007
ID: 2582531
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
 

Expert Comment

by:owld
ID: 2582897
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
 

Author Comment

by:pallavi_ing
ID: 2586463
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
 

Accepted Solution

by:
owld earned 200 total points
ID: 2586487
Do you have package imap-4.5-4.i386.rpm installed ? If no , install it  and try
again. This package contains pop3 daemon.
0
 

Expert Comment

by:owld
ID: 2586498
So , install by
#rpm -i imap-4.5-4.i386.rpm
command.
0
 

Author Comment

by:pallavi_ing
ID: 2586534
Hi,
   I will check whether the package is installed or not and reply you.
Thanking You,
                     Yours faithfully,
                     Pallavi.
0

Featured Post

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month13 days, 8 hours left to enroll

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question