LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-27-2007, 10:33 AM   #1
waynevnc
Member
 
Registered: Jun 2004
Location: New Mexico
Distribution: Debian 3.0, Pop!_OS, Manjaro
Posts: 60

Rep: Reputation: 15
Where is my POP3 server?


Hello,

I have just recently become in charge of a Red Hat 7.2 server for a small business. I am trying to move their email services from the Red Hat server to a host like GoDaddy.com.

I have 2 problems so far to figure out.

One, what POP3 server do I have? I was told it was Qpopper but I don't see evidence of that, no Qpopper files that I can see. How can I determine what POP3 server is installed and working? Since I will need to stop Postfix & the POP3 services I need to know what it is. BTW it is using Postfix 2.0.16.

Secondly, I will need to change the MX0 & MX10 records in DNS on the Red Hat server, but I have no clue where to look to do this.

Can someone please give me some ideas.

Thanks in advance,
Wayne
 
Old 10-27-2007, 12:13 PM   #2
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
As root the following command should tell you what pop daemon you are running:
Code:
netstat -nlp | grep :110
As for changing your DNS I'm assuming you are using BIND, and typically the DNS database is found in /var/bind or /var/named or /etc/namedb. I'm not sure which it is for RedHat 7.2 as we recently had to shut ours down. RedHat 7 is way too old to still be running.

Regards,

Alunduil
 
Old 10-27-2007, 01:32 PM   #3
waynevnc
Member
 
Registered: Jun 2004
Location: New Mexico
Distribution: Debian 3.0, Pop!_OS, Manjaro
Posts: 60

Original Poster
Rep: Reputation: 15
Thanks for the netstat command I will try that.

As for using BIND or not, I'm not sure. Is there somehow I can confirm this?

Thanks,
Wayne
 
Old 10-28-2007, 07:30 AM   #4
waynevnc
Member
 
Registered: Jun 2004
Location: New Mexico
Distribution: Debian 3.0, Pop!_OS, Manjaro
Posts: 60

Original Poster
Rep: Reputation: 15
What is this. I ran the netstat -nlp | grep :110 command and got this.
tcp 0 0 0.0.0.0:110 0.0.0.0:* listen 1017/xinetd
 
Old 10-28-2007, 10:08 AM   #5
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
The output of the netstat command tells you that you are using xinetd to control access to your pop3 server. To find out where the executable is you can dig through "/etc/xinetd.d/ipop3d". If that isn't it then look in that directory for the various pops (not secure pop which _will_ be called pops, but anything else that says pop), and it will let you know what executable runs your pop server. If it's not clear from this run the rpm query:
Code:
rpm -q --whatprovides <executable name you found>
. That will let you know which rpm the executable belongs to.

To find out if you are running BIND we can do a couple of things. You can use netstat again, but this time look for port 53. The easier way to do it though is to use rpm again, and do a
Code:
rpm -qa bind
. If you find this look for file that start with db. An easy way to accomplish this is using locate or find:

Code:
locate db.* | grep /var
find /var -type f -iname 'db.*'
This should find the directory with the bind databases, and then it's simply a matter of finding your MX records and changing them.

Regards,

Alunduil
 
Old 10-28-2007, 10:49 AM   #6
waynevnc
Member
 
Registered: Jun 2004
Location: New Mexico
Distribution: Debian 3.0, Pop!_OS, Manjaro
Posts: 60

Original Poster
Rep: Reputation: 15
I will try these things tomorrow when I am at the server.

I found the mx records in /etc/domain/mydomain.com


Thanks for all the great help alunduil.
 
Old 10-29-2007, 03:55 PM   #7
waynevnc
Member
 
Registered: Jun 2004
Location: New Mexico
Distribution: Debian 3.0, Pop!_OS, Manjaro
Posts: 60

Original Poster
Rep: Reputation: 15
I see pop3 in /etc/xinetd.d and with rpm -q --whatprovides pop3 I got "no package provides pop3"

I did find qpopper with the find command in /etc/log.d/conf/services/in.qpopper.conf & in /etc/log.d/scripts/services/in.qpopper .

What do you think. This is really frustrating. I feel clueless. I guess I could just try "chkconfig qpopper off" and see what happens?
 
Old 10-29-2007, 09:25 PM   #8
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
chkconfig qpopper off would only make it not start when you reboot the server. Do a grep for server in your /etc/xinetd.d/pop3, and use that for the argument to rpm -q --whatprovides. Sorry I wasn't clear on that before.
This should return qpopper if they are indeed using it.

If you are just moving them over to a dedicated hosting solution why go through all of this trouble anyway? Don't you just want to move the machine update the DNS, and move on with life?

Regards,

Alunduil
 
Old 11-04-2007, 11:40 AM   #9
waynevnc
Member
 
Registered: Jun 2004
Location: New Mexico
Distribution: Debian 3.0, Pop!_OS, Manjaro
Posts: 60

Original Poster
Rep: Reputation: 15
I would still like to stop qpopper just for peace of mind.

I did try "chkconfig qpopper off" which did not work.

The in.qpopper.conf file has these lines:
*OnlyService = in.qpopper
*RemoveHeaders =

If I remark out these lines will that cause qpopper not to start?

Thanks again for you help
 
Old 11-04-2007, 01:06 PM   #10
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
chkconfig controls what runs at startup. To stop a service use the service command: service qpopper stop.

Regards,

Alunduil
 
Old 11-04-2007, 09:19 PM   #11
nayeemlinux
LQ Newbie
 
Registered: Oct 2007
Posts: 2

Rep: Reputation: 0
determine what POP3 server is installed and working

if u already install and configurade ur Qpopper server then u can see it eassy by command another pc
telnet mail server address 110
mail server address = ur mail server FQDN
110 = port no for pop3
if it conncet then u will understard that ur mail pop3 server is ok.
Thanks
Abu Nayeem
nayeemlinux@gmail.com
nayeemlinux@yahoo.com
nayeemlinux@hotmail.com
 
Old 11-09-2007, 12:20 PM   #12
waynevnc
Member
 
Registered: Jun 2004
Location: New Mexico
Distribution: Debian 3.0, Pop!_OS, Manjaro
Posts: 60

Original Poster
Rep: Reputation: 15
I used the service command: service qpopper stop with a response of no such service or something similar to that.

If I look in /etc/xinetd.d/ I see a pop3 file that has the following:

#default: on
#description: the finger server answers finger requests. Finger is a protocol that allows remote users to see information such as login name and last login time #for local users.
service pop3
{
disable = no
socket_type = stream
wait = no
user = root
server = /usr/local/sbin/popper
# server_args =
}

What does this tell me?
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Pop3 server cov Linux - Server 5 04-05-2007 10:11 AM
pop3 server amadkow Linux - Software 5 11-17-2004 03:35 PM
Best POP3 server scuffell Linux - General 1 06-13-2004 11:02 PM
where is the pop3 server in 9.2? mishunimi Mandriva 2 02-04-2004 05:28 PM
pop3 server? fredws Mandriva 1 11-07-2003 09:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:24 PM.

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
Open Source Consulting | Domain Registration