
내 OSX 10.5.6 상자에서 fetchmail을 구성하려고 합니다. .fetchmailrc를 다음과 같이 설정했습니다.
poll my.mailserver.com with proto IMAP
timeout 30
user "username" is "username" here options ssl keep
.netrc 파일을 사용하여 사용자 이름/비밀번호를 다음과 같이 저장하고 있습니다.
machine my.mailserver.com
login username
password secret
그러나 fetchmail을 실행하면 다음 오류가 발생합니다.
reading message [email protected]:1 of 458 (4436 octets)
fetchmail: timeout after 30 seconds waiting for listener to respond.
fetchmail: socket error while fetching from [email protected] and delivering to SMTP host localhost
fetchmail: Query status=2 (SOCKET)
fetchmail: Server certificate verification error: unable to get local issuer certificate
fetchmail: Server certificate verification error: certificate not trusted
fetchmail: Server certificate verification error: unable to verify the first certificate
fetchmail: Error exchanging credentials
fetchmail은 정상적으로 로그인할 수 있는 것 같지만 postfix에 아무것도 전달하지 못합니다(localhost:25에 텔넷으로 연결하여 실행되고 있음을 확인했습니다).
다음으로 나는 무슨 일이 일어나고 있는지에 대한 추가 정보를 얻기 위해 -vv 플래그를 사용하여 fetchmail을 호출했습니다. 다음과 같은 이상한 메시지가 나타납니다.
Trying to connect to 208.97.132.126/25...fetchmail: timeout after 5 seconds waiting for listener to respond.
fetchmail: 6.3.8 querying my.mailserver.com (protocol POP3) at Tue, 14 Jul 2009 18:20:09 +1000 (EST): poll completed
fetchmail: discarding new UID list
fetchmail: Query status=2 (SOCKET)
그 IP 주소는 매우 이상합니다. fetchmail은 메시지 전달을 위해 localhost에만 연결을 시도하면 안 되나요? 빠른 nslookup을 통해 대상 호스트 도메인이 jankymail-mx1.g.dreamhost.com임을 알 수 있습니다. 뭐야?
이것은 모두 즉시 사용 가능한 fetchmail 설치 btw를 사용한 것입니다. 완전히 새로운 iMac입니다! 무슨 일이 일어나고 있는지, 내가 뭘 잘못하고 있는지 아는 사람이 있나요?
답변1
옵션을 추가 smtphost localhost
하거나 심지어 smtphost 127.0.0.1
localhost에 전달하도록 지시합니다. 왜 기본값이 다른 것으로 설정되어 있는지 모르겠습니다(전체 fetchmail 구성입니까?).
실제로 그것은 ETRN 등을 사용하려는 시도일 수 있습니다. 해당 IP는 jankymail-mx1.g.dreamhost.com으로 확인됩니다... 그게 귀하의 메일 서버인가요?
또한 인증서가 자체 서명되었거나 호스트 이름과 일치하지 않는 경우 sslcommonname
또는 옵션이 필요할 수 있습니다 .sslfingerprint