[ÃÖ°æ¹Î]´ÔÀÌ ³²±â½Å ±Û:
>¸ÕÀú ´äº¯¿¡ °¨»çµå¸®°í,
>¿ì¼± ¸»¾¸ÇϽŴë·Î
>/etc/resolv.conf¼³Á¤ÇÑ
°ÍÀ» È®ÀÎÇß½À´Ï´Ù.
>
>--/etc/resolv.conf --
>nameserver 211.63.213.176 <--ÇöÀç ÀÛµ¿ÁßÀÎ ³×ÀÓ¼¹ö ÁÖ¼Ò
>nameserver 218.146.252.161 <--ÇöÀç ÀÛµ¿ÁßÀÎ ¼¹öÀÇ ÁÖ¼Ò(³×ÀÓ¼¹ö
ÀÛµ¿Áß)
>---------------------------------------------------------------
>
>´ÙÀ½ hostsÈÀÏÀº ¾ÈµÇ¼ ÀûÀ» ¸¸Å Àû¾ú½À´Ï´Ù.
>-- /etc/hosts --
>127.0.0.1 localhost.localdomain localhost
>127.0.0.1 localhost.com localhost
>127.0.0.1 kidneed.com localhost
>218.146.252.161 kidneed.com kidneed localhost.localdomain localhost
>
>´ÙÀ½ relay´Â
>-- /etc/mail/access ---
>localhost.localdomain RELAY
>localhost RELAY
>127.0.0.1 RELAY
>218.246.252.161 RELAY
>kidneed.com RELAY
>kidneed.co.kr RELAY
>-----------------------------------------------------------------
>makemap hash /etc/mail/access < /etc/mail/access
>
>±×³É º¸¿©µå¸®±â °Å½Ã±â ÇÏÁö¸¸, ±×³É ½ÇÁ¦ µµ¸ÞÀÎÇÏ°í ±×³É ³ª¿À°Ô ÇØ µÎ¾ú½À´Ï´Ù.
¸ÞÀÏ·Î µå¸±·Á°í Çصµ ¾Èº¸½Ç°Í °°¾Æ¼...
>´Ù½Ã ·Î±×ÈÀÏ º¸¿©µå¸³´Ï´Ù.
># tail -f /var/log/maillog Áß ÀϺκÐ....
>·Î±×ÈÀÏ º¸½Ã±â Á» ±×·¸ÁÒ..Á˼ÛÇÕ´Ï´Ù.
>----------------------------------------------------------------
>Mar 4 10:09:16 kidneed sendmail[21468]: h2419GRK021468: from=nobody, size=71,
class=0, nrcpts=1, msgid=<200303040109.h2419GRK021468@kidneed.com>,
relay=nobody@localhost
>
>Mar 4 10:12:25 kidneed sendmail[21468]: h2419GRK021468: to=km1101@naver.com, ctladdr=nobody (99/99),
delay=00:03:09, xdelay=00:03:09, mailer=relay, pri=30061, relay=localhost.com.
[10.11.12.13], dsn=4.0.0, stat=Deferred: Connection timed out with
localhost.com.
>-------------------------------------------------------------------
¿ª½Ã ¼¾µå¸ÞÀÏÀÇ ¸®Á¹¹ö ¹®Á¦ÀÎ°Í °°±º¿ä
mailer=esmtp, xxx, relay=rcvmail2.naver.com. [211.218.150.239],
ÀÌ¿Í °°ÀÌ ¼¾µå¸ÞÀÏÀÌ km1101@naver.com
¸ÞÀÏÀÌ °¥ ÃÖÁ¾¸ñÀûÁö¸¦
¸®Á¹ºùÇØ¾ß Çϴµ¥ localhost.com.À¸·Î º¯È¯ÇØ ¹ö¸®³×¿ä.
-- /etc/nsswitch.conf ----------
...
hosts: files nisplus nis dns
...
aliases: files nisplus
...
---------------------------------
ÀÌ·¸°Ô °íÃĺ¸¼¼¿ä..
(files °¡ ¸Ç¾ÕÀ¸·Î ¿Àµµ·Ï hosts ¿Í aliases ¸¦ ¼öÁ¤)
¸¸¾à ÀÌ·¸°Ô ÇÏ°íµµ ¾ÈµÈ´Ù¸é
sendmail.cf ÆÄÀÏ¿¡¼
#O ResolverOptions=+AAONLY
ÀÌ¿Í °°ÀÌ ÁÖ¼®À» Ãß°¡Çؼ(ÁÖ¼®ÀÌ Ç®·ÁÀÖ´Ù¸é) ±âº»°ªÀ» »ç¿ëÇϵµ·Ï
¼³Á¤ÇØ º¸¼¼¿ä.
Âü°í URL :
http://icc.skku.ac.kr/~greatlaw/unix/sendmail.html
|