가. IMAP(POP3) RPM 파일다운로드 및 설치하기 (yum 활용) [root@ihelpers xinetd.d]# yum search imap
Gathering header information file(s) from server(s)
Server: Red Hat Linux 9 - i386 - Base
Server: Red Hat Linux 9 - Updates
Finding updated packages
Downloading needed headers
Looking in available packages for a providing package
Available package: wl-common.noarch 0:2.10.1-1.1 from updates matches with
... [root@ihelpers xinetd.d]# yum install imap 나. 설치내용확인 [root@ihelpers xinetd.d]# rpm -ql imap
/etc/pam.d/imap
/etc/pam.d/pop
/etc/xinetd.d/imap
/etc/xinetd.d/imaps
/etc/xinetd.d/ipop2
/etc/xinetd.d/ipop3
/etc/xinetd.d/pop3s
/usr/sbin/imapd
/usr/sbin/ipop2d
/usr/sbin/ipop3d
... 다. 데몬 설정 및 구동 [root@ihelpers xinetd.d]# vi /etc/services
pop3 110/tcp pop-3 # POP version 3
imap 143/tcp imap2 # Interim Mail Access Proto v2
[root@ihelpers xinetd.d]# vi ipop3
disable 이 'yes' 로 되어 있다면 'no' 로 변경한다. # 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 += HOST DURATION
log_on_failure += HOST
disable = no
} [root@ihelpers xinetd.d]# /etc/init.d/xinetd restart
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ] 라. 데몬 확인 [root@ihelpers xinetd.d]# netstat -an | grep LIST
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22000 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN |