正如我的标题所说,我对 nullmailer 的配置有一些问题。基本上我一直在关注这个网站。
我已经在 Mailchimp 上创建了一个帐户 - 我已经成功发送了测试邮件。在我的机器上我安装了 Nullmailer:
然后我配置了遥控器:
smtp.mandrillapp.com smtp --port=587 --starttls [email protected] --pass=boo
我已经设置了adminaddr
cat /etc/nullmailer/adminaddr
[email protected]
默认域保持为空
这就是我的 mail.log 的样子:
编辑
添加--insecure
标志后
Jun 13 17:06:23 tom-VirtualBox postfix/cleanup[5176]: 9A8C31A68: message-id=<[email protected]>
Jun 13 17:06:23 tom-VirtualBox postfix/qmgr[5047]: 9A8C31A68: from=<[email protected]>, size=345, nrcpt=1 (queue active)
Jun 13 17:06:24 tom-VirtualBox postfix/smtp[5178]: connect to gmail-smtp-in.l.google.com[2a00:1450:4010:c03::1b]:25: Network is unreachable
Jun 13 17:06:25 tom-VirtualBox postfix/smtp[5178]: 9A8C31A68: to=<[email protected]>, relay=gmail-smtp-in.l.google.com[209.85.233.27]:25, delay=1.8, delays=0.45/0.09/0.67/0.61, dsn=5.7.1, status=bounced (host gmail-smtp-in.l.google.com[209.85.233.27] said: 550-5.7.1 [89.64.27.89] The IP you're using to send mail is not authorized to 550-5.7.1 send email directly to our servers. Please use the SMTP relay at your 550-5.7.1 service provider instead. Learn more at 550 5.7.1 https://support.google.com/mail/?p=NotAuthorizedError p3si308852ljp.41 - gsmtp (in reply to end of DATA command))
Jun 13 17:06:25 tom-VirtualBox postfix/cleanup[5176]: 8345A1AFF: message-id=<[email protected]>
Jun 13 17:06:25 tom-VirtualBox postfix/qmgr[5047]: 8345A1AFF: from=<>, size=2986, nrcpt=1 (queue active)
Jun 13 17:06:25 tom-VirtualBox postfix/bounce[5179]: 9A8C31A68: sender non-delivery notification: 8345A1AFF
Jun 13 17:06:25 tom-VirtualBox postfix/qmgr[5047]: 9A8C31A68: removed
Jun 13 17:06:25 tom-VirtualBox postfix/local[5180]: 8345A1AFF: to=<[email protected]>, relay=local, delay=0.32, delays=0.08/0.21/0/0.03, dsn=2.0.0, status=sent (delivered to mailbox)
Jun 13 17:06:25 tom-VirtualBox postfix/qmgr[5047]: 8345A1AFF: removed
但我真的不知道从这一点出发。有任何想法吗?谢谢。