在 digitalOcean本教程指向安装 postfix。我已经尝试过这个,也卸载了 postfix 然后安装了 sendmail
发送测试邮件时,总是在识别发件人时出现错误
451 4.7.1 <m-dev>: Helo command rejected: HELO string 'm-dev' does not match last HELO string 'theactual.ws' from this IP *(when testing with sendmail)*
Run Code Online (Sandbox Code Playgroud)
[使用后缀,它抱怨它是由no-reply@m-dev...发送的]
教程建议The System mail name must be the same as the name you assigned to your server。但这很简单,很可能不被尊重。
嗯,域名没有分配给服务器。
hostname确实返回指定的m-dev名称。
如何设置 Ubuntu 20.04 以使用实际指向此服务器的 FQDN(+ 设置了 SPF 和 DKIM 配置)?
尝试使用后缀时 postfix -n返回
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases …Run Code Online (Sandbox Code Playgroud)