Tuesday, March 27, 2007

Determine POP3 or Sendmail Availability

After an upgrade, I had a problem pulling mail from the mail server. Performed a telnet action to confirm the pop3 configuration. The mail server didn't connect. Usually the POP server and mail service are on the same box.

This should connect to the mail server
#telnet server 110
Trying server_IP...
telnet: Unable to connect to remote host: Connection refused

Added the following line:
#vi /etc/inetd/inetd.conf
pop3 stream tcp6 nowait root /usr/local/sbin/popper
:wq! (saves and quits vi)

#ps -ef | grep inetd
#kill -HUP inetd_PID
#telnet server 110

You can also check if the Sendmail and ircd services are available.
#telnet server 25
#telnet server 6667

No comments: