Skip to content

Commit deb53c5

Browse files
authored
# some edits for 02-basic-email-system.md (#1404)
* some sentence simplification
1 parent 7b6a0dc commit deb53c5

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

docs/guides/email/02-basic-email-system.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ contributors:
66

77
# Overview
88

9-
The purpose of this document is to provide the reader with a detailed understanding of the various components of an email system, including installation, basic configuration, and association. In a production environment, the recommendation is that you use an open-source email server(s).
9+
This document aims to provide the reader with a detailed understanding of the various components of an email system, including installation, basic configuration, and association. The recommendation is that you use an open source email server(s) in a production environment.
1010

1111
All commands in this document are executed using **root(uid=0)**.
1212

@@ -169,7 +169,7 @@ Mysql > grant all privileges on *.* to 'mailrl'@'%' with grant option;
169169

170170
!!! info
171171

172-
You don't have to use the same method as the author. it is also possible to install Mysql from a repository or docker.
172+
You don't have to use the same method as the author. Installing Mysql from a repository or docker is also possible.
173173

174174
#### Create tables and insert data
175175

@@ -242,7 +242,7 @@ $6$8jpmvCw8RqNfHYW4$pOlsEZG066eJuTmNHoidtvfWHe/6HORrKkQPwv4eyFxqGXKEXhep6aIRxAtv
242242
Use the $ sign to separate the output text information.
243243

244244
* 6: It means id. For the SHA-512 encryption algorithm, it is fixed at 6.
245-
* 8jpmvCw8RqNfHYW4: Also known as "salt". Its main function is to increase the security and improve the difficulty of cracking. It can be randomly generated by the system, or it can be specified manually.
245+
* 8jpmvCw8RqNfHYW4: Also known as "salt". Its main function is to increase the security and improve the difficulty of cracking. The system can randomly generate it or it can be specified manually.
246246
* pOlsEZG066eJuTmNHoidtvfWHe/6HORrKkQPwv4eyFxqGXKEXhep6aIRxAtv7FDDIq/ojIY1SfWAQkk7XACeZ0: 86 fixed number of characters. Refers to ciphertext passwords generated by using encryption algorithms.
247247

248248
### Install and configure `postfix`
@@ -273,7 +273,7 @@ You need to know these binary executable files:
273273

274274
!!! tip
275275

276-
If you have more than one MTA on your server, you can specify the default MTA using the `alternatives --config mta` command.
276+
You can specify the default MTA using the `alternatives -config mta` command if you have more than one MTA on your server.
277277

278278
#### Explanation of the /etc/postfix/main.cf file
279279

@@ -313,14 +313,14 @@ meta_directory = /etc/postfix
313313
shlib_directory = /usr/lib64/postfix
314314
```
315315

316-
* **compatibility_level = 2**. A new mechanism introduced in postfix 3 is designed to be compatible with previous versions of postfix.
316+
* **compatibility_level = 2**. A new mechanism introduced in Postfix 3 is designed to be compatible with previous versions.
317317
* **data_directory = /var/lib/postfix**. The directory where the cached data is stored.
318318
* **<font color="red">myhostname = host.domain.tld</font>**. Important parameters that have been commented out. You need to change it to the hostname under your domain name.
319319
* **<font color="red">mydomain = domain.tld</font>**. Important parameters that have been commented out. You need to change it to your domain name.
320320
* **<font color="red">myorigin = \$myhostname</font>** and **<font color="red">myorigin = $mydomain</font>**. Important parameters that have been commented out. The main function is to complement the sender's mail suffix. **\$** represents a reference parameter variable.
321321
* **<font color="red">inet_interfaces = localhost</font>**. When receiving mails, this parameter indicates the address to be listened. The value is usually modified to "all".
322322
* **inet_protocols = all**. Enable IPv4, and IPv6 if supported
323-
* **<font color="red">mydestination = \$myhostname, localhost.\$mydomain, localhost</font>**. Indicates that I can receive mail from where.
323+
* **<font color="red">mydestination = \$myhostname, localhost.\$mydomain, localhost</font>**. Indicates the reception of mail from the stated destination.
324324
* **unknown_local_recipient_reject_code = 550**. The error code returned when sending to an account that does not exist local domain or rejecting an email.
325325
* **mynetworks =**. Set which hosts' emails can be forwarded.
326326
* **relay_domains = $mydestination**. Set which domains' emails can be forwarded.
@@ -336,7 +336,7 @@ Except for the parameter items mentioned or displayed above, some parameters are
336336
* **mailbox_size_limit = 1073741824**. Set the capacity limit for a single mailbox user.
337337
* **smtpd_sasl_type = cyrus**. The type of SASL (Simple Authentication and Security Layer) authentication. You can use `postconf -a` to view.
338338
* **smtpd_sasl_auth_enable = no**. Whether to enable SASL authentication.
339-
* **smtpd_sasl_security_options = noanonymous**. Security options for SASL. Anonymous authentication is disabled by default.
339+
* **smtpd_sasl_security_options = noanonymous**. Security options for SASL. Anonymous authentication is off by default.
340340
* **smtpd_sasl_local_domain =**. The name of the local domain.
341341
* **smtpd_recipient_restrictions =**. Filtering of recipients. The default value is empty.
342342

@@ -545,9 +545,9 @@ Shell(192.168.100.6) > tree /etc/dovecot/
545545
└── dovecot.conf
546546
```
547547

548-
Yes, both postfix and dovecot have very complex configurations, which is why it is recommended that the vast majority of GNU/Linux system administrators use open-source email servers.
548+
Yes, both Postfix and Dovecot have very complex configurations, so it is recommended that most GNU/Linux system administrators use open source email servers.
549549

550-
As with postfix, to view the complete configuration information, enter the `doveconf` command.
550+
As with postfix, enter the `doveconf` command to view the complete configuration.
551551

552552
The file description is as follows:
553553

@@ -573,7 +573,7 @@ The file description is as follows:
573573
* `auth_mechanisms = `. The type of authentication mechanism whose values can be multiple and separated by Spaces. Values: plain, login, digest-md5, cram-md5, ntlm, rpa, apop, anonymous, gssapi, otp, skey, gss-spnego.
574574
* `login_trusted_networks= `. Which clients (MUA) are allowed to use Dovecot. It can be a separate IP address, it can be a network segment, or it can be mixed and separated by spaces. Like this-- `login_trusted_networks = 10.1.1.0/24 192.168.100.2`
575575
* `mail_location = `. For an empty value, Dovecot attempts to find the mailboxes automatically (looking at ~/Maildir, /var/mail/username, ~/mail, and ~/Mail, in that order). However, auto-detection commonly fails for users whose mail directory hasn’t yet been created, so you should explicitly state the full location here, if possible.
576-
* `mail_privileged_group = `. This group is enabled temporarily for privileged operations. Currently, this is used only with the INBOX when either its initial creation or dotlocking fails. Typically, this is set to "mail" to give access to /var/mail.
576+
* `mail_privileged_group = `. This group is enabled temporarily for privileged operations. Currently, this is used only with the INBOX when either its initial creation or dotlocking fails. Typically, this is set to "mail" to access /var/mail.
577577

578578
#### Modify multiple files
579579

0 commit comments

Comments
 (0)