# 自定义直邮Postfix配置

**URL:** <https://meta.discourse.org/t/customize-direct-delivery-postfix-configuration/118759>\
**Category:** Sysadmins\
**Tags:** how-to, advanced-setup\
**Created:** [2019年五月27日 04:32 UTC](https://meta.discourse.org/t/customize-direct-delivery-postfix-configuration/118759 "2019-05-27T04:32:28Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)\
**Post date:** [2023年八月10日 00:31 UTC](https://meta.discourse.org/t/customize-direct-delivery-postfix-configuration/118759/17 "2023-08-10T00:31:49Z")

</div>

Postfix 设置 `smtp_helo_name` 会更改 `HELO`（或 `EHLO`）命令中指定的名称，但这是一个_传出_邮件的传递设置，而 SMTP Banner 是在_接收_邮件时发送的。其中指定的默认主机名取自 `myhostname`，但您可以使用 `smtpd_banner` 设置来修改 Banner 以显示不同的内容。

---

_[View the full topic](https://meta.discourse.org/t/customize-direct-delivery-postfix-configuration/118759)._
