Solved

Command for starting the POP3 server in redhat linux6.0

Posted on 2000-03-02
12
376 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
  • 5
  • 3
  • 3
  • +1
12 Comments
 

Author Comment

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

Expert Comment

by:Reinier
Comment Utility
Please, see he answer to your other question
0
 

Expert Comment

by:eric007
Comment Utility
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
 

Author Comment

by:pallavi_ing
Comment Utility
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
Comment Utility
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
Comment Utility
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
Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

 

Expert Comment

by:eric007
Comment Utility
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
Comment Utility
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
Comment Utility
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 100 total points
Comment Utility
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
Comment Utility
So , install by
#rpm -i imap-4.5-4.i386.rpm
command.
0
 

Author Comment

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

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
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.

728 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now