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

标签 linux postfix-mta

我正在重新配置 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/

相关文章:

django - 如何测试从 OSX 上的 Web 应用程序发送电子邮件?

linux - 将 CD 文件上的 sha256sum 输出到文本文件

linux - 对具有数百万行的大文件进行排序

Linux 文件描述符表和 vmalloc

java - UTF-8 字符未显示

java - 后缀和 openJDK 11 : "No appropriate protocol (protocol is disabled or cipher suites are inappropriate)"

c++ - vfork导致内存 "free()"崩溃,但是fork却没有,这是怎么回事?

linux - 在 Linux 中检测 USB 大容量存储弹出/卸载

amazon-ec2 - 又是 : sending mail (through php) from an EC2 instance

linux - 没有 mailrc 的 Mailx 配置