<<< 553 5.5.4 ... Domain name required
Relay test #5 : Ãâ¹ßÁö ¸ÞÀÏÁÖ¼Ò ¾øÀÌ ¸ÞÀÏÀ» º¸³»±â À§ÇÑ ½Ãµµ
>>> mail from:<>
<<< 250 2.1.0 <>... Sender ok
>>> rcpt to:ksch90@korea.com
<<< 550 5.7.1 ksch90@korea.com... Relaying denied
Relay test #6 : ÇÇÇؼ¹öÀÇ FQDN(Fully qualified domain name)À» Ãâ¹ßÁö ÁÖ¼Ò·Î ÁöÁ¤ÇÏ¿© ½Ãµµ
>>> mail from: root@certlinux.certcc.or.kr
<<< 250 2.1.0 root@certlinux.certcc.or.kr... Sender ok
>>> rcpt to: ksch90@korea.com
<<< 550 5.7.1 ksch90@korea.com... Relaying denied
Relay test #7 : ÇÇÇØ SMTP¼¹öÀÇ IPÁÖ¼Ò¸¦ []¸¦»ç¿ëÇÏ¿© ½Ãµµ
>>> mail from: spamtest@[172.16.4.140]
<<< 250 2.1.0 spamtest@[172.16.4.140]... Sender ok
>>> rcpt to: ksch90@korea.com
<<< 550 5.7.1 ksch90@korea.com... Relaying denied
Relay test #8 : %½ºÅ¸ÀÏÀÇ relay¸¦»ç¿ëÇÏ¿© ½Ãµµ. ¸¹Àº ¿¹ÀüÀÇ MTAµéÀº ÀÌ·¯ÇÑ ¹®¹ýµéÀ» Áö¿øÇÒ ¼öÀÖ´Ù.
>>>mail from:ksch@kisa.or.kr
<<<250 2.1.0 ksch@kisa.or.kr... Sender ok
>>>rcpt to:ksch90%korea.com@certlinux.certcc.or.kr
<<<550 5.7.1 ksch90%korea.com@certlinux.certcc.or.kr... Relaying denied
Relay test #9 : FQDN´ë½Å¿¡ ÇÇÇØ SMTP¼¹öÀÇ IPÁÖ¼Ò¸¦ »ç¿ëÇÏ¿© %½ºÅ¸ÀÏÀÇ relay¸¦½Ãµµ
>>> mail from:ksch@certlinux.certcc.or.kr
<<< 250 2.1.0 ksch@certlinux.certcc.or.kr... Sender ok
>>> rcpt to:ksch%kisa.or.kr@[172.16.4.140]
<<< 550 5.7.1 ksch%kisa.or.kr@[172.16.4.140]... Relaying denied
Relay test #10 : ÀÌÁßÀοëºÎÈ£("")¸¦ »ç¿ëÇÏ¿© ¸ñÀûÁö ÁÖ¼Ò¸¦ ÁöÁ¤ÇÏ¿© relay¸¦ ½Ãµµ
>>> mail from:ksch@certlinux.certcc.or.kr
<<< 250 2.1.0 ksch@certlinux.certcc.or.kr... Sender ok
>>> rcpt to:"ksch90@korea.com"
<<< 550 5.7.1 "ksch90@korea.com"... Relaying denied
>>> rcpt to:"ksch@kisa.or.kr"
<<< 550 5.7.1 "ksch@kisa.or.kr"... Relaying denied
Relay test #11 : %½ºÅ¸ÀÏÀÇ ¹®¹ý°ú ÀÌÁßÀοëºÎÈ£("")¸¦ »ç¿ëÇÏ¿© Relay¸¦ ½Ãµµ
>>> mail from:ksch@certlinux.certcc.or.kr
<<< 250 2.1.0 ksch@certlinux.certcc.or.kr... Sender ok
>>> rcpt to:"ksch90%korea.com"
<<< 550 5.7.1 "ksch90%korea.com"... Relaying denied
>>> rcpt to:"ksch%kisa.or.kr"
<<< 550 5.7.1 "ksch%kisa.or.kr"... Relaying denied
Relay test #12 : Ãâ¹ßÁö E-MailÁÖ¼ÒÀÇ È£½ºÆ®¸íÀÌ ÇÇÇØSMTP ¼¹öÀÇ IPÁÖ¼ÒÀÌ°í, ¶ÇÇÑ ¸ñÀûÁö E-mailÁÖ¼Ò°¡ÀÌÁßÀοëºÎÈ£¸¦ »ç¿ëµÈ @@ ¸±·¹ÀÌ ¹®¹ýÀ» »ç¿ëÇÏ¿© ¸±·¹ÀÌ ½Ãµµ
>>> mail from:ksch@[172.16.4.140]
<<< 250 2.1.0 ksch@[172.16.4.140]... Sender ok
>>> rcpt to:"ksch90@korea.com@certlinux.certcc.or.kr"
<<< 550 5.7.1 "ksch90@korea.com@certlinux.certcc.or.kr"... Relaying denied
Relay test #13 : ¸ñÀûÁö E-MailÁÖ¼Ò¿¡ ÀÌÁßÀοëºÎÈ£¸¦ »ç¿ëÇÏ°í ÇÇÇØ SMTP¹ö¼ÀÇ IPÁÖ¼Ò¸¦ »ç¿ëÇؼ relay
½Ãµµ
>>> mail from:ksch@certlinux.certcc.or.kr
<<< 250 2.1.0 ksch@certlinux.certcc.or.kr... Sender ok
>>> rcpt to:"ksch90@korea.com"@[172.16.4.140]
<<< 550 5.7.1 "ksch90@korea.com"@[172.16.4.140]... Relaying denied
Relay test #14 : ÀοëºÎÈ£ ¾øÀÌStyleÀ» »ç¿ëÇÏ°í SMTP¼¹öÀÇ IPÁÖ¼Ò¸¦ »ç¿ëÇÏ¿© ¸±·¹ÀÌ ½Ãµµ
>>> mail from:ksch@certlinux.certcc.or.kr
<<< 250 2.1.0 ksch@certlinux.certcc.or.kr... Sender ok
>>> rcpt to:ksch90@korea.com@[172.16.4.140]
<<< 550 5.7.1 ksch90@korea.com@[172.16.4.140]... Relaying denied
Relay test #15 : Relay¸¦ Çã¿ëÇÒ ¼ö ÀÖ´Â ¶Ç´Ù¸¥ email syntax
>>> mail from:ksch@[172.16.4.140]
<<< 250 2.1.0 ksch@[172.16.4.140]... Sender ok
>>> rcpt to:@certlinux.certcc.or.kr:root@kisa.or.kr
<<< 550 5.7.1 @certlinux.certcc.or.kr:root@kisa.or.kr... Relaying denied
Relay test #16 : ÇÇÇØ SMTP¼¹öÀÇ IPÁÖ¼Ò¸¦ »ç¿ëÇÏ¿© ¸±·¹À̸¦ Çã¿ëÇÒ ¼ö ÀÖ´Â ¶Ç´Ù¸¥ E-mail Syntax ¹æ¹ý
>>> mail from:ksch@certlinux.certcc.or.kr
<<< 250 2.1.0 ksch@certlinux.certcc.or.kr... Sender ok
>>> rcpt to:@[211.252.150.11]:root@kisa.or.kr
<<< 550 5.7.1 @[211.252.150.11]:root@kisa.or.kr... Relaying denied
Relay test #17 : E-mail ÁÖ¼ÒÀÇ ¹®¹ýÀ» º¯Á¶ÇÏ°í, IPÁÖ¼Ò°¡ Ãâ¹ßÁöÀÇ E-MailÁÖ¼Ò·Î »ç¿ëÇÏ¿© ¸±·¹À̽õµ
>>> mail from:ksch@[172.16.4.14]
<<< 250 2.1.0 ksch@[172.16.4.14]... Sender ok
>>> rcpt to:
<<< 550 5.7.1 ... Relaying denied
>>> rcpt to:kisa.or.kr!nobody
<<< 550 5.7.1 kisa.or.kr!nobody... Relaying denied
>>> rcpt to:kisa.or.kr!root
<<< 550 5.7.1 kisa.or.kr!root... Relaying denied
Relay test #18 : E-mail ÁÖ¼ÒÀÇ ¹®¹ýÀ» º¯Á¶ÇÏ°í ÇÇÇØ SMTP¼¹öÀÇ IPÁÖ¼Ò¸¦ ¸ñÀûÁö ÁÖ¼Ò·Î »ç¿ëÇÏ¿© Relay½Ãµµ
>>> mail from:ksch@certlinux.certcc.or.kr
<<< 250 2.1.0 ksch@certlinux.certcc.or.kr... Sender ok
>>> rcpt to:kisa.or.kr!nobody@[172.16.4.14]
<<< 550 5.7.1 kisa.or.kr!nobody@[172.16.4.14]... Relaying denied
Relay test #19 : "Postmaster"ÀÇ °èÁ¤À̸§À» »ç¿ëÇÏ¿© ½ÃµµÇÒ °æ¿ì, ¾Æ¸¶µµ ÀÌ·¯ÇÑ °æ¿ì´Â ¾î¶² SMTP¼¹ö´ÂƯº°ÇÑ °æ¿ì·Î Ãë±ÞµÇ¾îÁ®¼ ¸±·¹ÀÌ°¡ Çã¿ëµÉ ¼ö µµ ÀÖ´Ù.
>>> mail from:postmaster@certlinux.certcc.or.kr
<<< 250 2.1.0 postmaster@certlinux.certcc.or.kr... Sender ok
>>> rcpt to:root@kisa.or.kr
<<< 550 5.7.1 root@kisa.or.kr... Relaying denied
3. Fix The Problem (¹®Á¦ ÇØ°á)
ÀÌÀý¿¡¼´Â ±¹³»¿¡¼ °¡Àå º¸ÆíÈ µÇ¾î ¸¹ÀÌ »ç¿ëµÇ´Â MTA¿¡ ´ëÇؼ¸¸ ¾ð±ÞÇÏ¿´´Ù. UNIX±â¹Ý¿¡¼´Â sendmail, exim¿¡´ëÇؼ¸¸ ±â¼úÇÏ¿´°Å, Window Workgroup¿¡¼´Â EMWAC¿Í MicrosoftÀÇ Exchange Server¿¡´ëÇؼ¸¸ ±â¼ú ÇÏ¿´´Ù.
3.1 UNIX
3.1.1 Exim
- o Status : Freely Avaliable
- o Systems : UNIX
- o Info : http://www.exim.org
- o Description :
Exim MTAÀÇÀåÁ¡µéÀº ¸ÞÀÏ ÇÊÅ͸µ°ú ¸ÞÀÏÀÇ È¿°úÀûÀΠ󸮴ɷ¿¡ ÀÖ´Ù. ÃÖ±Ù ¹öÀüÀº µðÆúÆ®·Î ¸ÞÀÏ ¸±·¹ÀÌ°¡Â÷´ÜµÇµµ·Ï ¼³Á¤µÇ¾î ÀÖ´Ù. È£½ºÆ®, µµ¸ÞÀÎ, ³×Æ®¿öÅ©¿¡ ´ëÇÑ ¸±·¹À̸¦ Á¦¾îÇϱâ À§ÇÑ ¸î°¡ÁöÀÇ È¯°æ ¼³Á¤ ¿É¼ÇµéÀÌ ÀÖ´Ù. ÀÌ·¯ÇÑ ¿É¼ÇµéÀ» ¼³Á¤ÇÏ´Â ¹æ¹ýµéÀ» ±â¼úÇÏ°í ÀÖ´Â ´ÙÀ½ÀÇ »çÀÌÆ® Á¤º¸¸¦ ÂüÁ¶Çϱ⠹ٶõ´Ù.( http://www.exim.org/howto/relay.html )
¶ÇÇÑ EximÀº »ç¿ëÀÚ·Î º¸³»¾îÁö´Â SpamÀ»ÁÙÀ̱â À§ÇÑ ´Ù¾çÇÑ MAPS ÇÊÅͱâ´ÉÀ» »ç¿ëÇÒ ¼ö ÀÖ´Ù. ´õÀÚ¼¼ÇÑ Á¤º¸´Â´ÙÀ½ÀÇhowto¹®¼¸¦ÂüÁ¶Çϱâ¹Ù¶õ´Ù. ( http://www.exim.org/howto/rbl.html )
3.1.2 Sendmail Version 8
- o Status : Freely Avaliable
- o Systems : Unix
- o Info : http://www.sendmail.org
- o Description :
¹öÀü 8.8.4ÀÌÀüÀÇ ¹öÀüÀº ÇØÅ·Ãë¾àÁ¡ÀÌ Á¸ÀçÇÑ´Ù. ½ÉÁö¾î ÀüüÀûÀ¸·Î ¾ÈÀüÇÏÁö ¾ÊÀºMTAÀ̹ǷΠUpgradeÇϱâ¹Ù¶õ´Ù.
8.8.x¹öÀü¿¡ ´ëÇÑ RulesetµéÀº sendmail.org¿¡ÀÖ´Â Claus AsmannÀÇ À¥»çÀÌÆ® (http://www.sendmail.org/~ca/email/check.html)¸¦ ¹æ¹®Çϸé°ü·ÃµÈ ÃÖ½ÅÀÇ Á¤º¸µéÀÌ ÀÖ´Ù. ¹°·Ð ´Ù¸¥ »çÀÌÆ®µéµµ °ü·ÃµÈ ¸¹Àº ÁÁÀº Á¤º¸µéÀÌ ÀÖÁö¸¸ CalusÀÇ»çÀÌÆ®°¡ °¡Àå ºó¹øÇÏ°Ô ÀڷḦ ¾÷±×·¹À̵åÇÏ´Â °æÇâÀÌÀÖ´Ù. ±×¸®°í 8.8.x¹öÀüµéÀÌ µ¿ÀÛÇÏ°í ÀÖ´Â ¸¹Àº »çÀÌÆ®µéÀÌ anti-relay±¸¼º¼³Á¤ ±â´ÉÀ» Ãß°¡ÇÏ¿´Áö¸¸, ¿©ÀüÈ÷ ÇØÅ·´çÇÒ °¡´É¼ºÀÌ ÀÖ´Ù.
¶Ç´Ù¸¥ ÁÁÀº Á¢±Ù¹æ¹ýÁßÀÇ Çϳª´Â POP Æнº¿öµå¸¦ »ç¿ëÇÏ¿© ±×µé ÀڽŵéÀ» ÀÎÁõÇÑ »ç¿ëÀڵ鿡°Ô¸¸ ¸ÞÀϼ¹öÀÇ Á¢±ÙÀ» Çϵµ·Ï Á¦ÇÑÇÏ´Â °ÍÀÌ´Ù. ÀÌ°ÍÀº ¼ÒÀ§ POP-before-SMTP ¼Ö·ç¼ÇÀ̶ó ºÒ¸®´Â ¹æ¹ýÀÌ´Ù. ÀÌ·¸°Ô»ç¿ëÇϱâ À§Çؼ sendmailÀÇ È¯°æ¼³Á¤À» Çϴ°ÍÀÌ º¹ÀâÇÏ´Ù ÇÒÁö¶óµµ "roaming" »ç¿ëÀڵ鸦 °¡Áø ÇÁ·Î¹ÙÀÌ´õ(Provider)µé¿¡°Ô´Â ÈǸ¢ÇÑ ¼Ö·ç¼ÇÁßÀÇ Çϳª¶ó ÇÒ ¼ö ÀÖ´Ù.
http://spam.abuse.net/tools/smPbS.html
8.9.0¹öÀü¿¡¼´Â µðÆúÆ®·Î ¸ÞÀÏ ¸±·¹ÀÌ ±â´ÉÀ» Á¦ÇÑÇϵµ·Ï µÇ¾îÀÖÀ¸¸ç ÀÌ·¯ÇÑ ±â´ÉµéÀ» Á¦¾îÇϱâ À§ÇÑ ¸¹Àº ȯ°æº¯¼öµéÀ» Á¦°øÇÑ´Ù. ÀÌ·¯ÇÑ È¯°æÆĶó¹ÌÅ͵éÀÇ ¼³Á¤À» ¿Ã¹Ù¸£°Ô »ç¿ëÇϱâ À§Çؼ´Â cf/README ÆÄÀÏÀ» Anti-Spam configuration ControlºÎºÐÀ» ÂüÁ¶Çϱ⠹ٶõ´Ù.
(http://www.sendmail.org/m4/anti-spam.html)
o Caution :
´ëºÎºÐÀÇ ÀÌ·¯ÇÑ Anti-Spam Relay ¼Ö·ç¼ÇµéÀº ¸ÞÀÏ°ü¸®ÀÚ°¡ Çã¿ëµÇ´Â Relay µµ¸ÞÀεéÀÇ ¸®½ºÆ®µéÀ» ¼³Á¤Çϴ°ÍÀ» ÇÊ¿ä·Î ÇÑ´Ù. ÀÌ ¸®½ºÆ®¿¡´Â º¸µçÇã°¡ ÀÎÁõµÈ µµ¸ÞÀε鸦 Æ÷ÇÔÇÏ°í ÀÖ´ÂÁö ¹Ýµå½Ã È®ÀÎÇÏ¿©¾ß Çϸç ÁÖÀÇÇÏ¿©¾ß ÇÒÁ¡Àº ¹Ýµå½Ã MX (Mail Exchanger)»Ó¸¸ ¾Æ´Ï¶ó ´ç½ÅÀÇ µµ¸ÞÀο¡¼ »ç¿ëÇÏ°í ÀÖ´Â °¡»óÀÇ µµ¸ÞÀϵéÀÌ Æ÷ÇԵǵµ·Ï ¼³Á¤ÇÏ¿©¾ß ÇÑ´Ù. ±×·¸Áö ¾ÊÀ¸¸é ´ç½ÅÀÌ º¸³½ ¸ÞÀÏÀÌ °ÅÀýµÉ ¼öµµ ÀÖÀ» °ÍÀÌ´Ù.
´ç½ÅÀÇ ¸ÞÀÏ ¼¹ö°¡ FEATURE(relay_entire_domain)À» »ç¿ëÇؼ 8.9.x¹öÀü ÀÌ»óÀÇ sendmailÀ» ±¸¼ºÇÏ¿´´Ù¸é, ÀÌ´Â ´ç½ÅÀÇ µµ¸ÞÀγ»¿¡ ÀÖ´Â ¸ðµç È£½ºÆ®·ÎºÎÅÍÀÇ ¸±·¹À̸¦ Çã¿ëÇÑ´Ù´Â °ÍÀ» ÀǹÌÇÑ´Ù. ¸¸¾à "relay_entire_domain"ÀÌ È£½ºÆ® À̸§("host." : host.domain.com)À»»ç¿ëÇÑ´Ù¸é ºÒÇàÈ÷µµ µðÆúÆ®·ÎsendmailÀº´ç½ÅÀÇ ½Ã½ºÅÛ¿¡ Àִ¸ðµç IP ÁÖ¼Ò¸¦ üũÇؼ "reverse lookups"¸¦¼öÇàÇÑ´Ù. ¸ÞÀϼ¹öÀÇ ½Ã½ºÅÛºÎÇϸ¦ °¡Áß½ÃÅ°°Ô µÉ °ÍÀÌ´Ù. Spam RelayÀÇ °¡ÀåÁÁÀº ÇØ°á¹æ¹ýÀº .cfÆÄÀÏÀ» Æ÷ÇÔÇÏ¿© relay_entire_domainÀ» »ç¿ëÇÏ´Â ´ë½Å¿¡ IPÁÖ¼Ò¸¦ »ç¿ëÇÏ¿© RelayÈ£½ºÆ®¸¦ ¼³Á¤ÇÏ´Â °ÍÀÌ ¼³Á¤»óÀÇ ¿À·ù¸¦ÇØ°áÇÒ ¼ö ÀÖ´Â ÁÁÀº ¹æ¹ýÀÌ µÉ¼ö ÀÖ´Ù..
3.2 Windows
3.2.1 EMWAC IMS
- o Status : Freeware
- o Systems : Windows
- o Info : http://www1.sica.com/IMS
- o Description :
EMWAC(European Microsoft Windows NT Academic Centre : http://emwac.ed.ac.uk/)´Â ¹«·á¿ë Window/NT ¸ÞÀϼ¹öÀÎ IMS(Internet Mail Server)¸¦ ¸¸µé¾ú´Ù. °¡Àå ÃÖ±Ù ¹öÀüÀÎ 0.83´ÂÇã°¡µÇÁö ¾Ê´Â ¸ÞÀÏ ¸±·¹ÀÌ Â÷´ÜÀ»À§ÇÑ ÇØ°áÃ¥À» Á¦°øÇÏÁö ¾Ê´Â ´ÜÁ¡ÀÌ ÀÖ´Ù. ±×·¡¼ SICA Consulting Service ( http://www.sica.com/ )´Â ÀÌ ¹®Á¦¿¡ ´ëÇÑ°¡´ÉÇÑ ÇØ°áÃ¥À¸·Î add-on¼ºñ½º¸¦ Á¦°øÇÏ¿´´Ù.ù¹ø°·Î IMS¿¡ ÇÊÅ͸µ ±â´ÉÀ»ºÎ¿©ÇØÁÖ´ÂSCMSFILTER (http://www.sica.com/freestuf/scsmfilt.htm)¸¦¼³Ä¡ÇÏ°í ³ª¼ Gorden FecykÀÇ Antirelay PluginÀ»(http://www.orca.bc.ca/win95/antirelay.zip) ¼³Ä¡ÇÏ¸é ½ºÆÔ¸±·¹ÀÌ¿¡´ëÇÑ ¹®Á¦Á¡À» ÇØ°áÇÒ ¼ö ÀÖÀ» °ÍÀÌ´Ù.
3.2.2 Microsoft Exchange Server
- o Status : Commercial (Microsoft Corp.)
- o Systems : Win/NT
- o info : http://www.microsoft.com
- o Description :
Version 5.0Àº ¸±·¹ÀÌ¿¡ Ãë¾àÇÏ´Ù. ´Ù½Ã ¸»Çϸé Exchange Server 5.0ÀÌ ÀÎÅÍ³Ý»ó¿¡ ¿¬°áµÇ¾î ÀÖÀ¸¸é ¿ÜºÎÀǽºÆÔ¸ÞÀÏ °ø°ÝÀÚ¿¡°Ô relay¸¦Çã¿ëÇÒ °ÍÀÌ´Ù.
5.5 ¹öÀüºÎÅÍ Çã°¡µÇÁö ¾ÊÀº relay¸¦ ¿¹¹æÇÒ ¼ö Àִ±â´ÉÀ» Áö¿øÇÑ´Ù. ÀÌ·¯ÇÑ Anti-Relay ¿¡ ´ëÇÑ»ó¼¼ÇÑ ¼³¸íÀº ´ÙÀ½ »çÀÌÆ®¸¦ ÂüÁ¶Çϱ⠹ٶõ´Ù.
(http://www.microsoft.com/technet/exchange/relay.asp)
¸¸¾à ´ç½ÅÀÇ Exchange Mail Server°¡5.5¹öÀü º¸´Ù ³·Àº ¹öÀüÀ» »ç¿ëÇÏ°í ÀÖ´Ù¸é Áö±Ý ¾÷±×·¹À̵åÇؾ߸¸ ÇÑ´Ù.
4. Âü°í ¹®Çå ¹× À¥»çÀÌÆ®
[1] http://sendmail.net/
[2] http://sendmail.org/
[3] http://www.whitehats.com/library
[4] http://www.rahul.net/falk/index.html
[5] http://www.plus.or.kr
[6] http://www.exim.org/
[7] http://www1.sica.com/IMS/
[8] http://www.microsoft.com/
Korea Computer Emergency Response Team Coordination Center: CERTCC-KR, cert@certcc.or.kr
-Ãâó: Çѱ¹Á¤º¸º¸º¸ÁøÈï¿ø