Gmail SMTP Error - the sender is unauthenticated
CloudFlare 에서 설정한 Email 을 이용해서 my@some-domain.com 메일을 Sender 로 설정해 보나려고 했더니 다음과 같은 에러가…
550 5.7.26 Your email has been blocked because the sender is unauthenticated. Gmail requires all senders to authenticate with either SPF or DKIM. Authentication results: DKIM = did not pass SPF [some-domain.com] with ip: [xxx.xxx.xxx.xxx] = did not pass For instructions on setting up authentication, go to https://support.google.com/mail/answer/81126#authentication 3f1490d57ef6-e57ab49e305sor982780276.10 - gsmtp
DKIM 설정에 문제가 없다면 없다면 SPF 문제이다.
some-domain.com 의 CloudFlare 설정에서,
이렇게 되어 있던 설정에
"v=spf1 include:spf.mandrillapp.com ?all"
아래와 같이 추가하니 메일 송신이 잘 된다.
"v=spf1 include:spf.mandrillapp.com include:_spf.mx.cloudflare.net include:_spf.google.com ~all"
지금까지 메일 서비스에 비용을 지불하고, 메일 폼을 만들기 위해 비용을 지불했지만, 이렇게 설정을 하고 Essepage 로 폼을 만들고 답변 메일로 사용하게 되면 비용 없이 문의 기능을 만들 수 있겠다.
웹 개발의 모든것을 온라인에서 끝내다
https://essepage.com
독자 의견
저자 @richard 에게 의견 남기기: