- 论坛徽章:
- 0
|
我按照在 “mutt 中通过 postfix 使用多个邮件帐号外发邮件”这篇文章,设置了使用不同帐号选择不同的外发服务器。现在是根据发件人转发的不同的服务器已经可以了,但是转发到服务器之后,发送验证总是失败。我都快疯了,请高手帮忙解决。
postfix:2.3.2,dovecot1.0,sasl(r4u4集成的)。
下面是发送日志:
Dec 13 13:45:44 smtp postfix/smtp[3584]: 42BE65902A: to=<xxx@xxx.com>, relay=xxx.xxx.com[211.150.100.27]:25, delay=0.32, delays=0.26/0.02/0.02/0.02, dsn=5.0.0, status=bounced (host xxx.xxx.com[211.150.100.27] said: 598 mail is rejected (in reply to RCPT TO command))
已经服务商那确定了,发送失败是因为没有发送验证密码。
main.cf:
smtpd_sasl_auth_enable = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_recipient_restrictions = permit_sasl_authenticated permit_auth_destination reject
sender_dependent_relayhost_maps = hash:/etc/postfix/sd_relayhost
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sender_dependent_authentication = yes
sasl_passwd:
my163account@163.com my163account:my163pass
mygmailaccount@gmail.com mygmailaccount@gmail.com:mygmailpass
sd_relayhost:
mygmailaccount@gmail.com [smtp.gmail.com]
my163account@163.com [smtp.163.com] |
|