Linux
Gmail 로 메일 발송이 안되고 stat=Service unavailable
Jack Moon
2022. 2. 18. 13:15
iwinv 클라우드 서비스를 사용하고 있는데 gmail 로 메일이 들어가지 않는다. 리턴메일을 확인해 보니
<<< 550-5.7.26 This message does not have authentication information or fails to
<<< 550-5.7.26 pass authentication checks. To best protect our users from spam, the
<<< 550-5.7.26 message has been blocked. Please visit
<<< 550-5.7.26 https://support.google.com/mail/answer/81126#authentication for more
<<< 550 5.7.26 information. e19si1449453pgl.818 - gsmtp
554 5.0.0 Service unavailable
링크로 들어가 보니 눈에 띄는 두가지 설정문제
1. Reverse DNS 설정
2. SPF 레코드 설정
둘다 설정되어 있지 않아
1. 클라우드 업체에 Reverse DNS 를 신청
결과: 설정은 다 되었지만 똑같은 메시지가 나온다. stat=Service unavailable
2. 네임서버에 SPF 레코드 설정: 네임서버 관리 업체가 있다면 신청하면 됩니다.
결과: 정상적으로 발송
SFP레코드 설정 확인: https://mxtoolbox.com/SuperTool.aspx?action=spf%3anaver.com
만약 서브도메인 이라면 서브도메인을 입력하면 된다.