在postfix的配置模式下为内部服务器选择什么类型的邮件配置

时间:2015-03-19 20:36:30

标签: 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主机选项为随机,它要求邮件名称,我不太确定邮件名称。任何人都可以建议找到邮件名称。

1 个答案:

答案 0 :(得分:0)

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