1. imap, ipop3 프로그램이 포함된 imap 패키지가 설치되었는지 확인
[root@embryo xinetd.d]# rpm -qa | grep imap
imap-2000-9
1.1 설치가 되어있지 않으면 패키지를 받아서 설치.
[root@embryo /root]# rpm -ivh imap-2000-9.i386.rpm
Preparing... ########################################### [100%]
1:imap ########################################### [100%]
2. /etc/hosts.deny 파일 및 /etc/hosts.allow 파일 수정
--------------------- /etc/hosts.deny ----------------
# hosts.deny This file describes the names of the hosts which are
# *not* allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#
# The portmap line is redundant, but it is left to remind you that
# the new secure portmap uses hosts.deny and hosts.allow. In particular
# you should know that NFS uses portmap!
ALL : ALL
--------------------- /etc/hosts.allow ----------------
# hosts.allow This file describes the names of the hosts which are
# allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#
ipop3d: ALL
3. /etc/xinetd.d/ipop3 파일내용중 disable= yes 를 no로 수정.
--------------------- /etc/xinetd.d/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
}
4. /etc/rc.d/init.d/ipchains stop , /etc/rc.d/init.d/iptables stop,
혹은 적절한 firewall 셋팅
레드햇 7.1 에는 기본적인 firewall 셋팅이 되어 있습니다.
firewall 셋팅을 없애는것은 위의 과정처럼 쉽지만 해킹사고의
원인이 될수 있다는 사실을 잊지 마십시요.
5. /etc/rc.d/init.d/xinetd 를 재시동 합니다.
[root@embryo /root]# /etc/rc.d/init.d/xinetd restart
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
6. 접속이 잘되는지 점검합니다.
[root@embryo /root]# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
+OK POP3 localhost.localdomain v2000.69rh server ready
quit
p.s.--------------------------------------------------
이미 정보는 이 게시판에 다 있습니다. 정리가 되지 않아서 제가 보기좋게
정리해서 써놓은것일 뿐이지요.
: 안녕하세요.
: 답변 감사합니다.
: 꾸벅..
: 그런데 제가 질문을 잘못드렸는데...
: sendmail은 이상없이 설치되었구요, 아웃룩에서 메일이 안되어서
: 어떤문제 인가 싶어 아마 pop3문제 같더라구요.
: 그래서 pop3가 제대로 설치된가 싶어
:
: ]#telnet localhost 110
: Trying 127.0.0.1...
: telnet: Unable to connect to remote host: Connection refused
:
: 이런메시지가 나오네요..
: 어떻게 해야할지 모르겠습니다.
: 사용하는 운영체계는 redhat7.1입니다.
: 귀찮으시더라도 다시한번 답변부탁드리겠습니다..
: 그럼 안녕히 계십시요..
: 꾸벅...
:
:
: : sendmail 이 사용하는 포트 번호는 25번 입니다.
: :
: : 110번은 pop3 deamon 이죠.
: :
: : : 안녕하세요..
: : : 레드햇7.1을 깔고 메일이 안되어서 아래와 같이 해보니까
: : : 이런에러 메시지가 뜨더라구요.
: : :
: : : ]#telnet localhost 110
: : : Trying 127.0.0.1...
: : : telnet: Unable to connect to remote host: Connection refused
: : :
: : : 이렇게 나오더라구요...
: : :
: : : 그런데 현재 sendmail데몬도 떠있고 그리고
: : : [root@mns /root]# ps -ef | grep sendmail
: : : root 14566 1 0 May18 ? 00:00:00 sendmail: accepting connections
: : :
: : : 이렇게 살아있습니다..
: : : 죄송하지만 어떤 문제 인지 답변 부탁드리겠습니다..
: : : 그럼 수고하십시요...
: : : 꾸벅...