gpt4 book ai didi

linux - postfix配置方式下内部服务器选择什么类型的邮件配置

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:29:52 26 4
gpt4 key购买 nike

我正在重新配置 postfix 以使 cron 作业能够向用户发送自动电子邮件通知。喜欢

$ sudo dpkg-reconfigure postfix

I got the following traceback:-
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 columns wide.)
debconf: falling back to frontend: Readline
length() used on @choices (did you mean "scalar(@choices)"?) at /usr/share/perl5/Debconf/Element/Teletype/Select.pm line 48, <GEN1> line 5.
length() used on @choices (did you mean "scalar(@choices)"?) at /usr/share/perl5/Debconf/Element/Teletype/Select.pm line 63, <GEN1> line 5.
Postfix Configuration
---------------------

Please select the mail server configuration type that best meets your needs.

No configuration:
Should be chosen to leave the current configuration unchanged.
Internet site:
[More]

Mail is sent and received directly using SMTP.
Internet with smarthost:
Mail is received directly using SMTP or by running a utility such
as fetchmail. Outgoing mail is sent using a smarthost.
Satellite system:
All mail is sent to another machine, called a 'smarthost', for delivery.
Local only:
The only delivered mail is the mail for local users. There is no network.
[More]


1. No configuration 2. Internet Site 3. Internet with smarthost 4. Satellite system 5. Local only

General type of mail configuration:

General type of mail configuration:

General type of mail configuration: 5


The "mail name" is the domain name used to "qualify" _ALL_ mail addresses without a domain name. This includes mail to and from <root>: please do not make
your machine send out mail from root@example.org unless root@example.org has told you to.

This name will also be used by other programs. It should be the single, fully qualified domain name (FQDN).

Thus, if a mail address on the local host is foo@example.org, the correct value for this option would be example.org.
[More]


System mail name:

在上面我随机选择了 5.local 主机选项,它询问邮件名称,我不太确定邮件名称。谁能建议一种查找邮件名称的方法。

最佳答案

系统不会要求您查找邮件名称 - 系统会要求您分配邮件名称。此外 - 仅限本地邮件,因此只有在该服务器上拥有帐户的用户才能收到邮件。如果您打算将其发送到您的服务器之外(如 gmail),您必须将其设置为 Internet 站点。

关于linux - postfix配置方式下内部服务器选择什么类型的邮件配置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29154518/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com