네임서버를 다음과 같이 설정하고
nslookup을 통해서 잘 작동하고 있는것을 확인 했습니다.
@ IN SOA mat.matglobal.co.kr. root.matglobal.co.kr. (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
IN NS mat.matglobal.co.kr.
IN A 211.196.198.119
localhost IN A 127.0.0.1
mat IN A 211.196.198.119
www IN CNAME mat
w3 IN CNAME mat
mail IN CNAME mat
cjo IN A 211.196.198.126
그다음 외부에서 SMTP로 접속 할 수 있게 하기 위해서
/etc/sendmail.cf 파일중
# SMTP daemon options
O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA
부분을
# SMTP daemon options
O DaemonPortOptions=Port=smtp,Name=MTA
이렇게 수정 했습니다.
텔넷으로 25번 포트와 110번포트가 잘 열리는것을 확인하고
시범적으로 메일을 하나 보냈습니다..
그러나.....
메일은 배달되지 않고
다음과 같은 메일이 리턴 되었습니다.
----- The following addresses had permanent fatal errors -----
<cjo at matglobal.co.kr>
(reason: system config error)
----- Transcript of session follows -----
553 5.3.5 matglobal.co.kr. config error: mail loops back to me (MX problem?)
554 5.3.5 <cjo at matglobal.co.kr>... Local configuration error
무슨 문제 인지 모르겠습니다.
네임서버에는 MX를 설정하지도 않았는데....
네임서버 설정상의 문제 같아 보이는데 nslookup으로는 잘 작동이
되더라구요....
고수님들의 조언 바랍니다.--언제쯤 메일이 되려나...