8.12.3 버전을 컴파일 했습니다.
외부로 보내는것은 잘 되는데 받는게 안 됩니다.
내부사용자 --> 내부사용자 이런식으로 메일보내는것도 안 됩니다
rcpt to:sky at mail.kkk.pe.kr 하면
250 2.1.5 kkk at mail.kkk.pe.kr... Recipient ok (will queue)
와 같이 will queue 라는게 꼭 나옵니다.
이 경우 /var/spool/mqueue 디렉토리에 메일이 저장되고 배달이 되지 않습니다.
외부로 보내는 경우는 will queue 라는게 나오지 않고
바로 Recipient ok 라고 나오며 바로 배달됩니다.
이거 왜 그런지 아시는 분 계시면 꼭 답변 부탁드립니다.
감사합니다.
[root@mail log]# telnet localhost smtp
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.gcc.pe.kr ESMTP Sendmail 8.12.3/8.12.3; Mon, 27 May 2002 16:02:01 +0900
helo localhost
250 mail.gcc.pe.kr Hello localhost [127.0.0.1], pleased to meet you
mail from:root at mail.kkk.pe.kr 250 2.1.0 root at mail.kkk.pe.kr... Sender ok
rcpt to:sky at mail.kkk.pe.kr 250 2.1.5 kkk at mail.kkk.pe.kr... Recipient ok (will queue)
data
354 Enter mail, end with "." on a line by itself
kkk
kkk
.
250 2.0.0 g4R721e0017583 Message accepted for delivery
quit
221 2.0.0 mail.kkk.pe.kr closing connection
Connection closed by foreign host.
[root@mail log]# telnet localhost smtp
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.kkk.pe.kr ESMTP Sendmail 8.12.3/8.12.3; Mon, 27 May 2002 16:02:22 +0900
helo localhost
250 mail.kkk.pe.kr Hello localhost [127.0.0.1], pleased to meet you
mail from:root at mail.kkk.pe.kr 250 2.1.0 root at mail.kkk.pe.kr... Sender ok
rcpt to:ksshin at hot.co.kr 250 2.1.5 sky at hot.co.kr... Recipient ok
data
354 Enter mail, end with "." on a line by itself
lfdsjfkl
.
250 2.0.0 g4R72Me0017585 Message accepted for delivery
quit
221 2.0.0 mail.kkk.pe.kr closing connection
Connection closed by foreign host.