http://www.hackerschool.org/HS_Boards/zboard.php?id=Free_Lectures&no=50 [º¹»ç]
/********************************************************************************/
Á¦ ¸ñ : IMAP, POP3 ¼Ò½º·Î ¼³Ä¡Çϱâ
ÀÛ¼ºÀÚ : h41d35@Realskulls.Team
/********************************************************************************/
1.IMAP, POP3 ¶õ
IMAP¼¹ö(µ¥¸ó)Àº ¸ÞÀÏÀ» ¹ÞÀº ¼¹ö¿¡¼..Ŭ¶óÀ̾îÆ®·Î ¹ÞÀº ¸ÞÀÏÀ» Àü¼Û
ÇØÁÖ´Â ¿ªÇÒÀ» ÇÏ´Â ÇÁ·Î±×·¥ÀÌ´Ù. ÇÏÁö¸¸.. ¸ÞÀÏÀÇ ¿øº»Àº ¼¹ö¿¡ ³²°Ü µÐ´Ù.
¹Ý´ë·Î POP3¼¹ö(µ¥¸ó)Àº IMAP¿Í °°Àº ¿ªÇÒÀ» ÇÏ´Â ÇÁ·Î±×·¥ÀÌÁö¸¸.. ¸ÞÀÏÀÇ ¿øº»À»
¼¹ö¿¡ ³²°ÜµÎÁö ¾Ê°í..Ŭ¶óÀ̾ðÆ®¿¡ ¹Ù·Î Àü¼ÛÇØÁÖ°í...¿øº»À» ¼¹ö¿¡ ³²°Ü µÎÁö
¾Ê´Â´Ù.(ÀÌÇØ°¡ ¾ÈµÇ½Ã¸é.. Áú¹® ¹Ù¶÷... ½±°Ô Àû¾ú´Âµ¥....¤Ñ¤Ñ)
2. ¼Ò½º ´Ù¿î ¹Þ±â
# ncftp //ftp ÇÁ·Î±×·¥ ¿°í...^^
# open ftp.cac.washington.edu //¿Í½ÌÅÏ ´ëÇÑ Á¢¼Ó...^^
# cd imap/old
# get imap-2001.FINAL.tar.Z
# tar zxvf imap-2001.FINAL.tar.Z //¾ÐÃà Ç®°í
# cd imap-2001.RELEASE-CANDIDATE.1 //µð·ºÅ丮 À̵¿
# make slx //ÀνºÅç
# cp imapd/imapd /usr/sbin/ //½ÇÇàÆÄÀÏ º¹»ç
# cp ipopd/ipop3d /usr/sbin/
3. IMAP, POP3 ȯ°æ ¼³Á¤
# vi /etc/xinetd.d/imapd
service imap
{
disable = no
socket_type = stream
wait = no
user = root
server = /usr/sbin/imapd
log_on_success += DURATION USERID
log_on_failure += USERID
}
:wq! //ÀúÀåÇÏ°í ³ª°¨
# vi /etc/xinetd.d/ipop3d
service pop3
{
disable = no
socket_type = stream
wait = no
user = root
server = /usr/sbin/ipop3d
log_on_success += USERID
log_on_failure += USERID
}
:wq! //ÀúÀåÇÏ°í ³ª°¨
4. IMAP, POP3 ½ÇÇà
# /etc/rc.d/init.d/xinetd restart
5. IMAP, POP3 µ¿ÀÛ Å×½ºÆ®
[imap Å×½ºÆ®]
# telnet localhost 143
Trying 127.0.0.1...
Connected to 10004oke.
Escape character is '^]'.
* OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS AUTH=LOGIN] 10004oke IMAP4rev1 2001.3
09 at Sat, 25 Aug 2001 02:20:09 +0900 (KST)
[pop3 Å×½ºÆ®]
# telnet localhost 110
Trying 127.0.0.1...
Connected to 10004oke.
Escape character is '^]'.
+OK POP3 10004oke v2001.76 server ready
|
Hit : 11424 Date : 2003/09/12 07:37
|