diff --git a/content/blog/mail_server_alpine_postfix_dovecot_tutorial.md b/content/blog/mail_server_alpine_postfix_dovecot_tutorial.md index 7663dab..29e7e4d 100644 --- a/content/blog/mail_server_alpine_postfix_dovecot_tutorial.md +++ b/content/blog/mail_server_alpine_postfix_dovecot_tutorial.md @@ -21,7 +21,7 @@ Or visualise it like this: A mail server is software which can be run on any computer, including yours. You can host a mail server on a server you already own that is hosting other services, so long as those other services aren't using any of the [mail -ports](## Unblock your ports). +ports](#unblock-your-ports). # Why this tutorial? @@ -145,7 +145,7 @@ mail.domain.com. 14400 IN AAAA ip:address:here:: I use one server with one IP address for hosting several services under one apex domain. For instance, my static website is hosted at `revsuine.xyz`; my Nextcloud is hosted at `cloud.revsuine.xyz`; and my mail server is hosted at `mail.revsuine.xyz`. To handle this setup, I've created a subdomain `master.revsuine.xyz` (you can call the subdomain -anything you want) with an *A record* (because your [PTR record](### PTR record) is expected to be an A record, not a +anything you want) with an *A record* (because your [PTR record](#ptr-record) is expected to be an A record, not a CNAME record) to my server's IP address. I set my server's hostname and PTR record to `master.revsuine.xyz`. I will also refer to this `master.revsuine.xyz` @@ -203,7 +203,7 @@ Verify that Postfix is installed by checking its version: Edit `/etc/postfix/main.cf`. You should set `myhostname` to the hostname of your server; [in my case, this is -`master.revsuine.xyz`](### A note on my DNS records). +`master.revsuine.xyz`](#a-note-on-my-dns-records). Now set `mydomain` to the domain you intend to send email from. For instance, my email addresses are `name@revsuine.xyz`, so `mydomain` is set to `revsuine.xyz`.