我正在将邮件发送到 Postfix 邮件服务器。
else%2bsomething@domain.com:(它基本上是 的 url 编码版本else+something@domain.com,它应该是 RFC 有效的。)NOQUEUE: reject: RCPT from randostring.outbound.protection.outlook.com[...]: 454 4.7.1 <else%2bsomething@domain.com>: Relay access denied; from=<john.doe@live.com> to=<else%2bsomething@domain.com> proto=ESMTP helo=<morerando.outbound.protection.outlook.com>generic_checks: name=defer_unauth_destination status=2,我认为这是这里的问题。$virtual_alias_domains创建上述日志消息期间不会对其进行查询。我认为它可能会被缓存一段时间,但我在这里可能完全错了。我尝试过的:
allow_percent_hack看看是否是这个原因,我被拒绝了。任何设置都没有任何变化。recipient_delimiter为 '%',这并没有改变任何东西。我的问题:如何强制 postfix 发送此电子邮件?我真的不需要永久的解决方案,因为我认为这是一个边缘情况。
加分项,如果你能向我解释为什么没有收到这封电子邮件,因为我真的很想知道为什么会这样。:)
编辑#1:
我发现工作和非工作消息的标志不同。
Flag: 1024Flag: 1026通过查看源代码中的不同位置(标志定义: https : //github.com/vdukhovni/postfix/blob/bfff4380a3b6fac2513c73531ee3a79212c08660/postfix/src/global/resolve_clnt.h#L36 usage- L37和github.com/vdukhovni/postfix/blob/ed3f86da7c3e15cf1ec57241c1f6036d82b790da/postfix/src/trivial-rewrite/resolve.c#L467-L468),我发现,那只要还有另外一个@,!或者%在电子邮件地址,它套一个routed标志,稍后处理。
我还没有发现的是,我怎么能 …
postfix ×1