Postfix:允许发送到原始 IP 地址?

trn*_*rnc 2 postfix

由于我想将邮件发送到另一台内部服务器,因此我需要以下地址有效:

foob​​ar@192.168.1.88

目前,postfix 给了我以下错误:

Mar 26 10:40:52 ludwig postfix/smtpd[11765]: warning: Illegal address syntax from localhost[127.0.0.1] in RCPT command: <foobar@192.168.1.88>
Run Code Online (Sandbox Code Playgroud)

在另一个论坛中,我看到了这两个配置选项,但无论如何它们都不起作用:

strict_rfc821_envelopes = no
allow_min_user = yes
Run Code Online (Sandbox Code Playgroud)

有什么建议我可以禁用这个 RFC 标准吗?

谢谢!

Dad*_*ada 11

尝试添加resolve_numeric_domain = yes到 main.cf (Postfix 2.3+)

  • 不过你不需要 `allow_min_user`。也许 `strict_rfc821_envelopes` 也是,但这取决于客户端如何发送邮件/连接到邮件服务器。 (2认同)