[英]What type of mail configuration to choose for an internal server in configuration mode of postfix
I'm in the middle of a process to reconfigure postfix to enable cron job to send automatic email notification to users. 我正在重新配置后缀以使cron作业向用户发送自动电子邮件通知的过程中。 like
喜欢
$ 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:
In the above I have choosen 5.local host option as random, Its asking for mail name and I'm not pretty sure about the mail name. 在上面我选择了5.local host选项作为随机选项,它询问邮件名称,我不太确定邮件名称。 Could anyone suggest a way to find mail name.
任何人都可以建议一种查找邮件名称的方法。
You're not being asked to find the mail name - you're being asked to assign a mail name. 不需要您查找邮件名称-要求您分配邮件名称。 Also - local mail only, so only users with accounts on that server will receive mail.
另外-仅本地邮件,因此只有在该服务器上具有帐户的用户才能接收邮件。 If you intend to send it outside your server (like to gmail) you will have to set it up as an Internet site.
如果您打算将其发送到服务器之外(例如gmail),则必须将其设置为Internet站点。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.