From 10a37f213f888df4d34e01401b0688a454375d69 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Fri, 21 Apr 2023 14:13:37 -0400 Subject: [PATCH] Fix spelling mistakes in the readme --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7f38f56..69934b3 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ ## Notes: 1. The Mail Server requires SSL certificates -2. Occurances 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 +2. Occurrences of `REPLACEME.TLD` without comments stating otherwise should have the FQDN substituted for it +3. Occurrences of `REPLACEME` without comments stating otherwise should have the FQDN without the TLD substituted for it ## 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 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` -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 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 @@ -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 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) -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) 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