|
News,
Internal,
Projects,
Home Software, Support, Documentation |
On Thu, Sep 05, 2002 at 10:10:07AM +0900, À̹Îö wrote:
>> SMTP ÀÎÁõÀ» Çϱâ À§ÇØ ¿©±â¿¡ ¿©·¯¹ø Áú¹®À» ¿Ã¸®°í ¶Ç °ü·Ã ÀڷḦ ã¾Æº¸°í
>> ÇØ¼
>> ¸Â´ÂÁö Ʋ¸°Áö´Â ¸ð¸£°ÚÁö¸¸ ¼³Á¤À» ÇØ¼ ¾Æ¿ô·è µî¿¡¼ º¸³¾ ¼¹ö ÀÎÁõÀ»
>> Ã¼Å©ÇØ¼ ¸ÞÀÏÀ» º¸³»¸é Àß °©´Ï´Ù.
>> Á¦°¡ ÇÑ ¼³Á¤Àº sendmail.cf ÆÄÀÏ¿¡ ¾Æ·¡ÀÇ ³»¿ëÀ» ³Ö¾ú½À´Ï´Ù
>>
>> C{TrustAuthMech}DIGEST-MD5 CRAM-MD5 LOGIN
>> O AuthMechanisms=LOGIN GSSAPI KERBEROS_V4 DIGEST-MD5 CRAM-MD5
>>
>> ±×¸®°í ³ª¼ sendmailÀ» Àç½ÃÀÛ ÇÏ´Ï Àß µÇ´õ±º¿ä
>> ±×·±µ¥ ¹®Á¦°¡ »ý°å½À´Ï´Ù.
>> ·ÎÄà »ó¿¡¼ ¸ÞÀÏÀ» º¸³»·Á°í
>> mail ¸í·É¾î¸¦ »ç¿ëÇØ º¸¸é ÀÎÁõÀÌ µÇÁö ¾Ê¾Æ ¸ÞÀÏÀÌ º¸³»ÁöÁö°¡ ¾Ê½À´Ï´Ù.
>> Áï ¿ÜºÎ¿¡¼¸¸ ÀÎÁõÀ» ÅëÇØ¼ º¸³¾¼ö ÀÖ°Ô µÇ¾î¹ö¸° °ÍÀÌÁÒ.
>>
sendmailÀÌ MTA(localÀÇ sendmailÆ÷ÇÔ)¿¡ ¿¬°áµÉ¶§´Â sendmailÀÌ client·Î µ¿ÀÛÇϰÔ
µË´Ï´Ù. À̶§ SMTP AUTH¸¦ ¼¹ö¿¡¼ ¿ä±¸ÇÒ °æ¿ì sendmailÀÚü°¡ ÀÎÁõÀ» ¹Þ¾Æ¾ß
ÇÕ´Ï´Ù.
LocalÀÎÁõÀÌ ¹®Á¦¶ó¸é ´ÙÀ½°ú °°Àº ºÎºÐÀ» Ãß°¡ÇÏ¿© mcÆÄÀÏÀ» ¸¸µé¾î¼ submit.mcÆÄÀÏÀ»
»ý¼ºÇغ¸¼¼¿ä.(sendmail 8.12.X¸¦ °¡Á¤ÇϰڽÀ´Ï´Ù.)
...
FEATURE(`authinfo', `DATABASE_MAP_TYPE /etc/mail/msp-authinfo')
...
/etc/mail/msp-authinfo´Â ÀÎÁõÁ¤º¸°¡ µé¾î°¡¸é µË´Ï´Ù.
¿¹¸¦µé¸é
AuthInfo:127.0.0.1 "U:smmsp" "xxx-your-password-xxx"
define(`confRUN_AS_USER', `smmsp:smmsp')
½ÄÀÔ´Ï´Ù.
¾ÆÆÄÀÏÀº FEATURE¿¡¼ DB¸¦ »ç¿ëÇϵµ·Ï Ç߱⠶§¹®¿¡ DB·Î ¹Ù²Ù¼Å¾ß ÇÕ´Ï´Ù.
#makemap hash msp-authinfo < msp-authinfo
sendmailÀÇ local ÀÎÁõÀº ´ÙÀ½À» º¸¼¼¿ä.
http://www.sendmail.org/~ca/email/sm-812.html
¾Æ·¡¸Þ¼¼Áö´Â LogLevelÀÌ ³·¾Æ¼ ÀÚ¼¼ÇÑ ¿øÀÎÀ» ¾Ë±â ¾î·Æ½À´Ï´Ù.
>> echo "test" | Mail -vs "testmail" linux1999@hanmail.net
>>
>> ·Î Å×½ºÆ® ÇØº¸´Ï ¾Æ·¡¿Í °°Àº ¿¡·¯°¡ ¶å´Ï´Ù.
>>
>> [fox9@netb fox9]$ echo "test" | Mail -vs "testmail" linux1999@hanmail.net
>> linux1999@hanmail.net... Connecting to localhost.co.kr. via relay...
>> 220 ns.li.co.kr ESMTP Sendmail 8.11.6/8.11.6; Thu, 5 Sep 2002 10:06:45 +0900
>> >>> EHLO netb.co.kr
>> 250-ns.li.co.kr Hello [211.176.60.79], pleased to meet you
>> 250-ENHANCEDSTATUSCODES
>> 250-8BITMIME
>> 250-SIZE
>> 250-DSN
>> 250-ONEX
>> 250-ETRN
>> 250-XUSR
>> 250-AUTH LOGIN PLAIN
>> 250 HELP
>> >>> MAIL From:<fox9@netb.co.kr> SIZE=50 AUTH=fox9@netb.co.kr
>> 250 2.1.0 <fox9@netb.co.kr>... Sender ok
>> >>> RCPT To:<linux1999@hanmail.net>
>> 550 5.7.1 <linux1999@hanmail.net>... Relaying denied. IP name lookup failed
>> [211.176.60.79]
>> >>> RSET
>> 250 2.0.0 Reset state
>> /home/fox9/dead.letter... Saved message in /home/fox9/dead.letter
>> Closing connection to localhost.co.kr.
>> >>> QUIT
>> 221 2.0.0 ns.li.co.kr closing connection
>>
>> µµ¿òÀ» ºÎʵ右´Ï´Ù.
>> ±×·³...
>>
>> --
>> Please look and take part in KFUG FAQ: <http://www.kr.freebsd.org/FAQ-kr/>
>> To Unsubscribe: send mail to majordomo@kr.FreeBSD.org
>> with "unsubscribe questions" in the BODY of the message
--
============================================================
// Korea Telecom Internet Solutions, Inc.
// FreeBSD/Linux Professional Consulting/Tech. Support
//
// Pyun YongHyeon
//
// WWW: http://www.kt-is.co.kr/
// FTP: ftp://ftp.kt-is.co.kr/
//
// TEL: +82-2-364-0400
// FAX: +82-2-364-9119
============================================================
--
Please look and take part in KFUG FAQ: <http://www.kr.freebsd.org/FAQ-kr/>
To Unsubscribe: send mail to majordomo@kr.FreeBSD.org
with "unsubscribe questions" in the BODY of the message
|
Copyright © 1998-2005 Korea FreeBSD Users Group. All rights reserved. webmaster at kr.FreeBSD.org $Date: 2002/09/30 23:02:25 $ |
|