Fix spelling mistakes in the readme

This commit is contained in:
Kevin MacMartin 2023-04-21 14:13:37 -04:00
parent 7e9324c4b9
commit 10a37f213f

View file

@ -3,8 +3,8 @@
## Notes: ## Notes:
1. The Mail Server requires SSL certificates 1. The Mail Server requires SSL certificates
2. Occurances of `REPLACEME.TLD` without comments stating otherwise should have the FQDN substituted for it 2. Occurrences of `REPLACEME.TLD` without comments stating otherwise should have the FQDN substituted for it
3. Occurances of `REPLACEME` without comments stating otherwise should have the FQDN without the TLD substituted for it 3. Occurrences of `REPLACEME` without comments stating otherwise should have the FQDN without the TLD substituted for it
## Swap File ## Swap File
@ -60,7 +60,7 @@ amavisd dovecot pam.d postfix procmailrc skel systemd opendkim
3. Add an A DNS record for the FQDN and a hostname for the server 3. Add an A DNS record for the FQDN and a hostname for the server
4. Set the hostname of the server with `hostnamectl set-hostname SOMETHING.REPLACEME.TLD` where `SOMETHING` is a unique name for the server and `REPLACEME.TLD` is the domain. This will be the server's new hostname. 4. Set the hostname of the server with `hostnamectl set-hostname SOMETHING.REPLACEME.TLD` where `SOMETHING` is a unique name for the server and `REPLACEME.TLD` is the domain. This will be the server's new hostname.
5. Add the hostname of the server to the end of the line starting with `127.0.0.1` in `/etc/hosts` 5. Add the hostname of the server to the end of the line starting with `127.0.0.1` in `/etc/hosts`
6. In `/etc/amavisd/amavisd.conf`, `/etc/dovecot/dovecot.conf` and `/etc/opendkim/opendkim.conf` replace occurances of `REPLACEME.TLD` with the domain, and occurances of `REPLACEME` with the first part of the domain 6. In `/etc/amavisd/amavisd.conf`, `/etc/dovecot/dovecot.conf` and `/etc/opendkim/opendkim.conf` replace occurrences of `REPLACEME.TLD` with the domain, and occurrences of `REPLACEME` with the first part of the domain
7. In `/etc/postfix/main.cf` replace `SOMETHING.REPLACEME.TLD` with the hostname of the server and `REPLACEME.TLD` with the domain 7. In `/etc/postfix/main.cf` replace `SOMETHING.REPLACEME.TLD` with the hostname of the server and `REPLACEME.TLD` with the domain
8. Run `opendkim-genkey -r -s REPLACEME -d REPLACEME.TLD` where `REPLACEME.TLD` is the domain, and `REPLACEME` is the first part of the domain 8. Run `opendkim-genkey -r -s REPLACEME -d REPLACEME.TLD` where `REPLACEME.TLD` is the domain, and `REPLACEME` is the first part of the domain
9. In `/etc/postfix/aliases`, replace the instance of `REPLACEME` with the user that should receive domain-level emails 9. In `/etc/postfix/aliases`, replace the instance of `REPLACEME` with the user that should receive domain-level emails
@ -70,7 +70,7 @@ amavisd dovecot pam.d postfix procmailrc skel systemd opendkim
13. Run `systemctl start amavisd postfix dovecot opendkim` to start the mail services and `systemctl status amavisd postfix dovecot opendkim` to check for errors 13. Run `systemctl start amavisd postfix dovecot opendkim` to start the mail services and `systemctl status amavisd postfix dovecot opendkim` to check for errors
14. If there were no errors in the previous command, run `systemctl enable amavisd postfix dovecot opendkim` to enable the mail services at boot 14. If there were no errors in the previous command, run `systemctl enable amavisd postfix dovecot opendkim` to enable the mail services at boot
15. Create an MX DNS record for `REPLACEME.TLD` containing the hostname (`REPLACEME.TLD` can usually be left out of the input field) 15. Create an MX DNS record for `REPLACEME.TLD` containing the hostname (`REPLACEME.TLD` can usually be left out of the input field)
16. Create a TXT DNS record for the host `REPLACEME._domainkey.REPLACEME.TLD` containing `v=DKIM1; k=rsa; s=email; p=PASSWORD`, replacing the occurance of `REPLACEME` with the first part of the domain, `REPLACEME.TLD` with the full domain, and `PASSWORD` with the string following `p=` in `/etc/opendkim/REPLACEME.txt` (`REPLACEME.TLD` can usually be left out of the input field) 16. Create a TXT DNS record for the host `REPLACEME._domainkey.REPLACEME.TLD` containing `v=DKIM1; k=rsa; s=email; p=PASSWORD`, replacing the occurrence of `REPLACEME` with the first part of the domain, `REPLACEME.TLD` with the full domain, and `PASSWORD` with the string following `p=` in `/etc/opendkim/REPLACEME.txt` (`REPLACEME.TLD` can usually be left out of the input field)
17. Create a TXT DNS record for the host `REPLACEME.TLD` containing `v=spf1 mx -all` (`REPLACEME.TLD` can usually be left out of the input field) 17. Create a TXT DNS record for the host `REPLACEME.TLD` containing `v=spf1 mx -all` (`REPLACEME.TLD` can usually be left out of the input field)
18. Create a TXT DNS record for the host `_dmarc.REPLACEME.TLD` containing `v=DMARC1; p=none` (`REPLACEME.TLD` can usually be left out of the input field) 18. Create a TXT DNS record for the host `_dmarc.REPLACEME.TLD` containing `v=DMARC1; p=none` (`REPLACEME.TLD` can usually be left out of the input field)
19. Set the reverse DNS record for the VPS to the hostname 19. Set the reverse DNS record for the VPS to the hostname