래드햇6.2를 서버모드로 설치했습니다.
이 서버에서 외부로 멜을 보내고 싶은데 되지 않는군요.
멜을 보내는 프로그램이 sendmail인것 같은데....
인터넷 여기저기를 뒤져 나름대로 설정하여 test해보니
[ root@hani mail]# /usr/sbin/sendmail -v hanii at hei.co.kr hanii at hei.co.kr... Connecting to hei.co.kr. via esmtp...
220 ami4000.hei.co.kr ESMTP Sendmail 8.11.0/8.9.3; Sat, 10 Feb 2001 11:11:22 +0)
>>> EHLO localhost.localdomain
250-ami4000.hei.co.kr Hello IDENT:root@[192.168.91.222], pleased to meet you
250-ENHANCEDSTATUSCODES
250-EXPN
250-VERB
250-8BITMIME
250-SIZE 10000000
250-DSN
250-ONEX
250-ETRN
250-XUSR
250 HELP
>>> MAIL From:< root at localhost.localdomain >
501 5.1.8 < root at localhost.localdomain >... Sender domain must exist
hanii at hei.co.kr... Data format error
/root/dead.letter... Saved message in /root/dead.letter
Closing connection to hei.co.kr.
>>> QUIT
221 2.0.0 ami4000.hei.co.kr closing connection
[ root@hani mail]#
이렇게 되는데 이유가 무엇인지 궁금합니다.
가능하다면
리눅스 설치후 sendmail을 사용하기까지의 과정을 설명해주시거나
참고할 문서의 위치를 가르쳐 주시면 감사하겠습니다.
테스트중인 서버는 가상아이피(?) 192.168.91.222을 사용하고 있고
네임서버엔 등록되지 않아 기타 서버접속은 IP로만 하고 있습니다.
메일을 외부로 보내기만 하면 되는데....
서버내 사용자 사이엔 전달이 됩니다.