´ÙÀ½ ÀÌÀü Â÷·Ê

4. sendmail, popper °¡ drac¿Í Àß ÀÛµ¿ÇÏ´ÂÁö Å×½ºÆ®Çϱâ


1) Relay°¡ ±ÝÁöµÈ È£½ºÆ®·ÎºÎÅÍ smtp¼­¹ö Á¢¼ÓÇÏ¿© relay °ÅºÎ È®ÀÎ

# telnet mail.my.net 25   <---¸ÞÀϼ­¹öÀÇ ÁÖ¼Ò
  Trying 192.168.1.1...
  Connected to mail.my.net.
  Escape character is '^]'.
  220 mail.my.net ESMTP Sendmail 8.11.0/8.11.0; Tue, 21 Nov 2000 10:56:01 -0600
  helo blah    <-- ±×´ë·Î ½áÁà¾ß ÇÔ.
  250 mail.my.net Hello bofh [192.168.1.2], pleased to meet you
  mail from: bgates@microsoft.com
  250 2.1.0 bgates@microsoft.com... Sender ok
  rcpt to: president@whitehouse.gov
  550 5.7.1 president@whitehouse.gov... Relaying denied  <-- ¸±·¹ÀÌ°¡ °ÅºÎµÇ¾ú´Ù.
  quit
  221 2.0.0 mail.my.net closing connection

2)  pop-3·Î Æ÷Æ®·Î Á¢¼ÓÇÏ¿© ¸±·¹ÀÌ ±ÇÇÑ È¹µæÇϱâ

# telnet mail.my.net 110
  Trying 192.168.1.1...
  Connected to mail.my.net.
  Escape character is '^]'.
  +OK QPOP (version 3.1.2) at mail.my.net starting.
  user foo      <--- Smtp ¼­¹öÀÇ ¸ÞÀϾÆÀ̵ð
  +OK Password required for foo.
  pass bar
  +OK foo has 0 visible messages (0 hidden) in 0 octets.  <-- ¸±·¹ÀÌ ±ÇÇÑ È¹µæ
  quit
  +OK Pop server at mail.my.net signing off.

3) ´Ù½Ã smtp Æ÷Æ®·Î Á¢¼ÓÇÏ¿© ¸±·¹À̸¦ ÇÒ ¼ö ÀÖ´ÂÁö È®ÀÎ

  [root@bofh /root]# telnet mail.my.net 25
  Trying 192.168.1.1...
  Connected to mail.my.net.
  Escape character is '^]'.
  220 mail.my.net ESMTP Sendmail 8.11.0/8.11.0; Tue, 21 Nov 2000 10:56:01 -0600
  helo blah
  250 mail.my.net Hello bofh [192.168.1.2], pleased to meet you
  mail from: bgates@microsoft.com
  250 2.1.0 bgates@microsoft.com... Sender ok
  rcpt to: president@whitehouse.gov
  250 2.1.5 president@whitehouse.gov... Recipient ok  <-- ¸±·¹ÀÌ ¼º°ø
  quit
  221 2.0.0 mail.my.net closing connection

À§ÀÇ °úÁ¤À» º¸¸é pop-3Æ÷Æ®¿¡ Á¢¼ÓÀ» ÇÏ¿© ¸ÞÀÏ°èÁ¤ÀÇ ¾ÆÀ̵ð·Î ÀÎÁõ¿¡ ¼º°øÇϸé /etc/DRACd.db¿¡ Á¢¼ÓµÇ¾îÁø IP¸¦ ±â·ÏÇÏ¿© ±× IP·Î Á¢¼ÓÇÑ À¯Àú°¡ Relay°¡ °¡´ÉÇϵµ·Ï ÇØÁÖ °í ÀÖ´Ù. ´Ù½Ã¸»Çϸé Mail Client ÇÁ·Î±×·¥À¸·Î pop-3Æ÷Æ®¿¡ localhost¿¡ ÀÖ´Â ¸ÞÀÏ ¾ÆÀ̵ð ·Î Á¢¼ÓÀ» ¼º°øÇϱ⸸ ÇÏ¸é ¸ÞÀÏ Relay¸¦ °¡´ÉÇÏ°Ô ÇÏ°í ÀÖ´Ù. µ¿Àû¾ÆÀÌÇǸ¦ °¡Áö°í ÀÖ´Â ¸Þ ÀÏÀ¯Àú¶ó ÇÒÁö¶óµµ localhost¿¡ ÀÎÁõµÈ ¸ÞÀÏ°èÁ¤¸¸ ÀÖÀ¸¸é sendmailÀÇ /etc/mail/access¿¡ ¼³Á¤ÇØÁÖÁö ¾Ê´õ¶óµµ ¾ó¸¶µçÁö Relay¼³Á¤À» µ¿ÀûÀ¸·Î »ý¼ºÇÏ¿© Relay¸¦ °¡´ÉÇÏ°Ô ÇØÁØ´Ù.

Âü°í·Î /etc/DRACd.db¿¡ ±â·ÏµÇ¾îÁø IP data´Â ±âº»À¸·Î 30ºÐÀÇ µ¥ÀÌÅÍÀ¯È¿½Ã°£À» °¡ÁöÁö¸¸ http://mail.cc.umanitoba.ca/drac¸¦ »ìÆ캸¸é ÀÌ À¯È¿½Ã°£À» Á¶ÀýÇÒ ¼ö ÀÖ´Ù.

Âü°í·Î ÀÌ DRAC¸¦ ÀÌ¿ëÇØ ¸±·¹ÀÌ °¡´ÉÇÏ°Ô ÇÏ·Á¸é PO3À¯Àú´Â ²À POP3 ¼­¹ö¿¡ Á¢¼ÓÇÏ´Â °ÍÀÌ ¼±ÇàµÇ¾î¾ß ÇÑ´Ù. ¸¸¾à DRAC ÀÎÁõ À¯È¿½Ã°£ÀÌ Á¾·áµÇ¾ú´Ù¸é Relay °ÅºÎ ¸Þ¼¼Áö¸¦ ¹ÞÀ» °ÍÀÌ´Ù.

À̱ÛÀÇ ¿ø¹®Àº ¹ø¿ªµÇ¾îÁø °Í°ú ¾à°£ ´Ù¸£´Ù. Á÷¿ªÀ» ÇÏÁö ¾Ê°í ÀÇ¿ªÀ» Ç߱⠶§¹®ÀÌ´Ù. ÇÏÁö¸¸ ÀǹÌÀü´Þ¿¡´Â º° Â÷ÀÌ°¡ ¾øÀ» ÁÙ ¾È´Ù. ¿ø¹®À» º¸°íÀÚ ÇÏ´Â ºÐÀº http://www.ls-l.net/dracÀ» ÂüÁ¶ÇÏ¸é µÈ´Ù.


´ÙÀ½ ÀÌÀü Â÷·Ê