Solved

pop3 server - HOW?

Posted on 1999-01-26
8
229 Views
Last Modified: 2010-03-18
I'm trying to set up the pop3d(?) daemon so that I can retrieve my email from a remote machine.  Here's my inetd.conf file.  What is missing from here or what other config file do I need to tweak?

Thanks!

# These are standard services.
ftp      stream      tcp      nowait      root      /usr/sbin/tcpd      in.ftpd -l -a
telnet      stream  tcp       nowait  root    /usr/sbin/tcpd      in.telnetd
gopher      stream  tcp       nowait  root    /usr/sbin/tcpd      gn

# Shell, login, exec and talk are BSD protocols.
shell      stream      tcp      nowait      root      /usr/sbin/tcpd      in.rshd
login      stream      tcp      nowait      root      /usr/sbin/tcpd      in.rlogind
#exec      stream      tcp      nowait      root      /usr/sbin/tcpd      in.rexecd
talk      dgram      udp      wait      root      /usr/sbin/tcpd      in.talkd
ntalk      dgram      udp      wait      root      /usr/sbin/tcpd      in.ntalkd
#dtalk      stream      tcp      waut      nobody      /usr/sbin/tcpd      in.dtalkd

# Pop and imap mail services et al
pop-2   stream  tcp     nowait  root    /usr/sbin/tcpd      ipop2d
pop-3   stream  tcp     nowait  root    /usr/sbin/tcpd      ipop3d
0
Comment
Question by:daveko
8 Comments
 
LVL 4

Expert Comment

by:mcdonc
ID: 1588230
1.  What IP address do you type into your POP client for the entry marked "POP server".
2.  What's the IP address of the machine that you yanked that inetd.conf off of?
3.  What error do you receive when you try to get your mail?

0
 
LVL 4

Expert Comment

by:mcdonc
ID: 1588231
1.  What IP address do you type into your POP client for the entry marked "POP server".
2.  What's the IP address of the machine that you yanked that inetd.conf off of?
3.  What error do you receive when you try to get your mail?

0
 
LVL 1

Author Comment

by:daveko
ID: 1588232
That's the error I get.  The ip address that I typed in is the ip address of the machine and it can also be seen in the error msg below:

Your server has unexpectedly terminated the connection. Possible causes for this include server problems, network problems, or a long period of inactivity. Account: '206.63.66.13', Server: '206.63.66.13', Protocol: POP3, Port: 110, Secure(SSL): No, Error Number: 0x800CCC0F
0
 
LVL 4

Expert Comment

by:mcdonc
ID: 1588233
That "account" parameter should be your username, shouldn't it?
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 2

Expert Comment

by:jeffa072897
ID: 1588234
Two things you might want to check -
1) Is pop in your /etc/services file? 109 is pop2 and 110 is pop3 both tcp.
2) Setup a telnet session and watch ps -axf and see if the pop daemon ever starts
    under inetd.
3) You could, as a test, run the pop3 as a regular daemon, not under inetd.
4) Is your mailbox file(commonly in /var/spool/mail) owned by the user trying to read
    the mail?

0
 
LVL 5

Accepted Solution

by:
tfabian earned 100 total points
ID: 1588235
as mentioned previously, you've got to setup the ports for the pop server to respond through..

in /etc/services

add


  pop-2      109/tcp
  pop         110/tcp

your inet.conf looks okay..

also you've got to ensue that the popper software has adequate rights to execute.. check it's permissions..

from your pop client, your machine's IP address/name are all you need, plus a valid user id and password..  your client should connect to your system via ports 109 or 110..  if they're not in /etc/services (on the server) you'll get errors..


 
0
 
LVL 1

Author Comment

by:daveko
ID: 1588236
Argh!  Someone told me to do a kill -1 on the httpd daemon to force a SIGHUP but it wasn't working.  the tcl script in /etc/rc.d/init.d worked perfectly.  All I had to do was restart the inetd services and it worked.  my services and inetd.conf were fine.

thanks!
0
 
LVL 1

Author Comment

by:daveko
ID: 1588237
Argh!  Someone told me to do a kill -1 on the httpd daemon to force a SIGHUP but it wasn't working.  the tcl script in /etc/rc.d/init.d worked perfectly.  All I had to do was restart the inetd services and it worked.  my services and inetd.conf were fine.

thanks!
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
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.

708 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

14 Experts available now in Live!

Get 1:1 Help Now