Link to home
Start Free TrialLog in
Avatar of daveko
daveko

asked on

pop3 server - HOW?

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
Avatar of mcdonc
mcdonc

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?

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?

Avatar of daveko

ASKER

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
That "account" parameter should be your username, shouldn't it?
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?

ASKER CERTIFIED SOLUTION
Avatar of tfabian
tfabian

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of daveko

ASKER

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!
Avatar of daveko

ASKER

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!