LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Where is my POP3 server? (https://www.linuxquestions.org/questions/linux-server-73/where-is-my-pop3-server-595028/)

waynevnc 10-27-2007 10:33 AM

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

alunduil 10-27-2007 12:13 PM

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

waynevnc 10-27-2007 01:32 PM

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

waynevnc 10-28-2007 07:30 AM

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

alunduil 10-28-2007 10:08 AM

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

waynevnc 10-28-2007 10:49 AM

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.

waynevnc 10-29-2007 03:55 PM

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?

alunduil 10-29-2007 09:25 PM

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

waynevnc 11-04-2007 11:40 AM

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

alunduil 11-04-2007 01:06 PM

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

Regards,

Alunduil

nayeemlinux 11-04-2007 09:19 PM

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

waynevnc 11-09-2007 12:20 PM

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?


All times are GMT -5. The time now is 06:44 AM.