[root@OMSTEST xinetd.d]# telnet localhost 110 -> pop3에 대해 아무 설정도 안하셨다면
포트가 열려 있지 않습니다.
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
[root@OMSTEST xinetd.d]# cd /etc/xinetd.d -> xinetd.d아래로 이동합니다.
(redhat 6.2의 inetd.conf파일 이라고 생각하시면 됩니다.)
[root@OMSTEST xinetd.d]# ls
chargen daytime echo finger imaps ipop3 pop3s rlogin rsync telnet time-udp
chargen-udp daytime-udp echo-udp imap ipop2 ntalk rexec rsh talk time
[root@OMSTEST xinetd.d]# vi ipop3
# default: off
# description: The POP3 service allows remote users to access their mail
# using an POP3 client such as Netscape Communicator, mutt,
# or fetchmail.
service pop3
{
socket_type = stream
wait = no
user = root
server = /usr/sbin/ipop3d
log_on_success += USERID
log_on_failure += USERID
disable = no
로 설정 하시기 바랍니다.
[root@OMSTEST xinetd.d]# /etc/rc.d/init.d/xinetd restart -> 데몬을 재구동 시킵니다.
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
[root@OMSTEST xinetd.d]# telnet localhost 110 -> 110 번 포트로 접근을 합니다.
Trying 127.0.0.1...
Connected to OMSTEST.
Escape character is '^]'.
+OK POP3 OMSTEST v2000.70rh server ready
user jslee -> user 계정
+OK User name accepted, password please
pass ****** -> pass 패스워드
+OK Mailbox open, 0 messages -> mailbox가 open되었습니다.
quit
+OK Sayonara
Connection closed by foreign host
위와 같이 결과가 나온다면 pop3가 제대로 설정 된 것 입니다.
날짜: 2005-06-01 13:58:49,
조회수: 2747 |