__Today:
__
Your ip : 18.97.14.88
|
|
Å×Å©³ëÄÄÇ»ÅÍ
[ ÀÚ·á½Ç ]
±¤°í¼º ±ÛÀ̳ª ºÒ¹ýÀÚ·á ¾÷·Îµå¸¦ ±ÝÇÕ´Ï´Ù.
|
Re: ½ºÆÔ¸ÞÀÏ Â÷´Ü¹æ¹ý
|
¾ÆÀ̵ð : jgheo À̸§ : °ü¸®ÀÚ ¹øÈ£ : 52.2 Á¶È¸ : 331671
¾÷·Îµå : 2002-11-28 11:59:46
ȨÆäÀÌÁö : http://jog.co.kr
|
|
## SASL library install ##
www.ryuchi.org/HowTo/sendmail/sendmail-8.11.0.html
1.tar xzvf cyrus-sasl-1.5.24.tar.gz
2.cd cyrus-sasl-1.5.24
3./configure --prefix=/usr --enable-login --enable-plain
4.make
5.make install
6. cd /usr/lib
ln -s /usr/local/lib/sasl /usr/lib/sasl
## À̺κÐÀÌ Àß ¾ÈµÇ´õ±º¿©..
³»¿ëÀº /usr/local/lib/sasl/* °¡ /usr/lib/ ¹Ø¿¡¼ ÂüÁ¶µÉ ¼ö
ÀÖµµ·Ï ¸µÅ©ÇØÁÖ´Â °Çµ¥...@~@a
sasl °ü·Ã ¶óÀ̺귯¸®µµ ¸ðµÎ owner¸¦ root·Î, mod´Â root¸¸ ÀÐÀ»¼ö
ÀÖµµ·Ï Çϼ¼¿©
(¾È±×·¯¸é /var/log/maillog¿¡ safe???? ¶õ ¸Þ½ÃÁö ¿Õâ ¶å´Ï´Ù)
7. cyrus user µî·Ï
/usr/local/sbin/saslpasswd -u mp.pe.kr milee
password: ¾ÏÈ£
again : ¾ÏÈ£
8. cyrus db »ý¼º
/usr/local/sbin/sasldblistusers
/etc/sasldb.db ·Î »ý¼ºµÊ (À̳ðÀ» owner¸¦ ·çÆ®·Î Çϱ¸ ·çÆ®¸¸ Àеµ·Ï chmod 700 ¼³Á¤ÇÑ´Ù)
9. ¸á¼¹ö ÄÄÆÄÀÏ
sendmail/conf.h ¿¡¼
#define SASL 1 Çϱ¸
10. devtools/Site/site.config.m4 ¿¡´Ù°¡
APPENDDEF(`confENVDEF', `-DSASL')
APPENDDEF(`conf_sendmail_LIBS', `-lsasl')
APPENDDEF(`confLIBDIRS', `-L/usr/local/lib')
APPENDDEF(`confINCDIRS', `-I/usr/local/include')
Ãß°¡
11. sh Build / sh Build install
12. cf/cf ¿¡¼
sendmail.mc ÈÀÏ »õ·Î ¸¸µé¾î¼ °¢ÀÚÀÇ ¼³Á¤³»¿ë ÀûÀºÈÄ
TRUST_AUTH_MECH(`LOGIN PLAIN DIGEST-MD5 CRAM-MD5')dnl
define(`confAUTH_MECHANISMS', `LOGIN PLAIN DIGEST-MD5 CRAM-MD5')dnl
¸¦ Ãß°¡
sh ./Build sendmail.cf
¿©±â¼ ³ª¿Â sendmail.cf ¸¦ /etc/mail/sendmail.cf ·Î Ä«ÇÇ
13. /usr/local/lib/sasl¿¡´Ù°¡
vi Sendmail.conf ¸¦ ¸¸µé¾î¼
pwcheck_method: shdow
ÀúÀåÇϰí
14. vi /etc/pam.d/smtp ¿¾î¼
#%PAM-1.0
auth required /lib/security/pam_pwdb.so shadow nullok
account required /lib/security/pam_pwdb.so
³»¿ëÀ» ÀúÀåÇϰí (ºóÄÀº ²À TAB ۸¦ Ä£´Ù)
¼¾µå¸á ¾÷Çϱ¸
15. /usr/sbin/sendmail -bd -q1h
16 ¾Æ¿ô·è ÀͽºÇÁ·¹½º¿¡¼
µµ±¸->°èÁ¤->µî·ÏÁ¤º¸->¼¹ö ¿¡¼
ÀÎÁõÇʿ信 üũ...
id/pw ÀÔ·Â (7¹ø¿¡¼ µî·ÏÇÑ id/pw ÀÔ·Â)
ÀúÀåÈÄ ´Ý°í
µµ±¸->¿É¼Ç->À¯Áö°ü¸®
¹®Á¦ÇذáºÎºÐ¿¡ ¸ÞÀϺκРüũÇϼ¼¿©
(17¹øÀÇ ³»¿ëÀ» È®ÀÎÇϽ÷Á¸é À©µµ¿ì Ž»ö±â¿¡¼ ÈÀÏ smtp.log¸¦ ãÀ¸¼¼¿ä)
±×¸®°í ¾Æ¿ô·è¿¡¼ OPEN relay µÇµµ·Ï ¼³Á¤ÇØÁֽðí
¸áÀ» º¸³»¼¼¿ä
17. È®Àλç»ì
<ÀÎÁõºÎºÐÀ» ¼¼ÆÃÇÏÁö ¾Ê¾ÒÀ»떄>
SMTP: 20:29:14 [rx] 250 mp.pe.kr Hello [211.204.207.242], pleased to meet you
SMTP: 20:29:15 [tx] MAIL FROM: <not2b@orgio.net>
SMTP: 20:29:15 [rx] 250 2.1.0 <not2b@orgio.net>... Sender ok
SMTP: 20:29:15 [tx] RCPT TO: <not2bf@orgio.net>
SMTP: 20:29:15 [rx] 550 5.7.1 <not2bf@orgio.net>... Relaying denied. IP name lookup failed [211.204.207.242]
SMTP: 20:29:15 [tx] QUIT
=> relay ¾ÈµÇ´Â °ÍÀÌ ´ç±Ù..
<ÀÎÁõºÎºÐÀ» ¼¼ÆÃÇßÀ»¶§>
SMTP: 20:29:15 [rx] 221 2.0.0 mp.pe.kr closing connection
SMTP: 20:29:57 [rx] 220 mp.pe.kr ESMTP Sendmail 8.11.4/8.11.4; Mon, 2 Jul 2001 05:25:57 +0900
SMTP: 20:29:57 [tx] EHLO v8g0s3
SMTP: 20:29:57 [rx] 250-mp.pe.kr Hello [211.204.207.242], pleased to meet you
SMTP: 20:29:57 [rx] 250-ENHANCEDSTATUSCODES
SMTP: 20:29:57 [rx] 250-EXPN
SMTP: 20:29:57 [rx] 250-VERB
SMTP: 20:29:57 [rx] 250-8BITMIME
SMTP: 20:29:57 [rx] 250-SIZE
SMTP: 20:29:57 [rx] 250-DSN
SMTP: 20:29:57 [rx] 250-ONEX
SMTP: 20:29:57 [rx] 250-ETRN
SMTP: 20:29:57 [rx] 250-XUSR
SMTP: 20:29:57 [rx] 250-AUTH LOGIN PLAIN DIGEST-MD5 CRAM-MD5
SMTP: 20:29:57 [rx] 250 HELP
SMTP: 20:29:57 [tx] AUTH LOGIN
SMTP: 20:29:57 [rx] 334 VXNlcm5hbWU6
SMTP: 20:29:57 [tx] bWlsZWU=
SMTP: 20:29:58 [rx] 334 UGFzc3dvcmQ6
SMTP: 20:29:58 [tx] MjAxMQ==
SMTP: 20:29:58 [rx] 235 2.0.0 OK Authenticated
SMTP: 20:29:58 [tx] MAIL FROM: <not2b@orgio.net>
SMTP: 20:29:58 [rx] 250 2.1.0 <not2b@orgio.net>... Sender ok
SMTP: 20:29:58 [tx] RCPT TO: <not2bf@orgio.net>
SMTP: 20:29:58 [rx] 250 2.1.5 <not2bf@orgio.net>... Recipient ok
SMTP: 20:29:58 [tx] DATA
SMTP: 20:29:58 [rx] 354 Enter mail, end with "." on a line by itself
SMTP: 20:29:58 [tx]
.
SMTP: 20:29:59 [rx] 250 2.0.0 f61KPvS20971 Message accepted for delivery
SMTP: 20:29:59 [tx] QUIT
---------------------- ¸á ¹ÞÀº ³»¿ë ---------------------
From orgiomail Sun Jul 1 20:25:17 2001
Return-Path: <not2b@orgio.net>
Received: from mp.pe.kr ([2xx.1xx.1xx.xxx])
by orgio.net (8.11.4/8.9.3) with ESMTP id f61BPH031030
for <not2bf@orgio.net>; Sun, 1 Jul 2001 20:25:17 +0900
Received: from v8g0s3 ([211.204.207.242])
(authenticated)
by mp.pe.kr (8.11.4/8.11.4) with ESMTP id f61KPvS20971
for <not2bf@orgio.net>; Mon, 2 Jul 2001 05:25:57 +0900
----------------------------------------------------------------------
¸áÀÌ Àß ¿À´Â±º¿©..
|
|
|
From:61.98.172.6 / Absolute number:92
|
|
|
       |
|
|
|
|
|