遇到从Gmail接收电子邮件的麻烦

我在收到来自Gmail的电子邮件时遇到问题。 问题只在于Gmail。 我可以发送邮件到Gmail,并在Gmail中完美接收。 我也能够接收来自雅虎和其他自定义域的邮件。 在Gmail的一面,它说,消息发送成功,但我不能收到它。 任何人都可以帮助我。 这里是错误日志的细节

Dec 19 09:39:03 serverubuntu postfix / smtpd [8400]:从mail-wm0-f47.google.com [74.125.82.47]

12月19日09:39:04 serverubuntu postfix / smtpd [8400]:SSL_accept错误来自mail-wm0-f47.google.com [74.125.82.47]:-1

12月19日09:39:04 serverubuntu postfix / smtpd [8400]:警告:TLS库问题:错误:04075070:rsa例程:RSA_sign:digest对于rsa键太大:rsa_sign.c:122:

12月19日09:39:04 serverubuntu postfix / smtpd [8400]:警告:TLS库问题:错误:1409B006:SSL例程:ssl3_send_server_key_exchange:EVP lib:s3_srvr.c:1996:

12月19日09:39:04 serverubuntu postfix / smtpd [8400]:STARTTLS从mail-wm0-f47.google.com [74.125.82.47]

Dec 19 09:39:04 serverubuntu postfix / smtpd [8400]:从mail-wm0-f47.google.com断开[74.125.82.47]

这里是我的Postfix main.cf文件

smtpd_data_restrictions = reject_unauth_pipelining

smtpd_reject_unlisted_recipient =是

smtpd_reject_unlisted_sender =是

smtpd_tls_protocols =!SSLv2!SSLv3

smtp_tls_protocols =!SSLv2!SSLv3

lmtp_tls_protocols =!SSLv2!SSLv3

smtpd_tls_mandatory_protocols =!SSLv2!SSLv3

smtp_tls_mandatory_protocols =!SSLv2!SSLv3

lmtp_tls_mandatory_protocols =!SSLv2!SSLv3

smtpd_tls_mandatory_exclude_ciphers = aNULL,eNULL,EXPORT,DES,RC4,MD5,PSK,aECDH,EDH-DSS-DES-CBC3-SHA,EDH-RSA-DES-CDC3-SHA,KRB5​​-DE5,CBC3-SHA

smtpd_tls_dh1024_param_file = /etc/ssl/dhparams.pem

smtp_tls_security_level =可能

smtp_tls_CAfile = $ smtpd_tls_CAfile

smtp_tls_loglevel = 0

smtp_tls_note_starttls_offer =是

smtpd_sender_restrictions = reject_unknown_sender_domain,reject_non_fqdn_sender,reject_unlisted_sender,permit_mynetworks,reject_sender_login_mismatch,permit_sasl_authenticated

提前致谢

您的服务器可能提供的客户端证书对于Gmail而言太小了。 它可能是使用Ubuntu的蛇油钥匙。 检查你的私钥后缀正在用什么说: openssl rsa -in private.key -text -noout

重新生成一个rsa密钥对1024或2048并使用它。