我已经设置了电子邮件服务器,但是在向 Gmail 发送邮件时遇到问题。
这是我的 /var/log/mail.log:
Jun 4 20:49:26 jenny postfix/qmgr[6064]: 4CBDB67482: from=<mail@[...]>, size=627, nrcpt=1 (queue active)
Jun 4 20:49:27 jenny postfix/smtp[6077]: 4CBDB67482: to=<[...]@gmail.com>, \
relay=gmail-smtp-in.l.google.com[74.125.136.26]:25, delay=1.6, \
delays=0.05/0.01/0.73/0.86, dsn=5.7.1, status=bounced (host \
gmail-smtp-in.l.google.com[74.125.136.26] said: \
550-5.7.1 [84.119.226.45 12] \
Our system has detected that this message is 550-5.7.1 likely unsolicited \
mail. To reduce the amount of spam sent to Gmail, 550-5.7.1 this message has \
been blocked. \
Please visit 550-5.7.1 \
http://support.google.com/mail/bin/answer.py?hl=en&answer=188131 for 550 5.7.1 \
more information. 19si6596048wju.143 - gsmtp (in reply to end of DATA command))
我可以进行任何服务器配置,以便 Google 发现我的 IP 不是垃圾邮件发送者吗?
答案1
是的,
- 将 SPF 添加到您的域。https://en.wikipedia.org/wiki/Sender_Policy_Framework
- 将 DKIM 添加到您的域。http://www.dkim.org/
- 检查你的IP是否在黑名单中。http://mxtoolbox.com/blacklists.aspx
- 发送没有链接的纯文本电子邮件。