当我通过 smtp exim4 服务器发送电子邮件时,出现此错误:
The sender address blah@[email protected] is not\n553 5.1.2 a valid RFC-5321 address.
登录服务器时需要使用完整的电子邮件地址。但 exim4 只是将用户登录名与我的主主机名连接起来,导致出现此问题。我该如何改变这种情况?
答案1
这个问题的答案是:
acl_check_rcpt:
... your stuff here, then abit later towards the end of the ACL
accept
authenticated = *
# JolieRouge This took some time to search out
# 2006-09-27 <[email protected]>
# force empty domain, when fixing header during submission, as we use fqdn in our usernames (to avoid doubled domains)
# 2007-01-30 <[email protected]>
# added /sender_retain option to take any given address from 'Sender:'-header (used as 'Return-path:' and for 'MAIL FROM:'-SMTP-command)
control = submission/sender_retain/domain=
control = submission/sender_retain/domain=
当您的登录名是完整的电子邮件地址时,使用底线。