Gmail은, 똥 개야 및 msmtp 수정

에 의한 2009년 8월 17일 prashant · 댓글
: 아래 출원 기술

당신은 개가 배를와 SMTP를 Gmail에 액세스하는 데 사용합니다. 여기에 (나쁜) 소식입니다. 구글의 멋진 사내가 다시 인증서를 바꾸었습니다. 오, 당신이 물어 보 기나 했어 - 어떻게 그것을 알 수 있습니까? 단순 바보는 줄을 msmpt, 악명 사용하려 할 때 나쁜 인증서 문제 삼기 시작 'msmtp를 : TLS 인증서 검증 실패 :. 인증서 알려진 발급자도없는' 화면에 나와 인사.

확인을 건너려면 -
그냥 다음 실행

$ msmtp --serverinfo --host=smtp.gmail.com --tls=on --port=587 --tls-certcheck=off

오래된 Thwate 서버 대신 이제는 발급자 세그먼트에 따라받을
Issuer:
Common Name: Google Internet Authority
Organization: Google Inc
Country: US

다행히 해결은 간단하다, 여기는 여러분이 데비안을 할 필요가

# apt-get install ca-certificates
# dpkg -s ca-certificates|grep Version
Version: 20090814

이 단지에서 다음 줄을 변경 후에 /를 정도요. msmtprc

tls_trust_file /certs/Thawte SSLWeb Server Roots/thawte Premium Server CA/Thawte Premium Server CA.pem

tls_trust_file /certs/Thawte SSLWeb Server Roots/thawte Premium Server CA/Thawte Premium Server CA.pem



tls_trust_file /usr/share/ca-certificates/mozilla/Equifax_Secure_CA.crt